• Resolved aarmfield

    (@aarmfield)


    I am working on a site that is being moved to the wordpress platform. Right now, the site is live and wordpress is being loaded on the back end. I loaded a theme and part of that theme is the woocommerce plugin. I am having an issue with the woocommerce plugin. I have a third party theme called Automotive 2 that requires woocommerce. After installing the plugin, everything seems fine. When I activate the plugin, the site goes down and I get a 500 error:

    The leisurelandrvcenter.com page isn’t working
    leisrurelandrvcenter.com is currently unable to handle this request.
    HTTP ERROR 500

    When this happens, I am unable to even get to the admin login. I can get the site back by removing or renaming the plugin file in the hosting.

    The site is leisurelandrvcenter.com, but wordpress is loaded to leisurelandrvcenter.com/wp. I will be working on the site to try to resolve this, so you may not see the error right now.

    https://www.ads-software.com/plugins/woocommerce/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    Turn on debug mode so you can try to get a relevant error to help point to the problem: https://www.ads-software.com/support/topic/how-to-debug-issues-after-updates

    You could also try temporarily switching back to the WordPress Twenty Sixteen Theme, or Storefront, and disable all plugins. Then enable WooCommerce. If everything is working correctly still, slowly re-enable features until you find the one that’s causing the conflict.

    Thread Starter aarmfield

    (@aarmfield)

    Sorry about not following those steps, I was thinking a debug mode wouldn’t show me anything since I can’t even access the site. After enabling debug mode, here is what I get:

    Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/2/109628/webspace/httpdocs/leisurelandrvcenter.com/wp/wp-content/plugins/envato-wordpress-toolkit-master/index.php on line 204 Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 30720 bytes) in /var/www/vhosts/2/109628/webspace/httpdocs/leisurelandrvcenter.com/wp/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1796

    I can change the memory size in the config file, but I’m not totally sure what I need to change it to based on this error. It seems like the limit of 41GB ran out? Thanks for the recommendation.

    EDIT: I forgot to mention that I switched to the default theme and only turned on the woocommerce plugin and I got the same result.

    Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    41943040 bytes is actually .04gb I believe, or 41mb. So you could do with a bit more memory on your site: https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/

    Thread Starter aarmfield

    (@aarmfield)

    That fixed it. I just set the memory to 96MB and the site is back up. Thank you for your help. I have some templates I need to update and apparently, I need to update php and wordpress, so I have other issues now.

    Thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Woocommerce Plugin] After activating 2.6.4, site goes down’ is closed to new replies.