Title: SyntaxError
Last modified: August 30, 2016

---

# SyntaxError

 *  [Benjamin Smith](https://wordpress.org/support/users/benjamin-smith/)
 * (@benjamin-smith)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/syntaxerror-6/)
 * Updated WooCommerce to Version 2.4.8 And began receiving this error on the checkout
   page: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the
   JSON data
 * After returning to Default Template and disabling and re enabling all plugins
   I narrowed the issue down to this plugin.
 * [https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)

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

 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/syntaxerror-6/#post-6699000)
 * Hi Benjamin,
    Can you check that you have not enabled debug output in the PDF
   invoice settings? I have tested the plugin with 2.4.8 and haven’t seen any incompatibilities.
   The reason this setting may affect the checkout is that when you enable this 
   option, it will reveal debug output for all other plugins too. Check [this thread](https://wordpress.org/support/topic/24-common-issue-syntaxerror-unexpected-token?replies=1)
   for more information.
 * Your server error log should give you more information on the actual source of
   the error. If it turns out to be the PDF Invoice plugin indeed, let me know the
   error and I’ll do my best to fix it!
 * Ewout
 *  [creative-pixel](https://wordpress.org/support/users/creative-pixel/)
 * (@creative-pixel)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/syntaxerror-6/#post-6699217)
 * Hi,
 * Currently I have the same error. When in checkout and I’m using the ‘manual payment’
   option (overschrijving) I get this error :
    SyntaxError: JSON.parse: unexpected
   character at line 1 column 1 of the JSON data
 * I’m sure this plug-in causes the problem, because when it’s not activated the
   manual payment works fine. However the plug-in is great and our customer wants
   to use it.
 * Please help.
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/syntaxerror-6/#post-6699218)
 * Hi!
    This error can have a lot of different causes, it’s actually WooCommerce
   telling you it cannot interpret the response of the server, which is the actual
   error. I need to know the actual error to be able to help, you can find this 
   in the PHP error log of your server or in the response body in your browser (
   in the chrome console for example) – I realize this is somewhat advanced…
 * I would first simply try to create the invoice for these orders from the manually
   from backend though! If that works, it is probably either a plugin conflict (
   if are you using any other PDF invoice plugins – Deactivate them first!) or a
   lack of server memory (see Status page).
 * Hope that helps!
 * Ewout

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

The topic ‘SyntaxError’ 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/)

 * 3 replies
 * 3 participants
 * Last reply from: [Ewout](https://wordpress.org/support/users/pomegranate/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/syntaxerror-6/#post-6699218)
 * Status: not resolved