![Check out Enfold](https://kriesi.at/wp-content/themes/kriesi/images/banner-enfold.jpg)
-
AuthorPosts
-
July 26, 2024 at 10:15 am #1463038
We use enfold as our parent theme. We receive a critical error message. We have solved the problem by commenting out line 1152 in Enfold > config-templatebuilder/avia-template-builder/php/class-asset-manager.php.
It read “$enqueued->registered[ $remove ]->src = ‘’;”Is it possible to deactivate this function via the child theme so that enfold can be updated?
Many thanks for your help.July 26, 2024 at 3:20 pm #1463054Hey jurgons,
Which version of the theme and PHP version are you running?
Best regards,
RikardJuly 29, 2024 at 9:28 am #1463208PHP version: 8.1.29
version of the theme 5.7.1Best regards,
D.J.July 29, 2024 at 10:03 am #1463214Hi,
Could you try updating the theme to the latest version (6.0.2) to see if that helps please? https://kriesi.at/documentation/enfold/theme-update/. If not, then please try to deactivate all plugins and any custom code or modification you might have added.
Best regards,
RikardAugust 1, 2024 at 8:31 am #1463492the latest theme is installed and all plugins and modifications have been deactivated. Unfortunately, the problem persists.
Best regards,
DJAugust 1, 2024 at 10:16 am #1463504Hi,
Thanks for the update. We cannot reproduce this problem, and we’ve had no other reports of it being a problem for other users either. Where can we see and reproduce the problem that you are having? Also please share server error logs with us.
Best regards,
RikardAugust 2, 2024 at 11:43 am #1463623Fatal error: Uncaught Error: Attempt to assign property “src” on null
in /homepages/33/d4297991361/htdocs/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php on line 1152Call stack:
aviaAssetManager::try_deregister_scripts()
wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php:433
aviaAssetManager::merge()
wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php:256
aviaAssetManager::minimize_footer_scripts()
wp-includes/class-wp-hook.php:324
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:348
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-includes/script-loader.php:2246
wp_print_footer_scripts()
wp-includes/class-wp-hook.php:324
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:348
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-includes/general-template.php:3081
wp_footer()
wp-content/themes/enfold/footer.php:338
require_once()
wp-includes/template.php:810
load_template()
wp-includes/template.php:745
locate_template()
wp-includes/general-template.php:92
get_footer()
wp-content/themes/optimal-systems/template-builder.php:171
include()
wp-includes/template-loader.php:106
require_once()
wp-blog-header.php:19
require()
index.php:17Best regards,
DJAugust 2, 2024 at 9:02 pm #1463678Hi,
Thanks for that. Could you give us access to the site where we can see the actual problem as well please?
Best regards,
RikardAugust 5, 2024 at 10:46 am #1463818This reply has been marked as private.August 5, 2024 at 12:35 pm #1463826Private
-
This reply was modified 1 month ago by
Rikard.
August 5, 2024 at 1:53 pm #1463835 -
This reply was modified 1 month ago by
-
AuthorPosts
- You must be logged in to reply to this topic.