October 7, 2020 at 12:13 am #1251002
I have been getting multiple critical errors on 2 sites using Enfold and Woo Commerce – my other 25 Enfold sites are not shops and are fine. (Yes I love Enfold!). Are you able to help? – I will add log in details. Each error seems to come for a different plugin each time. I am reluctant to deactivate plugins on a shop.
All updates have recently been done – I see a couple of new ones are there which I can do tonight.
In the back end, the products page and plugin pages were causing errors and would only work if page reloaded… randomly.
In the front end, a few customers have reported payment pages not loading. getting logged out, or not getting to payment page.This is random, as most orders process fine. But I clearly need to get this looked at!!!
Please let me know of a recommended developer if you think I need further help. Thank you.
This is the latest error message:
Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, Facebook for WooCommerce.
First, visit your website (https://www.flowersbybelinda.co.nz/) and check for any visible issues. Next, visit the page where the error was caught (https://www.flowersbybelinda.co.nz/wp-admin/edit.php?post_type=shop_order) and check for any visible issues.
Please contact your host for assistance with investigating this issue further.
If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.
To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.5.1
Current theme: Enfold (version 184.108.40.206)
Current plugin: Facebook for WooCommerce (version 2.0.2)
PHP version 7.4.10
An error of type E_ERROR was caused in line 166 of the file /home/flowersb/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Products/Feed.php. Error message: Uncaught Error: Call to undefined function SkyVerge\WooCommerce\Facebook\Products\as_unschedule_all_actions() in /home/flowersb/public_html/wp-content/plugins/facebook-for-woocommerce/includes/Products/Feed.php:166
#0 /home/flowersb/public_html/wp-includes/class-wp-hook.php(287): SkyVerge\WooCommerce\Facebook\Products\Feed->schedule_feed_generation(”)
#1 /home/flowersb/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(Object(WC_Facebookcommerce_Integration), Array)
#2 /home/flowersb/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /home/flowersb/public_html/wp-settings.php(546): do_action(‘init’)
#4 /home/flowersb/public_html/wp-config.php(109): require_once(‘/home/flowersb/…’)
#5 /home/flowersb/public_html/wp-load.php(37): require_once(‘/home/flowersb/…’)
#6 /home/flowersb/public_html/wp-admin/admin.php(34): require_once(‘/home/flowersb/…’)
#7 /home/flowersb/public_html/wp-admin/edit.php(10): require_once(‘/home/flowersb/…’)
thrownOctober 8, 2020 at 5:17 am #1251261
Thanks for the login details, they don’t seem to work though. Could you check and verify please?
The error you are getting seems to be related the facebook-for-woocommerce plugin, what happens if you disable that?
RikardOctober 10, 2020 at 12:02 am #1251759October 11, 2020 at 9:26 am #1252010
Thanks for the update. I toggled between processing and all on the page in private, but I can’t see any error messages. Is there a sure way to reproduce the problem you are getting?
RikardOctober 11, 2020 at 11:58 pm #1252125
Thanks for taking a look. I’ve just tried and I’m now getting the errors going between all orders and clicking on one of the pdf invoices in right hand column of the orders page. It happened twice after a few clicks back and forth. Hopefully you can see something there too.
AnneOctober 13, 2020 at 6:36 am #1252442
Thanks for the update. I managed to reproduce the error now, you are getting a 500 internal server error on the file in private. I’m not sure exactly why that is, but please try deactivating all plugins except WooCommerce to see what happens then. Also please enable debugging in WordPress, and share the logs with us: https://www.wpbeginner.com/wp-tutorials/how-to-set-up-wordpress-error-logs-in-wp-config/
RikardOctober 13, 2020 at 6:39 am #1252443
Thanks Rikard – is it safe to deactivate the shop plug-ins? I need to make sure I don’t break the shop fucntion.
AnneOctober 14, 2020 at 5:37 am #1252671
I don’t think it should break anything if you deactivate plugins temporarily, but I can’t guarantee it. Maybe it would be better if you copied the site to a staging environment, where you don’t have to worry about breaking things?
RikardOctober 14, 2020 at 5:51 am #1252675
thanks – I’ll try taking a back up first, then disabling plugins. Or see if I can work out how to create a staging environment. I’ll get back to you.
AnneOctober 15, 2020 at 11:03 am #1252976
I realise that I don’t know how to enable debugging in WordPress. This is a beyond me – being more of a front-end designer…. Do you have recommendations of developers who I can pay to do this for me?
AnneOctober 15, 2020 at 12:53 pm #1253002
We can enable debugging for you, but we need FTP access in order to do that. Please share the details in private.
RikardOctober 16, 2020 at 12:10 am #1253114October 17, 2020 at 6:10 am #1253422
Thanks for that. I enabled debug mode on your installation, the log can be found in the root of the wp-content folder if you need to view it. I can’t see much of interest in there though, and I couldn’t reproduce the internal server error this time either.
RikardOctober 17, 2020 at 8:36 am #1253450
thanks so much for taking the time to look at that for me. I guess if you can’t see anything there, I should close this thread and see if it it happens again.
Thanks again – your theme and support are great!
AnneOctober 17, 2020 at 11:58 pm #1253544
URGENT: I just went to he site and I’m getting a message: Notice: Constant WP_MEMORY_LIMIT already defined in /home/flowersb/public_html/wp-config.php on line 113
This is in the admin area and on the live site at the top under a purple section that was not showing before. It is causing the message to interupt the header of the website. Do you know what this is or how to sort that?
AnneOctober 18, 2020 at 12:06 am #1253545
I see this info under site health status:
Debug mode is often enabled to gather more details about an error or site failure, but may contain sensitive information which should not be available on a publicly available website.
The value, WP_DEBUG_LOG, has been added to this website’s configuration file. This means any errors on the site will be written to a file which is potentially available to all users.
The value, WP_DEBUG_DISPLAY, has either been enabled by WP_DEBUG or added to your configuration file. This will make errors display on the front end of your site.
Do you need to remove the debug info?
AnneOctober 18, 2020 at 7:03 am #1253581
Memory limit is defined in your wp-config.php file yes:
//increase memory limit - to prevent memory exhaustion error define( 'WP_MEMORY_LIMIT', '512M' );
We haven’t added that though, maybe you could reach out to your hosting provider and ask if that should be there or not?
About the server error you are getting; the only fatal error I see in the log file seems related to JetPack. Could you try disabling that to see what happens please? Also, do you want us to disable debugging again?
RikardOctober 18, 2020 at 7:20 am #1253587
Yes, please disable debugging again. I think that will get rid of the message?
I deleted Jetpack recently – and also WooCommere Services as I don’t use them. Is that an old error message then?
AnneOctober 19, 2020 at 6:43 am #1253807
I’ve disable debugging now, and I can’t see any messages on either the front or backend. Could you check and verify please?
The JetPack error message was in the debug log, so it must have been generated after I turned that on for you.
RikardOctober 19, 2020 at 6:50 am #1253812
thanks – yes the messages have gone now debugging is off. I just clicked around on the orders page and go a critical error message again. I don’t know what is going on. And I’m not sure if it’s affecting the front end at all.
Thanks very much for helping – any suggestions for what I could do next or who to talk to?
AnneOctober 19, 2020 at 6:58 am #1253820October 20, 2020 at 4:58 am #1254224
Thanks for the update. I’m not seeing any messages either when logged in or not, so you are likely getting cached results. Did you try loading the site in an incognito or private window in your browser?
I’m not sure how we can help you out with this problem unfortunately, but I think it’s happening because of one or more of the plugins that you are using. Did you try to disable all plugins except for WooCommerce? The element which you are clicking on in the backend when the internal server error is happening is added by the WooCommerce PDF Invoices & Packing Slips plugin, right? If so then please try reaching out to the developer of that plugin as well, to see if they can help you out further.
RikardOctober 20, 2020 at 5:06 am #1254229
yes I still got the messages in a private browser window. it went on for some hours but they have gone now.
Thanks for the advice about contacting the plugin author – I will do that.
Once again, I appreciate all your help.
AnneOctober 21, 2020 at 5:46 am #1254542
You must be logged in to reply to this topic.