Title: Zettle plugin when activated causing WordPress critical error
Last modified: January 12, 2024

---

# Zettle plugin when activated causing WordPress critical error

 *  Resolved [Mati](https://wordpress.org/support/users/mattheus/)
 * (@mattheus)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/zettle-plugin-when-activated-causing-wordpress-critical-error-2/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fzettle-plugin-when-activated-causing-wordpress-critical-error-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Syde Joost](https://wordpress.org/support/users/joostvandevijver/)
 * (@joostvandevijver)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/zettle-plugin-when-activated-causing-wordpress-critical-error-2/#post-17343197)
 * Hello [@mattheus](https://wordpress.org/support/users/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](https://wordpress.org/themes/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](https://woocommerce.com/document/how-to-test-for-conflicts/).
 * If this does not identify what is causing this, you can always still [open a private engagement with us](https://zettle.inpsyde.com/docs/request-support/),
   and share the logs with us for us to have a look at and see what else we can 
   do.
 * Kind regards,
   Joost
 *  Thread Starter [Mati](https://wordpress.org/support/users/mattheus/)
 * (@mattheus)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/zettle-plugin-when-activated-causing-wordpress-critical-error-2/#post-17343771)
 * Thanks 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](https://prnt.sc/ebm0tfmF5wNQ)
   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](https://prnt.sc/3EAsXBC556Yb)
   is it also possible to publish bundled products in zettle?
    -  This reply was modified 2 years, 4 months ago by [Mati](https://wordpress.org/support/users/mattheus/).
    -  This reply was modified 2 years, 4 months ago by [Mati](https://wordpress.org/support/users/mattheus/).
 *  Plugin Support [Syde Joost](https://wordpress.org/support/users/joostvandevijver/)
 * (@joostvandevijver)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/zettle-plugin-when-activated-causing-wordpress-critical-error-2/#post-17343947)
 * Hello [@mattheus](https://wordpress.org/support/users/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 u](https://zettle.inpsyde.com/docs/request-support/)
   s, in order to not share details on a public forum.
 * Kind regards,
   Joost
 *  Thread Starter [Mati](https://wordpress.org/support/users/mattheus/)
 * (@mattheus)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/zettle-plugin-when-activated-causing-wordpress-critical-error-2/#post-17344414)
 * clearly 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
 *  Plugin Support [Syde Joost](https://wordpress.org/support/users/joostvandevijver/)
 * (@joostvandevijver)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/zettle-plugin-when-activated-causing-wordpress-critical-error-2/#post-17344497)
 * Hello [@mattheus](https://wordpress.org/support/users/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,
   Joost
 *  Thread Starter [Mati](https://wordpress.org/support/users/mattheus/)
 * (@mattheus)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/zettle-plugin-when-activated-causing-wordpress-critical-error-2/#post-17344536)
 * hello 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.
 *  Plugin Support [Syde Joost](https://wordpress.org/support/users/joostvandevijver/)
 * (@joostvandevijver)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/zettle-plugin-when-activated-causing-wordpress-critical-error-2/#post-17346407)
 * Hello [@mattheus](https://wordpress.org/support/users/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,
   Joost
 *  Thread Starter [Mati](https://wordpress.org/support/users/mattheus/)
 * (@mattheus)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/zettle-plugin-when-activated-causing-wordpress-critical-error-2/#post-17347388)
 * I would like to create a private ticket but I don’t see an option. or you can
   just do it by email
 *  Plugin Support [Syde Joost](https://wordpress.org/support/users/joostvandevijver/)
 * (@joostvandevijver)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/zettle-plugin-when-activated-causing-wordpress-critical-error-2/#post-17348197)
 * Hello [@mattheus](https://wordpress.org/support/users/mattheus/),
 * Here are [the instructions](https://zettle.inpsyde.com/docs/request-support/)
   on how to open an engagement with us. Let me know if there is anything else unclear.
 * Kind regards,
   Joost

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

The topic ‘Zettle plugin when activated causing WordPress critical error’ is closed
to new replies.

 * ![](https://ps.w.org/zettle-pos-integration/assets/icon-256x256.png?rev=2694076)
 * [PayPal Zettle POS for WooCommerce](https://wordpress.org/plugins/zettle-pos-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zettle-pos-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zettle-pos-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/zettle-pos-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zettle-pos-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zettle-pos-integration/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Syde Joost](https://wordpress.org/support/users/joostvandevijver/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/zettle-plugin-when-activated-causing-wordpress-critical-error-2/#post-17348197)
 * Status: resolved