error 500 after update
-
after the update when i want to make a invoice i get a white page with error 500
before it worked ok
-
Enable WP_DEBUG in wp-config.php and let me know what errors you get.
Hello, I have the same problem. After I updated WooCommerce, there was after click on order button ‘Internal Server Error’. Error is in WooCommerce PDF Invoices plugin because when I deactivated this plugin, it worked correctly.
I enabled WP_DEBUG, error is here:SyntaxError: Unexpected token < in JSON at position 0.
And when I create PDF invoice from administration – after click on orders, there was a fatal error in plugin:
Warning: require_once(header.php): failed to open stream: No such file or directory in /wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-bewpi-invoice.php on line 456 Fatal error: require_once(): Failed opening required 'header.php' (include_path='.:/usr/php56/lib/php') in /wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-bewpi-invoice.php on line 456
-
This reply was modified 8 years, 2 months ago by
stephanius.
-
This reply was modified 8 years, 2 months ago by
stephanius.
Do you use a custom invoice template?
Does the header.php file exist?Please contact me via this form in order to fix this problem as quickly as possible.
Hello,
no, I don’t use custom template, I use micro template. File header.php exist and it is the same file like this.Thanks to @stephanius this has been quickly resolved.
Can someone inform me how this problem was resolved? I am having the same issue, thank you!
Do you also have the header.php error?
I think you have deleted your custom template, but the settings still think you are using it? This has been resolved in the latest versions. Try to update to latest version or just select default template and save settings.
Hi Bas!
Having the same server 500 error, caused by PDF invoice, after updating to WC 3.0.4.
The error log is different from @stephanius
On the jewelry websitre of my wife it says:
[Sat Apr 22 16:04:08.972859 2017] [lsapi:error] [pid 779367:tid 139971455330048] [client 77.164.167.207:1584] [host https://www.intujewelry.nl] Backend fatal error: PHP Fatal error: Uncaught Exception: Ongeldige bestelling. in /home/deb62238/domains/intujewelry.nl/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:86\nStack trace:\n#0 /home/deb62238/domains/intujewelry.nl/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(143): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order))\n#1 /home/deb62238/domains/intujewelry.nl/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(109): WC_Data_Store->read(Object(WC_Order))\n#2 /home/deb62238/domains/intujewelry.nl/public_html/wp-content/plugins/woocommerce-pdf-invoice/woocommerce-pdf-invoice.php(1714): WC_Abstract_Order->__construct(‘9997’)\n#3 /home/deb62238/domains/intujewelry.nl/public_html/wp-includes/class-wp-hook.php(300): WooPDF->add_woo_pdf_metabox(‘product’)\n#4 /home/deb62238/domains/intujewelry.nl/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)\n#5 /home/deb62238/domains/intujewelry.nl/public_html in /home/deb62238/domains/intujewelry.nl/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php on line 86\n, referer: https://www.intujewelry.nl/product/tree-of-life-ketting-goud-green/On my own website, it says:
[Sun Apr 23 12:32:55.952051 2017] [lsapi:error] [pid 948957:tid 139945402013440] [client 77.164.167.207:14913] [host https://www.whack-it.nl] Backend fatal error: PHP Fatal error: Uncaught Exception: Ongeldige bestelling. in /home/deb69798/domains/whack-it.nl/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:86\nStack trace:\n#0 /home/deb69798/domains/whack-it.nl/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(143): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order))\n#1 /home/deb69798/domains/whack-it.nl/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(109): WC_Data_Store->read(Object(WC_Order))\n#2 /home/deb69798/domains/whack-it.nl/public_html/wp-content/plugins/woocommerce-pdf-invoice/woocommerce-pdf-invoice.php(1714): WC_Abstract_Order->__construct(‘13292’)\n#3 /home/deb69798/domains/whack-it.nl/public_html/wp-includes/class-wp-hook.php(300): WooPDF->add_woo_pdf_metabox(‘page’)\n#4 /home/deb69798/domains/whack-it.nl/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)\n#5 /home/deb69798/domains/whack-it.nl/public_html/wp-includes/plugin.php in /home/deb69798/domains/whack-it.nl/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php on line 86\n, referer: https://www.whack-it.nl/waarom-het-niet-over-marketing-gaat-terugblik-op-een-coaching-sessie-met-nicole-dubois/
[Sun Apr 23 12:41:25.088066 2017] [lsapi:error] [pid 975379:tid 139945360054016] [client 77.164.167.207:1554] [host https://www.whack-it.nl] Backend fatal error: PHP Fatal error: Uncaught Exception: Ongeldige bestelling. in /home/deb69798/domains/whack-it.nl/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:86\nStack trace:\n#0 /home/deb69798/domains/whack-it.nl/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(143): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order))\n#1 /home/deb69798/domains/whack-it.nl/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(109): WC_Data_Store->read(Object(WC_Order))\n#2 /home/deb69798/domains/whack-it.nl/public_html/wp-content/plugins/woocommerce-pdf-invoice/woocommerce-pdf-invoice.php(1714): WC_Abstract_Order->__construct(‘13292’)\n#3 /home/deb69798/domains/whack-it.nl/public_html/wp-includes/class-wp-hook.php(300): WooPDF->add_woo_pdf_metabox(‘page’)\n#4 /home/deb69798/domains/whack-it.nl/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)\n#5 /home/deb69798/domains/whack-it.nl/public_html/wp-includes/plugin.php in /home/deb69798/domains/whack-it.nl/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php on line 86\n, referer: https://www.whack-it.nl/waarom-het-niet-over-marketing-gaat-terugblik-op-een-coaching-sessie-met-nicole-dubois/Thanks for any help ont this! It’s been a long journey so far to try and solve.
Using PDF invoice 2.1.6 BTW…
Any news on this? Thanks! My shop can’t give out invoices right now…
Hi @wordpressthijs,
Are you sure you are using this plugin? Name of the plugin you are describing is different then this one.
PDF invoice 2.1.6
WooCommerce PDF InvoicesNope, true, confusing names!!!
Will contact another helpdesk, thanks!
The plugin name form my plugin in my WP admin is: WooCommerce PDF Invoice
Yours is: WooCommerce PDF InvoicesBit confusing it is….
-
This reply was modified 7 years, 11 months ago by
wordpressthijs.
-
This reply was modified 8 years, 2 months ago by
- The topic ‘error 500 after update’ is closed to new replies.