• Resolved ts

    (@trmash)


    Hello! Hoping you can help with my issue.

    I’ve been testing your plugin on a local version of a client site, and it works perfectly. When I attempt to activate the plugin on the live site, it throws a 500 error / white screen of death. It doesn’t even seem to throw any error that I can find anywhere, and I’m logging errors to a debug.log file.

    There are some differences between my local setup and my production server, I’ve attached the phpinfo for each server below. I’m hoping you could take a look and see if the live site is missing anything that the plugin requires.

    Local site: https://drive.google.com/open?id=1lrCiROggY02H9CNix_5_bx_6Um9fVrWr
    Live site: https://drive.google.com/open?id=1ax11sxWmeExS-CO51NfimN9iHf6ULhnH

    Please let me know if you need any other information.

    Much appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author James Golovich

    (@jamesgol)

    If the site can run WooCommerce then there are no other special requirements. If you check the PHP error log there should be a traceback along with the error (though it could be disabled on the server). If you can find that info I’d be happy to see about making it not happen for anyone in the future.

    Though I suspect if you would purge your WooCommerce sessions/carts this will go away. Presumably there are some old sessions that are causing a problem and wiping them out and starting with a clean slate usually resolves the problem.

    FYI: I wouldn’t recommend posting that kind of data to a public forum, in your live site I see some cookie data that could potentially be used to take over your account.

    Thread Starter ts

    (@trmash)

    Hi, thanks for the reply.

    I looked for errors relating to this issue, but none seemed to be generated – even though any other errors were being successfully logged.

    I cleared the WooCommerce sessions as you suggested and the plugin is now activated successfully. Will I need to be mindful of this whenever there is an update for this plugin? I assume plugins deactivate and reactivate whenever they are updated.

    Thanks for your help!

    Plugin Author James Golovich

    (@jamesgol)

    It should not be an issue in the future, likely what happened was there was a cart session that was associated with an order that was deleted. I’ve never been able to reproduce this issue but when I am able to I’ll get it fixed so it doesn’t happen again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘500 error when plugin is activated’ is closed to new replies.