Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with no plugins installed #6

Open
Adrian-S opened this issue May 2, 2023 · 0 comments
Open

Error with no plugins installed #6

Adrian-S opened this issue May 2, 2023 · 0 comments

Comments

@Adrian-S
Copy link

Adrian-S commented May 2, 2023

First of all I was not the one to purchase the theme so I can't contact you via support.

Sooo... With "Javascript file merging and compression" enabled I get this error, and it's gone if it's disabled. This is on v4.9.2.3.

But I think I have the reason in my case. Site had no plugin installed, so I installed and activated Error Log Monitor and the site fixed it's self. Error was back with plugin disabled. Later on I installed Wordfence thinking it was hacked or something, but no problems were found. But I notice site was working Error Log Monitor disabled.

The only logical conclusion was that if the site had no plugin enabled the error would occur.

The error:

Fatal error: Uncaught Error: Attempt to assign property "extra" on null in /wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php:913
Stack trace: 
#0 /wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php(289): aviaAssetManager->try_deregister_scripts('avia-head-scrip...') 
#1 /wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php(104): aviaAssetManager->merge('js', 'avia-head-scrip...', Array) 
#2 /wp-includes/class-wp-hook.php(308): aviaAssetManager->try_minifying_scripts('') 
#3 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 
#4 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) 
#5 /wp-includes/script-loader.php(2194): do_action('wp_enqueue_scri...') 
#6 /wp-includes/class-wp-hook.php(308): wp_enqueue_scripts('') 
#7 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 
#8 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) 
#9 /wp-includes/general-template.php(3049): do_action('wp_head') 
#10 /wp-content/themes/enfold/header.php(195): wp_head() 
#11 /wp-includes/template.php(783): require_once('/var/www/1/6521...') 
#12 /wp-includes/template.php(718): load_template('/var/www/1/6521...', true, Array) 
#13 /wp-includes/general-template.php(48): locate_template(Array, true, true, Array) 
#14 /wp-content/themes/enfold/template-builder.php(15): get_header() 
#15 /wp-includes/template-loader.php(106): include('/var/www/1/6521...') 
#16 /wp-blog-header.php(19): require_once('/var/www/1/6521...') 
#17 /index.php(17): require('/var/www/1/6521...') 
#18 {main} thrown in /wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php on line 913

Hope this info helps somebody. I will leave "Wordfence" enabled anyway, so my problem is gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant