Wpadmin/Application/Customize: There has been a critical error on this website.
-
Hello. How are you?
ERROR: There has been a critical error on this website. Please check your site admin email inbox for instructions.
When I try to access CUSTOMIZE under the wp-admin/APPEARANCE-CUSTOMIZE, through the wp-admin backend of my website, I get the above error message.
I have Disabled all plugins and checked one by one and found that I CANNOT access CUSTOMIZE, only when the Woocommerce plugin in ENABLED.
If the woocommerce plugin is DISABLE, I can then access the CUSTOMIZE tab and it opens up.The website works well and responds well whether or not the Woocommerce plugin is Enabled or Disabled.
All help is very much appreciated. Thank you.
-
Hi @harin
Thanks for reaching out!
I understand that you are unable to access the Appearance > Customize menu on your site when the WooCommerce plugin is enabled, correct?
This is quite strange as I am unable to replicate this issue on my end. I can access this menu even if WooCommerce is enabled.
I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:
- System Status Report which you can find via
WooCommerce > Status > Get system report > Copy for support
. - Fatal error logs (if any) under WooCommerce > Status > Logs.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.
Once we have more information, we’ll be able to assist you further.
Hi,
Thanks for your fast response. Yes, you are correct. I am unable to access the Appearance > Customize menu on my site when the WooCommerce plugin is enabled.
Also, I managed to get both the files that you requested and pasted them in Git Hub.
https://gist.github.com/Harin365/af3b7038de81ad8a041b6dbc918753f9
Please do let me know if you require any further information. Thank you.
Hey @harin,
From what I understand, this issue is still present when only the WooCommerce core plugin is active, and all other plugins are deactivated, correct? I just want to be sure that we can rule out another plugin possibly conflicting with WooCommerce here. ??
In the meantime, can you please enable
WP_DEBUG
in your WordPress configuration (wp-config.php
) by settingdefine( 'WP_DEBUG', true );
and check for any PHP errors specifically related to the Customize section.The support guide below proves steps on how to enable WP Debug mode:
Once enabled, this will create a?
debug.log
?file in the?wp-content
?folder. Can you go ahead and try and access the Appearance > Customize menu on your site again.You can then access the?
debug.log
?file via FTP or your cPanel file manager and look for any error messages related to the issue.Please share any errors with us here so that we can take a closer look.
Cheers!
Hey Roxy,
All the plugins are enabled/activated, the site is up and running, all pages are active and responding well.
The error only happens when I try to access CUSTOMIZE under the wp-admin/APPEARANCE-CUSTOMIZE.
-Upon setting?
define( 'WP_DEBUG', true );
and trying to access the?Appearance > Customize?menu on my site again. The following Fatal Error appears:Fatal error: Uncaught Error: Call to undefined function astra_header_woo_cart_configuration() in /home/harin/mindsportal.com/wp-content/themes/astra/inc/customizer/configurations/builder/header/class-astra-customizer-woo-cart-configs.php:38 Stack trace: #0 /home/harin/mindsportal.com/wp-includes/class-wp-hook.php(324): Astra_Customizer_Woo_Cart_Configs->register_configuration(Array, Object(WP_Customize_Manager)) #1 /home/harin/mindsportal.com/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #2 /home/harin/mindsportal.com/wp-content/themes/astra/inc/customizer/class-astra-customizer.php(1133): apply_filters(‘astra_customize…’, Array, Object(WP_Customize_Manager)) #3 /home/harin/mindsportal.com/wp-content/themes/astra/inc/customizer/class-astra-customizer.php(940): Astra_Customizer->get_customizer_configurations() #4 /home/harin/mindsportal.com/wp-includes/class-wp-hook.php(324): Astra_Customizer->prepare_group_configs(Object(WP_Customize_Manager)) #5 /home/harin/mindsportal.com/wp-includes/class-wp-hook. in /home/harin/mindsportal.com/wp-content/themes/astra/inc/customizer/configurations/builder/header/class-astra-customizer-woo-cart-configs.php on line 38
There has been a critical error on this website. Please check your site admin email inbox for instructions.
Learn more about troubleshooting WordPress.
-And the?
debug.log
file shows that it is 0 bytes (empty).Please also refer to the link in GitHub:
https://gist.github.com/Harin365/af3b7038de81ad8a041b6dbc918753f9
Please do let me know if you require any further information. Thank you for your help.
Hey @harin,
Thanks for sharing that, the error log is super helpful!
#3 /home/harin/mindsportal.com/wp-content/themes/astra/inc/customizer/class-astra-customizer.php(940): Astra_Customizer->get_customizer_configurations() #4 /home/harin/mindsportal.com/wp-includes/class-wp-hook.php(324): Astra_Customizer->prepare_group_configs(Object(WP_Customize_Manager)) #5 /home/harin/mindsportal.com/wp-includes/class-wp-hook. in /home/harin/mindsportal.com/wp-content/themes/astra/inc/customizer/configurations/builder/header/class-astra-customizer-woo-cart-configs.php on line 38
Your current theme seems to be triggering an error. To check if this is the cause, can you please temporarily switch to a default theme, such as Storefront, and see if this resolves the issue?
If you do not want to test on your live site, you can use the free?Health Check?plugin which will allow you to switch themes while you’re still logged in, without affecting normal visitors to your site.
Let us know how this goes!
Hey Roxy,
This morning, I saw this new error message on the top of the screen of the Appearance tab. Posted it below. Please do let me know how to resolve this new error.
=> Warning: curl_exec() has been disabled for security reasons in /home/harin/mindsportal.com/wp-content/plugins/checkout-plugins-stripe-woo/lib/stripe-php/lib/HttpClient/CurlClient.php on line 495
And, I installed and activated the Storefront, theme, and it works. I can access the Appearance/Customize tab and it opens up. But, when I change it back to my default theme, it does not work.
Also, do I need to change the
define( 'WP_DEBUG', true );
back to false?Thank you very much for your help. I appreciate it very much. Thank you.
- This reply was modified 11 months, 2 weeks ago by Harin.
Hi @harin
This morning, I saw this new error message on the top of the screen of the Appearance tab. Posted it below. Please do let me know how to resolve this new error.
=> Warning: curl_exec() has been disabled for security reasons in /home/harin/mindsportal.com/wp-content/plugins/checkout-plugins-stripe-woo/lib/stripe-php/lib/HttpClient/CurlClient.php on line 495
This new error points to the third-party plugin Checkout Plugins – Stripe for WooCommerce: by Checkout Plugins – 1.5.0. Disabling this plugin will eliminate the warning message, however, this will not resolve the issue.
Since you are using a third-party plugin that we don’t provide support for based on our Support Policy, I recommend that you reach out to the developers of the plugin or post to the proper forum thread for further assistance. They will be better equipped to help you resolve any issues you’re experiencing with the plugin.
https://www.ads-software.com/support/plugin/checkout-plugins-stripe-woo/
And, I installed and activated the Storefront, theme, and it works. I can access the Appearance/Customize tab and it opens up. But, when I change it back to my default theme, it does not work.
We’re glad that worked! In this case, we can conclude that the issue is being triggered when using your theme Astra.
Once again, this is a third-party plugin, hence, please contact the developers for further assistance here.
Also, do I need to change the
define( 'WP_DEBUG', true );
back to false?Yes, since we’re able to find out the culprit of your issue here ??
I’ve reported this under the Astra theme at https://www.ads-software.com/support/topic/critical-error-when-customizing-astra-theme-v4-5-2/.
I can confirm – I have the exact same error.
BR
Michal
FYI. I just downgraded to 4.5.1 and it works properly there:
https://downloads.www.ads-software.com/theme/astra.4.5.1.zip
Hi, all
I am having the same error. I have checked Astra Pro theme 4.5.1 and 4.5.2. Both don’t allow Apparence/customize. To enable it, I need to deactivate Woocommerce core pluging.
I’m having the same error. I rolled back to earlier versions of Astra Addon and still have the same issue.
Yes, it really is the same issue. Line 38 and all that jazz. Please fix. I can’t use older versions of Astra either right now, I even rolled back to 4.1.3 and it still wasn’t working.
/home/public_html/wp-content/themes/astra/inc/customizer/configurations/builder/header/class-astra-customizer-woo-cart-configs.php on line 38
Hey @tamar & @lfgmespino.
Thank you for reporting you are also facing the same issue.
As my colleague mentioned Astra is a third-party theme, so we are not able to provide support for it. Please report your issues on Astra support so they can be aware this issue is affecting more people.
Since the issue is related to a third-party theme, I’m checking it as solved now, if anyone needs help with anything, please feel free to reach out to us again. ??
Actually the solution that resolves the problem comes from Astra who replied to me with the following:
To solve this, you should enable the New Header Builder under Astra > Dashboard > Settings > enable the New Header/Footer builder:?https://d.pr/i/S2XxuAI can confirm it works.
Hey there @tamar,
Thank you so much for adding your input! Some of our customers might indeed find this guide helpful! cc @harin @etetech @leciak @lfgmespino
We appreciate you being an active part of the community ??
Have a wonderful day!
- This reply was modified 11 months, 2 weeks ago by anastas10s. Reason: pinged all thread participants who reported having this issue with Astra theme
- System Status Report which you can find via
- The topic ‘Wpadmin/Application/Customize: There has been a critical error on this website.’ is closed to new replies.