Support » Plugin: Add-on WooCommerce - MailPoet 3 » 500 when activated

  • Resolved johnc1979

    (@johnc1979)


    When I activate this plugin the front end gets 500 errors. Something wrong with it.
    DO NOT INSTALL YET

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author ehsantikweb

    (@ehsantikweb)

    Hi @johnc1979,
    E 500 are too generic to say, why it’s happening.
    http://www.checkupdown.com/status/E500.html

    Most of times, it’s due to a Timeout and a deactivated Error Logging, so the Server just returns a fail, as no more info is available for the error.

    Please follow as instructed below:

    1. Enable WP Debug:
    https://codex.wordpress.org/WP_DEBUG
    2. Navigate to the location where the E 500 is happening
    3. See the Error on display
    4. Report that error to me

    Thank you for your patience.

    • This reply was modified 2 years, 3 months ago by ehsantikweb.
    • This reply was modified 2 years, 3 months ago by ehsantikweb.
    Plugin Author ehsantikweb

    (@ehsantikweb)

    Hi,
    E500 are too generic to say, why it’s happening.
    http://www.checkupdown.com/status/E500.html

    Most of times, it’s due to a Timeout and a deactivated Error Logging, so the Server just returns a fail, as no more info is available for the error.

    Please follow as instructed below:

    1. Enable WP Debug:
    https://codex.wordpress.org/WP_DEBUG
    2. Navigate to the location where the E500 is happening
    3. See the Error on display
    4. Report that error to me

    Thank you for your patience.

    Plugin Author ehsantikweb

    (@ehsantikweb)

    Hi @johnc1979,
    E500 are too generic to say, why it’s happening.
    http://www.checkupdown.com/status/E500.html

    Most of times, it’s due to a Timeout and a deactivated Error Logging, so the Server just returns a fail, as no more info is available for the error.

    Please follow as instructed below:

    1. Enable WP Debug:
    https://codex.wordpress.org/WP_DEBUG
    2. Navigate to the location where the E500 is happening
    3. See the Error on display
    4. Report that error to me

    Thank you for your patience.

    AOL
    I see this in my apache error log.

    [Thu Oct 19 20:18:22.895988 2017] [proxy_fcgi:error] [pid 7404:tid 139945226118912] [client xxx.xxx.xxx.xxx:60089] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function is_checkout() in /[path to wordpress]/wp-content/plugins/add-on-woocommerce-mailpoet/includes/class-mpwa-frontend-fields.php:131\n

    • This reply was modified 2 years, 3 months ago by craftspeed.

    Hi @craftspeed,

    is_checkout() is a Woocommerce function https://docs.woocommerce.com/wc-apidocs/function-is_checkout.html . So, if Woocommerce is not installed in your system only than this function could generate a fatal error. Can you please tell me, when exactly get this message ? (e.g during installation of our plugin or any scenario). Also make sure your are using latest version of this plugin.

    Thanks,
    Tamim

    Woocommerce is installed and running the latest version. The error happens as soon as your plugin is activated and occurs on every page.

    I’ve been missing the replies. This is happening on every page when the plugin is activated. I’m using Avada theme with Woocommerce. I’m also using plugin organizer to disable woo plugins on non-woo pages and posts

    Hi @craftspeed,

    I have installed woocommerce, mailpoet 3 , Add-on WooCommerce – MailPoet 3 plugin in a fresh and existing wordpress installation. I didn’t face the problem which you did. That’s why I can’t able to find out where the problem. Can you please deactivate ( or uninstall if possible ) all plugins and reactivate to see if that problem still occur.

    Technically is_checkout() function must be accessible from any parts of wordpress code ( e.g theme / plugins ) if the Woocommerce plugin is installed and functioning. So, there is no way is_checkout() function could occur a fatal error.

    Thank you

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Side note: @tamimibrahim17 Do not solicit people to contact you away from these forums. That’s actively discouraged here.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @johnc1979 Do not send anyone any information like what was redacted.

    I’ll try working out which plugin, if any, is causing this on my dev environment. it may take a day or two to complete the tests

    Didn’t take that long. Looks like a clash with http://open-tools.net/woocommerce/advanced-shipping-by-rules-for-woocommerce.html

    Deactivating that and the site works with your plugin enabled.

    @johnc1979 , do you have that plugin installed/enabled?

    Don’t suppose anyone’s had a chance to look at the compatibility between these plugins yet? Both are pretty important to our business process.

    Not expecting an immediate resolution, just keeping the thread alive really.

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