Support » Plugin: WooCommerce PDF Invoices & Packing Slips » Plugin giving me 503 Service Unavailable Error

  • Resolved sesame

    (@thesesameshop)


    Hi, the plugin has been working perfectly. But I’m trying out a new server and it suddenly broke the test site. When I disabled all plugins and added them back one by one, I found it’s this plugin that’s causing the issue. It’s giving me the following error.

    “Service Unavailable
    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.”

    I’m using the latest 2.1.3 version. Has this been happening to anyone else?
    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Ewout

    (@pomegranate)

    hi! I’m sorry to hear that – we have not had any reports of this. 503 usually means the server’s capacity is reached (it could be the proverbial straw that breaks the camels back). Can you try to remove the plugin entirely and reinstall? You could also contact your host and ask them whether they can tell you more about the 503 error. If you are on cheap hosting you may simply have reached your servers limits.

    Let us know what you find!
    Ewout

    sesame

    (@thesesameshop)

    Hi Ewout,

    I have plenty of resources left on my server, the error appears as soon as I activate the plugin before anything else was activated. I tried reinstalling and now starting to get the 500 error. I see there are others in the forum starting to get the same error. Hope you guys resolve it soon, because I really cannot find a better invoice plugin than this!
    Cheers

    Plugin Author Ewout

    (@pomegranate)

    Hi! A 500 error is a cover up for another error and could be anything (the two reported 500 error threads currently open are unrelated and 2.1.3 is currently used on 20.000 sites so I think this is not related directly to the update). Check this sticky post and let me know what you find!

    We always do our best to resolve these kind of issues as soon as we can, but we need as much information as possible when we’re unable to reproduce the issue so we can track down the root cause. Let me know what you find!
    Ewout

    sesame

    (@thesesameshop)

    Hi Ewout,

    I reinstalled it again and it worked! I’m not sure why. The debug mode didn’t show anything unusual.
    Thanks

    Plugin Author Ewout

    (@pomegranate)

    Strange… glad to hear it’s all working now – let me know if the issues come back though!

    Ewout

    sesame

    (@thesesameshop)

    Hi Ewout, please see error log below. Is this to do with my theme? Thanks

    [23-Dec-2017 02:08:25 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wc_print_notices() in /var/www/thesesameshop.com.au/wp-content/themes/flatsome/woocommerce/myaccount/form-login.php:25
    Stack trace:
    #0 /var/www/thesesameshop.com.au/wp-includes/template.php(690): require()
    #1 /var/www/thesesameshop.com.au/wp-content/plugins/woocommerce/includes/wc-core-functions.php(179): load_template(‘/var/www/theses…’, false)
    #2 /var/www/thesesameshop.com.au/wp-content/themes/flatsome/inc/woocommerce/structure-wc-global.php(326): wc_get_template_part(‘myaccount/form-…’)
    #3 /var/www/thesesameshop.com.au/wp-includes/class-wp-hook.php(286): flatsome_account_login_lightbox(”)
    #4 /var/www/thesesameshop.com.au/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #5 /var/www/thesesameshop.com.au/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #6 /var/www/thesesameshop.com.au/wp-includes/general-template.php(2630): do_action(‘wp_footer’)
    #7 /var/www/thesesameshop.com.au/wp-content/themes/flatsome/maintenance.php(23): wp_foot in /var/www/thesesameshop.com.au/wp-content/themes/flatsome/woocommerce/myaccount/form-login.php on line 25
    [23-Dec-2017 02:08:35 UTC] PHP Deprecated: Non-static method BE_Multiple_Packages::generate_packages() should not be called statically in /var/www/thesesameshop.com.au/wp-includes/class-wp-hook.php on line 286
    [23-Dec-2017 02:08:46 UTC] PHP Deprecated: Non-static method BE_Multiple_Packages::generate_packages() should not be called statically in /var/www/thesesameshop.com.au/wp-includes/class-wp-hook.php on line 286
    [23-Dec-2017 02:08:51 UTC] PHP Deprecated: Non-static method BE_Multiple_Packages::generate_packages() should not be called statically in /var/www/thesesameshop.com.au/wp-includes/class-wp-hook.php on line 286
    [23-Dec-2017 02:09:03 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in /var/www/thesesameshop.com.au/wp-includes/formatting.php on line 2410
    [23-Dec-2017 02:09:03 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0

    Plugin Author Ewout

    (@pomegranate)

    Hi! These are all different errors, but from first sight it doesn’t look like they are directly related to PDF invoices:

    PHP Fatal error: Uncaught Error: Call to undefined function wc_print_notices()
    Is indeed from your theme (flatsome), which appears to be crashing when your site is in maintenance mode.

    PHP Deprecated: Non-static method BE_Multiple_Packages::generate_packages() should not be called statically
    Appears to be coming from a plugin “Multiple Packages for WooCommerce”. Nothing serious that crashes your site, but you could still report it because it will break in future PHP versions

    PHP Fatal error: Allowed memory size of 134217728 bytes exhausted
    Could be anything… 134217728 bytes = 128M which is probably your PHP or physical server limit. The server runs out at wp-includes/formatting.php in a function called untrainlingslashit, but that could be any plugin – as I wrote before, this is probably a ‘straw that breaks the camels back’ type of situation…

    Hope that helps!
    Ewout

    sesame

    (@thesesameshop)

    Thanks a lot.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Plugin giving me 503 Service Unavailable Error’ is closed to new replies.