Title: Error after migration.
Last modified: May 16, 2018

---

# Error after migration.

 *  Resolved [Izchel](https://wordpress.org/support/users/izysolutions/)
 * (@izysolutions)
 * [8 years ago](https://wordpress.org/support/topic/error-after-migration-5/)
 * 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](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [8 years ago](https://wordpress.org/support/topic/error-after-migration-5/#post-10286102)
 * Hi! You have come to the wrong forum, I think you may be using this plugin:
    
   [https://wordpress.org/support/plugin/woocommerce-pdf-invoices](https://wordpress.org/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](https://wordpress.org/support/guidelines/#avoid-signatures)]_
 *  Thread Starter [Izchel](https://wordpress.org/support/users/izysolutions/)
 * (@izysolutions)
 * [8 years ago](https://wordpress.org/support/topic/error-after-migration-5/#post-10286454)
 * 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](https://wordpress.org/support/users/izysolutions/).
 *  Plugin Contributor [kluver](https://wordpress.org/support/users/kluver/)
 * (@kluver)
 * [8 years ago](https://wordpress.org/support/topic/error-after-migration-5/#post-10286544)
 * Hi [@izysolutions](https://wordpress.org/support/users/izysolutions/),
 * Can you give us the specific 500 error? Then we might see what is going on. Thanks
   in advance!
 *  Thread Starter [Izchel](https://wordpress.org/support/users/izysolutions/)
 * (@izysolutions)
 * [8 years ago](https://wordpress.org/support/topic/error-after-migration-5/#post-10286814)
 * 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](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [8 years ago](https://wordpress.org/support/topic/error-after-migration-5/#post-10290180)
 * [@izysolutions](https://wordpress.org/support/users/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](https://codex.wordpress.org/Debugging_in_WordPress#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](https://wordpress.org/support/users/izysolutions/)
 * (@izysolutions)
 * [8 years ago](https://wordpress.org/support/topic/error-after-migration-5/#post-10293166)
 * 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](https://wordpress.org/support/users/izysolutions/)
 * (@izysolutions)
 * [8 years ago](https://wordpress.org/support/topic/error-after-migration-5/#post-10293168)
 * the line is $this->output[ $key ] = $value->$field;
    on the public function pluck
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [8 years ago](https://wordpress.org/support/topic/error-after-migration-5/#post-10293864)
 * 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.

 * ![](https://ps.w.org/woocommerce-pdf-invoices-packing-slips/assets/icon-256x256.
   png?rev=2189942)
 * [PDF Invoices & Packing Slips for WooCommerce](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [Ewout](https://wordpress.org/support/users/pomegranate/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/error-after-migration-5/#post-10293864)
 * Status: resolved