WooCommerce POS communicates with the WooCommerce REST API using JSON. If you are seeing a SyntaxError it means that the POS was expecting valid JSON but got something else instead, usually an error message from WordPress.
Clicking on the 'i' info icon will display the raw output from the server. In the example below, we can see there is a PHP Notice from WordPress. The notice references the line of code which is causing the problem.
In the above example you can see that the error occurs in the
example-plugin/example.php file at
line 15. If you are seeing a similar error to the example above, please do the following:
If possible, deactivate the plugin causing the error, this will allow you to continue using WooCommerce POS
Copy the error notice and contact [email protected]
Also contact the developer of the plugin causing the error, they are usually in the best place to provide a fix
In some cases the server will return nothing at all, this results in an
Unexpected end of input with no extra information.
// Enable debuggingdefine( 'WP_DEBUG', true );define( 'WP_DEBUG_DISPLAY', true );