Zettle plugin when activated causing WordPress critical error
-
Hello when i activate the zettle plugin i get an error:
A critical error occurred. Please check the WooCommerce logs for more details.
i have also a log file where can i sended to? and can i give you acces to te website?The page I need help with: [log in to see the link]
-
Hello @mattheus,
Thank you for reaching out to us, we are here to help.
The issue you have encountered is not very common, so I would expect there is an issue in your environment that is causing this. Most likely this is caused by a plugin conflict, so I would advise you to perform a full conflict test to rule out eventual issues with the theme or a different plugin. We recommend temporarily activating the default theme Storefront and disabling all other plugins except for?WooCommerce and?PayPal Payments to see if the behaviour persists.
Here’s a guide that explains the steps in more detail: How to test for conflicts.
If this does not identify what is causing this, you can always still open a private engagement with us, and share the logs with us for us to have a look at and see what else we can do.
Kind regards,
JoostThanks for your comment. While I was creating this ticket, I contacted Zettle support by telephone. During telephone support we discovered that it was due to the plugin “Docket Cache”. so that problem solved.
next problems.
Problem 1
Together with zettle support, I reconnected to the shop and zettle account perhaps 5 times. The reason is that products are not synchronized. There is also no reason given why it is not Syncable. check image The Zettle employee also thought this was strange. It does indicate errors in the log file.Porblem 2
There are also products that are not synthesized for a reason, for example “Unsupported product type”. I understand this reason. I just can’t figure out the products without a reason. . check image is it also possible to publish bundled products in zettle?Hello @mattheus,
On the 2nd question, I can give you a clear answer: no, in the current state of our plugin, you cannot sync bundled products to Zettle. Only the products mentioned in our documentation can be synced at this time.
The cause for this last product to not sync and not show any error (in the status or logs) is a strange one. If I was looking into this, I would start by checking if the tax settings / tax class would be correctly assigned and configured. The most common cause is that a tax class is assigned to a product, but that this product does not have any entry of the tax configuration in this tax class. That could cause this situation.
If this is not the case, we could have a closer look, but it might be best to open a private engagement with us, in order to not share details on a public forum.
Kind regards,
Joostclearly for the bundles, that’s where it ends.
For the products that are not synced, I first checked the tax settings, etc., also together with your colleague by telephone. In the toilet log file it does indicate something
I see that WC logs have different log dates, maybe take a look? Otherwise, why not create a private ticket? Then we can also talk in Dutch, which is a bit easier
?# Previous: Inpsyde\Zettle\PhpSdk\Exception\Validator\Image\ImageNotFoundException: No Attachment found for Attachment ID: 10125 in /customers/2/0/c/musclemachinenutrition.nl/httpd.www/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Validator/WordPressImageValidator.php:99 2024-01-12T16:51:31+00:00 INFO Inpsyde\Zettle\PhpSdk\Exception\InvalidBuilderPayloadException: Could not build Inpsyde\Zettle\PhpSdk\DAL\Entity\Presentation\Presentation from the given payload in /customers/2/0/c/musclemachinenutrition.nl/httpd.www/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Builder/ValidatableBuilder.php:52 # Previous: Inpsyde\Zettle\PhpSdk\Exception\InvalidBuilderPayloadException: Could not build Inpsyde\Zettle\PhpSdk\DAL\Entity\Image\ImageInterface from the given payload in /customers/2/0/c/musclemachinenutrition.nl/httpd.www/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Builder/ValidatableBuilder.php:52 # Previous: Inpsyde\Zettle\PhpSdk\Exception\Validator\Image\ImageNotFoundException: No Attachment found for Attachment ID: 10125 in /customers/2/0/c/musclemachinenutrition.nl/httpd.www/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Validator/WordPressImageValidator.php:99 2024-01-12T16:51:31+00:00 WARNING Skipping WC_Product_Variable 789, not syncable because: Excluded. 2024-01-12T16:51:31+00:00 DEBUG Executed Job ‘sync-product’ with ID 28. 2024-01-12T16:51:31+00:00 DEBUG Removed 1 jobs from the queue 2024-01-12T16:51:31+00:00 INFO Remote UUID of product with ID 789 not found 2024-01-12T16:51:31+00:00 DEBUG Executed Job ‘delete-product’ with ID 29. 2024-01-12T16:51:31+00:00 DEBUG Removed 1 jobs from the queue 2024-01-12T16:51:31+00:00 WARNING No remote ID found for local ID 789 2024-01-12T16:51:31+00:00 DEBUG Executed Job ‘unlink-product’ with ID 30. 2024-01-12T16:51:31+00:00 DEBUG Removed 1 jobs from the queue 2024-01-12T16:51:31+00:00 DEBUG Added 1 jobs to the queue 2024-01-12T16:51:31+00:00 NOTICE Job ‘unlink-product’ with ID 30 failed 1/3 times and will run again 2024-01-12T16:51:31+00:00 WARNING No remote ID found for local ID 789 2024-01-12T16:51:31+00:00 DEBUG Executed Job ‘unlink-product’ with ID 31. 2024-01-12T16:51:31+00:00 DEBUG Removed 1 jobs from the queue 2024-01-12T16:51:31+00:00 DEBUG Added 1 jobs to the queue 2024-01-12T16:51:31+00:00 NOTICE Job ‘unlink-product’ with ID 31 failed 2/3 times and will run again 2024-01-12T16:51:31+00:00 WARNING No remote ID found for local ID 789 2024-01-12T16:51:31+00:00 DEBUG Executed Job ‘unlink-product’ with ID 32. 2024-01-12T16:51:31+00:00 DEBUG Removed 1 jobs from the queue 2024-01-12T16:51:31+00:00 DEBUG Added 1 jobs to the queue 2024-01-12T16:51:31+00:00 NOTICE Job ‘unlink-product’ with ID 32 failed 3/3 times and will run again 2024-01-12T16:51:31+00:00 WARNING No remote ID found for local ID 789 2024-01-12T16:51:31+00:00 DEBUG Executed Job ‘unlink-product’ with ID 33. 2024-01-12T16:51:31+00:00 DEBUG Removed 1 jobs from the queue 2024-01-12T16:51:31+00:00 NOTICE Job ‘unlink-product’ with ID 33 has failed 3 times and will NOT run again 2024-01-12T16:51:34+00:00 INFO Inpsyde\Zettle\PhpSdk\Exception\InvalidBuilderPayloadException: Could not build Inpsyde\Zettle\PhpSdk\DAL\Entity\Presentation\Presentation from the given payload in /customers/2/0/c/musclemachinenutrition.nl/httpd.www/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Builder/ValidatableBuilder.php:52
Hello @mattheus,
these logs seem to be related to image sync failures and those should not affect the product sync; it should only exclude the image from syncing.
Before opening that private engagement, maybe you should create a new product with the same specs as the one that is not synchronizing and see if that syncs to Zettle? It could be that there was an issue during the initial onboarding process and that there is not really any issue with the product.
If that doesn’t show any progress, I will gladly have a look.
Kind regards,
Joosthello joost
Unfortunately it is not possible to create a new product and replace it with one product that is not Syncable, because the product has reviews that will then be lost.
Hello @mattheus,
this is not so much intended as a replacement, but more like a test to find out if it is the product details are the cause of the issue or if it is related to a failure of the system or a setting you might have missed.
If you don’t do this, also no problem, just continue to create private engagement and we’ll take a look from there.
Kind regards,
JoostI would like to create a private ticket but I don’t see an option. or you can just do it by email
Hello @mattheus,
Here are the instructions on how to open an engagement with us. Let me know if there is anything else unclear.
Kind regards,
Joost
- The topic ‘Zettle plugin when activated causing WordPress critical error’ is closed to new replies.