• Resolved darkcherrycreative

    (@darkcherrycreative)


    I’ve got various error messages popping up in the sync status:

    “can’t update products of type simple” being one of them

    Also full stock updates are not being done every 30 mins as set up on the config, i needed to select to run a full update from the settings menu.

    When products are imported some of them are ticked for “stock management”, some are not. If there is no number listed in the stock on square, it marks the item as out of stock on woocommerce, even if the item is marked as “available” on square.

    How can i resolve these issues? Happy to provide store login details and a log file if you want to contact me directly.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for providing the details. Based on what you described:

    1. “Can’t update products of type simple” error – This usually appears if the plugin encounters products in WooCommerce that don’t match the expected product type or have missing/incorrect SKU or ID mapping.
    2. Full stock updates not running automatically – This suggests that scheduled actions (cron jobs) may not be executing correctly on your site. Manually triggering a full update works because it bypasses the schedule.

    To help you further, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:

    • System Status Report which you can find via WooCommerce > Status
    • Fatal error logs (if any) under WooCommerce > Status > Logs.

    Please use https://pastebin.com/ or https://gist.github.com/ and share a link to that paste in reply here. Once we have more information, we’ll be able to assist you further.

    Stock management inconsistencies:

    Could you please share the complete page screenshot of the square setting you have set on your site? you can use the following tool for screenshot: https://snipboard.io

    Thread Starter darkcherrycreative

    (@darkcherrycreative)

    Good afternoon, Yes of course, requested assets are included below:

    https://pastebin.com/c02YFXF9

    https://snipboard.io/ukGyUh.jpg

    https://snipboard.io/qDH8C3.jpg

    All products have been created directly from Square sync, so there should be no inconsistencies as they were all created with the square plugin. The schedule is triggering via cron as intended, however this sync doesn’t remove products from the site that have been removed from the site. I needed to trigger a full sync from the settings page for that to happen.

    Hi @darkcherrycreative,

    Thank you for sharing the requested details and the screenshot. From what I can see, there are three main issues: missing SKUs, products using variable pricing, and a category import error.

    First, please edit each product in Square to ensure every item has a unique SKU. No two products should share the same or identical SKU—that’s what’s causing the error.

    Second, WooCommerce does not support Square’s variable pricing feature. You’ll need to either set a fixed price for each variation or remove those products from syncing.

    Once you address these two issues, the category import error should resolve as well, since many of the affected products may belong to those categories. Please make these changes and try syncing again.

    Thread Starter darkcherrycreative

    (@darkcherrycreative)

    Thanks, i’ll look into these points. Could you comment on why the full sync is only completed when i run it from settings? From the setup i’ve got this should run every 30 mins but it doesn’t appear to.

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    I understand your concern. I checked the System Status Report, and I can see that Daily Cron is showing as Not scheduled, which explains why you need to manually run the sync. It seems that something is preventing WP-Cron from running on your site.

    I noticed that you are using the Wordfence Security plugin, which could be causing this issue. For testing purposes, could you temporarily deactivate that plugin and see if it resolves the problem?

    Additionally, you may want to contact your hosting provider to check if anything is blocking WP-Cron or to ask them to enable a server-side cron job to ensure scheduled tasks run correctly.

    Please let us know what you find!

    Thread Starter darkcherrycreative

    (@darkcherrycreative)

    Many thanks, i can’t disable Wordfence, however this is installed on all sites and i’ve not experienced this blocking any cron jobs. Could you give me the cron job details so i can set up a manual cron job?

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!
    Thanks for the update! I understand that you can’t disable Wordfence and that it hasn’t caused issues on your other sites.

    Since WP-Cron relies on site traffic to trigger scheduled tasks, it can sometimes fail on low-traffic sites or if the server configuration limits it. Setting up a real server-side cron job is the most reliable way to ensure the full sync runs automatically.

    I recommend contacting your hosting provider and asking them to enable a server-side cron job to ensure scheduled tasks run reliably. This often resolves issues with WP-Cron not triggering automatically.

    In the meantime, please go to WooCommerce → Status → Scheduled Actions and check if any actions related to the Square plugin are pending or failed. This will help identify whether the sync is being blocked or delayed.

    Once you’ve done that, let us know what you find so we can advise further.

    Thread Starter darkcherrycreative

    (@darkcherrycreative)

    I just checked the scheduled tasks, the following have failed:

    1. 2025-11-10 14:41:00 +0000
      action created
    2. 2025-11-10 14:41:19 +0000
      action started via WP Cron
    3. 2025-11-10 14:43:27 +0000
      unexpected shutdown: PHP Fatal error Maximum execution time of 30 seconds exceeded in /var/www/vhosts/nervous-wozniak.87-106-101-194.plesk.page/httpdocs/wp-includes/class-wp-image-editor-imagick.php on line 480
    1. 2025-11-05 15:59:32 +0000
      action created
    2. 2025-11-05 15:59:32 +0000
      action started via Async Request
    3. 2025-11-05 16:01:49 +0000
      unexpected shutdown: PHP Fatal error Maximum execution time of 30 seconds exceeded in /var/www/vhosts/nervous-wozniak.87-106-101-194.plesk.page/httpdocs/wp-includes/class-wp-image-editor-imagick.php on line 480

    The following tasks are in “pending” state: https://prnt.sc/43eAVxOWk274

    Happy to set up server side cron tasks in Plesk if needed, just need the task details if that’s the case.

    Thank you for getting back @darkcherrycreative,

    The error you shared, PHP Fatal error: maximum execution time of 30s exceeded, indicates that your current maximum execution time of 30 seconds isn’t sufficient. You can try increasing it to 60 seconds, or even 300 seconds for better results.

    I’ve reviewed your system status report and can confirm that the execution time is set to 30 seconds, which is quite low for a site running resource-heavy plugins and cron-dependent plugins like WooCommerce.

    Server Info: Apache
    Server Architecture: Linux 6.8.0-51-generic x86_64
    PHP Version: 8.3.28
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 8.5.0
    OpenSSL/3.0.13
    Thread Starter darkcherrycreative

    (@darkcherrycreative)

    I’ve changed these settings and increased the execution time to 300 seconds – the failed tasks have all been cleared so will leave it for a few days and check results, many thanks

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thanks for the update! Glad to hear the failed tasks have cleared after increasing the execution time. That’s a good sign.

    Go ahead and monitor it over the next few days, and if anything unusual comes up or the issue returns, just let us know, we’ll be happy to take another look.

    If you’re happy with the support you received today, would you consider leaving us a quick review? It really helps us out: https://ww.wp.xz.cn/support/plugin/woocommerce-square/reviews/#new-post

    Plugin Support Ejay F – a11n

    (@ejayfernandes)

    Hi @darkcherrycreative,

    Since we haven’t heard back in a while, I’ll mark this as resolved for now. We’d appreciate a review if and when you have the time! Feel free to use the link shared above by @shahzeenfarooq. Thank you!

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

You must be logged in to reply to this topic.