Viewing 24 posts - 1 through 24 (of 24 total)
  • Author
    Posts
  • #1251002

    Hi,

    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.

    https://www.flowersbybelinda.co.nz/wp-login.php?action=enter_recovery_mode&rm_token=RMaJgS6MU6XzDORtjO4A4Y&rm_key=Bq1dU9LjcwWwQ6DhscSbzK

    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 4.7.6.3)
    Current plugin: Facebook for WooCommerce (version 2.0.2)
    PHP version 7.4.10

    Error Details
    =============
    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
    Stack trace:
    #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/…’)
    #8 {main}
    thrown

    #1251261

    Hey Anne,

    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?

    Best regards,
    Rikard

    #1251759

    Details updated – added privately, thanks.

    #1252010

    Hi,

    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?

    Best regards,
    Rikard

    #1252125

    Hi Rikard,
    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.
    Thanks,
    Anne

    #1252442

    Hi Anne,

    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/

    Best regards,
    Rikard

    #1252443

    Thanks Rikard – is it safe to deactivate the shop plug-ins? I need to make sure I don’t break the shop fucntion.
    Thank you,
    Anne

    #1252671

    Hi Anne,

    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?

    Best regards,
    Rikard

    #1252675

    Hi Rikard,

    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.
    Anne

    #1252976

    Hi,

    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?

    Thanks,
    Anne

    #1253002

    Hi Anne,

    We can enable debugging for you, but we need FTP access in order to do that. Please share the details in private.

    Best regards,
    Rikard

    #1253114
    This reply has been marked as private.
    #1253422

    Hi Anne,

    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.

    Best regards,
    Rikard

    #1253450

    Hi Rikard,
    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!
    Anne

    #1253544

    Hi Rikard,

    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?
    Thanks,
    Anne

    #1253545

    Hi Rikard,

    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?

    Thanks,
    Anne

    #1253581

    Hi Anne,

    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?

    Best regards,
    Rikard

    #1253587

    Thanks Rikard,

    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?

    Thanks,
    Anne

    #1253807

    Hi Anne,

    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.

    Best regards,
    Rikard

    #1253812

    Hi Rikard,

    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?

    thanks,
    Anne

    #1253820
    This reply has been marked as private.
    #1254224

    Hi Anne,

    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.

    Best regards,
    Rikard

    #1254229

    Hi Rikard,

    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.

    Thanks,
    Anne

    #1254542

    Hi Anne,

    Thanks for the update. We’ll keep this thread open for you in case you should need any further help from us.

    Best regards,
    Rikard

Viewing 24 posts - 1 through 24 (of 24 total)

You must be logged in to reply to this topic.