• Resolved Izchel

    (@izysolutions)


    Hi, I migrated a site in which this plugin was working perfectly. In the new hosting, it is throwing a 500 error in the Dashboard if the plugin is turned on. I found it might be due to the route… Debug printed: oldserver/public_html/site/wp-content/uploads/woocommerce-pdf-invoices/attachments/.htaccess): failed to open stream: No such file or directory in newserver/public_html/site/wp-content/plugins/woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php on line 259

    Where can I update this? Any advice?

    Many thanks

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

    (@pomegranate)

    Hi! You have come to the wrong forum, I think you may be using this plugin:
    https://ww.wp.xz.cn/support/plugin/woocommerce-pdf-invoices

    if that’s not it either, I would recommend checking the information in the WordPress plugins page, as this may hold more information about where to get support.

    [ Signature deleted ]

    Thread Starter Izchel

    (@izysolutions)

    Sorry my bad. I was testing other plugins to see if it would fix it.

    The plugin I have in the oldserver is WooCommerce PDF Invoices & Packing Slips but when I activate it in the new server, it throws a 500 error that only resolves when I change the folder’s name to let say _woocommerce-pdf-invoices-packing-slips. Then in the dashboard “The plugin woocommerce-pdf-invoices-packing-slips/woocommerce-pdf-invoices-packingslips.php has been deactivated due to an error: Plugin file does not exist.” which makes sense.

    Any advice? Many thanks

    • This reply was modified 8 years ago by Izchel.
    Plugin Contributor kluver

    (@kluver)

    Hi @izysolutions,

    Can you give us the specific 500 error? Then we might see what is going on. Thanks in advance!

    Thread Starter Izchel

    (@izysolutions)

    I am not sure how to get the specific error as it shows an 500 error page from Hostgator.
    But if I check the error_log it shows this>

    [16-May-2018 11:08:24 UTC] Aq_Resize.process() error: Image file does not exist (or is not an image): oldserver/public_html/site/wp-content/uploads/2017/11/Untitled-design16.png

    Plugin Contributor Ewout

    (@pomegranate)

    @izysolutions to find the actual PHP error behind the 500 error, you can temporarily enable debug output in WordPress. See: Example wp-config.php for Debugging

    The Aq_Resize error is not from PDF Invoices & Packing Slips but appears to be from a plugin “Aqua Resizer” (it doesn’t look like a fatal error either so may be harmless).

    Let us know what you find!

    Thread Starter Izchel

    (@izysolutions)

    I got this:

    [15-May-2018 14:20:54 UTC] PHP Notice: Undefined property: stdClass::$plugin in /newserver/public_html/site/wp-includes/class-wp-list-util.php on line 150
    [15-May-2018 14:20:54 UTC] PHP Notice: Undefined property: stdClass::$plugin in /newserver/public_html/site/wp-includes/class-wp-list-util.php on line 150

    Thread Starter Izchel

    (@izysolutions)

    the line is $this->output[ $key ] = $value->$field;
    on the public function pluck

    Plugin Contributor Ewout

    (@pomegranate)

    Both of these are not fatal errors either, just notices. Neither are triggered by PDF invoices & Packing Slips either… I’m afraid we haven’t found the root cause yet!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Error after migration.’ is closed to new replies.