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
If you are seeing a similar error to the example above, please do the following:
In some cases the server will return nothing at all, this results in an
Unexpected end of input with no extra information.
// Enable debugging define( 'WP_DEBUG', true ); define( 'WP_DEBUG_DISPLAY', true );