• I went out for the weekend and came back to a mess.

    Nothing breaks until I make a small change. The changes I make are nothing out of the ordinary.

    Example:
    I go edit CSS via Dashboard->Appearance->Edit CSS. I make the change, looks good, save it, and open in a different browser. Check and done.

    I go back one minute later to make another change, and am getting an internal error:

    Notice: Constant ET_CORE_VERSION already defined in /home1/drstevf1/public_html/cyrenelabs/wp-content/themes/Divi/functions.php on line 17
    
    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /home1/drstevf1/public_html/cyrenelabs/wp-content/plugins/divi-builder/core/components/Updates.php on line 398

    This is the third max memory error. I bypassed the first two with a try/catch, but that is not long term and I do not know how many of these there are.

    They are using Divi as the theme and have many WooCommerce plugins.

    On WooCommerce –
    We had an issue last night with a huge stack trace. The final message read:

    Warning: include_once(/home1/drstevf1/public_html/cyrenelabs/wp-content/plugins/woocommerce/includes/class-wc-autoloader.php): failed to open stream: No such file or directory in /home1/drstevf1/public_html/cyrenelabs/wp-content/plugins/woocommerce/woocommerce.php on line 25

    I tried a few things to no avail. Then log in this morning and everything is OK.

    What the haybale is going on here? Obviously the client is not happy the site is all kinds of broke.

    My suspicion, I think the site updated to WP 4.8.2 and that broke some of the plugins.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I see Notice: WC_Cart::get_cart_url is deprecated since version 2.5! Use wc_get_cart_url instead. in /home1/drstevf1/public_html/cyrenelabs/wp-includes/functions.php on line 3836

    I suspect that there are some custom WC template files that are way out of date. Look in the theme’s “woocommerce” directory.

    Also, make sure your theme is up to date. It seems to have some WC specific stuff in its functions.php file.

    In adddtion, you might throw a little mor memory at WP. The error you quoted says it’s maxing at 128MB. Try pushing it to 256. https://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/

    Hey Steve,

    My checkout page was breaking after recent woocommerce update and from debug mode I found that several plugins and my theme as well is using deprecated functions.

    However I followed your advice of increase memory from 128M to 256M and it resolved my issue for the time being. Now all pages are working.

    Hoping to get the deprecated functions issue resolved further.

    Thanks
    Abhishek

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Various crashes after recent updates’ is closed to new replies.