• Resolved abqdanj

    (@abqdanj)


    After update to 2.1.7. of WooCommerce PDF Invoices & Packing Slips, received HTTP ERROR 500 on the entire site including WP-Admin. Had to use FTP client to delete the WooCommerce PDF Invoices & Packing Slips sub directory from the plugins directory to get the site back up.

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    I’m so sorry to hear that. I haven’t had any other reports of this so far and this didn’t turn up in pre-release testing so I’m not sure what happened in your site. If you have access to the PHP error logs, could you check for any fatal errors and share the error here? Otherwise, could you contact your host and ask them if they can send you recent fatal errors from the error log?

    Let me know what you find and I’ll do my best to resolve this asap!

    Ewout

    Plugin Contributor Ewout

    (@pomegranate)

    P.s. if in addition you can share your WooCommerce, WordPress & PHP versions, that may help us reproduce the error. If it’s easier you may also share your WooCommerce status report (WooCommerce > Status)

    Thanks!

    Same problem as abqdanj. After update, the site is inaccessible with http 500 error. The PHP version is 5.4 (I know… minimum of 5.6 is recommended these days, but the hosting site is also home to some static html and old Opencart CMS that doesn’t like 5.6.

    Anyway… nothing I see which says the plugin doesn’t work on 5.4, but at least on my site, it does not. Had to rename the plugin directory so that WP would deactivate the plugin in order to bring site up.

    Thread Starter abqdanj

    (@abqdanj)

    I’m still trying to find the the PHP error logs, but here the additional info you requested:

    WC Database Version: 3.3.5
    WP Version: 4.9.5
    Server Info: Apache
    PHP Version: ? 5.3.29-pl0-gentoo

    Plugin Contributor Ewout

    (@pomegranate)

    Hi! Thanks for reporting @fngeditor. I don’t have a test environment with PHP5.4 where I am now (indeed the plugin is supposed to run on PHP5.3+), so if you can find the fatal error that was triggered by the update (see above) and/or let me know what WC & WP versions you use, that may help us resolve this sooner.

    Based on @abqdanj information so far this might indeed be a PHP version related bug. If you find the PHP error log, I hope we can quickly fix this.

    Thank you for your patience!
    Ewout

    Hi, same problem for me. My error.log says:

    [Tue May 01 21:08:50 2018] [warn] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_BOOLEAN_AND, expecting ‘)’ in /var/www/vhosts/webadvservice.com/sevenspeed.it/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wcpdf-compatibility-third-party-plugins.php on line 210, referer: https://sevenspeed.it/wp-admin/plugin-install.php?s=WooCommerce+PDF+Invoices+%26+Packing+Slips&tab=search&type=term

    Hope you can fix it. After reinstalling the plugin the same error occurred, eventually I had to disable it.

    Thanks
    Fabio

    Plugin Contributor Ewout

    (@pomegranate)

    Got it, thanks for digging up that error @viarete!
    I’m pushing a fix now, should be out in less than 30 minutes.

    My site is down as well! No access to anything as I don’t have FTP set up! PLEASE roll back the update.
    Trying to access my site wp-admin I get this error:
    Parse error: syntax error, unexpected ‘&&’ (T_BOOLEAN_AND), expecting ‘)’ in /home2/unleash/public_html/bulldognational.org/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wcpdf-compatibility-third-party-plugins.php on line 210

    My site is in maintenance mode while I was working on the products. Even the splash screen for that gives the same error. Please tell me it is going to be rolled back and fixed.

    Plugin Contributor Ewout

    (@pomegranate)

    Hello @shwebb15,
    I’m so sorry to hear that. The fix is on it’s way out, but unfortunately that will not automatically be installed on your site. The best way to fix this is to contact your host and ask them to rename or remove the wp-content/woocommerce-pdf-invoices-packing-slips/ folder. That will deactivate the plugin and let you install the update with the fix.

    Hang in there!

    Ewout

    @shwebb15 open your database with phpmyadmin, look for the options table, then the row with option name active_plugins. Delete the content of that field (all of active plugins of your site) then you can access the backend and activate all plugins as before (but not WooCommerce PDF Invoices & Packing Slips!!).

    Plugin Contributor Ewout

    (@pomegranate)

    thanks for the assistance @viarete. I’m not sure if that’s good advice though, as that may break even more if there are plugin dependencies in the theme.

    @shwebb15, do you have access to cPanel or any other backend portal for your hosting?

    Plugin Contributor Ewout

    (@pomegranate)

    2.1.8 is out and should fix the error

    @viarete, @fngeditor, @abqdanj can you verify this?

    Thank you for your patience!

    Ewout

    I do not have access to cpanel!
    I have emailed everyone that has worked on the site over the last couple of years trying to locate the domain owner hoping to get that information so I may get access. This domain has been passed along to several people over the last few years. I don’t for sure know who has access to the cpanel.
    Using wordpress admin we have been getting along just fine until now.
    Yikes.

    I have an autoupdater plugin. I don’t suppose that will even work in this case? ??

    Plugin Contributor Ewout

    (@pomegranate)

    Hello @shwebb15,
    My sincere apologies for this unfortunate situation. We always test our plugin extensively pre-release, but it seems this bug was PHP version dependent and slipped through the cracks… If there is any way in which I can help, let me know. For now you best bet is indeed finding someone with access to the actual files via either cpanel or FTP. Long term that’s probably a good thing to have regardless, I just hope that someone will be able to give you the login credentials needed to get this sooner than later!

    Unfortunately is unlikely that the autoupdater will get this update for you. After you have been able to turn off the PDF Invoices & Packing Slips plugin, I recommend that you actually turn off of the autoupdater.

    Good luck!

    Ewout

    • This reply was modified 6 years, 11 months ago by Ewout. Reason: note about autoupdater
Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Update to 2.1.7. crashed entire site with “HTTP ERROR 500”’ is closed to new replies.