• Resolved trevellfr

    (@trevellfr)


    Hi all !

    Since fews days I have this kind of errors in the log :

    2025-06-12T00:04:50+00:00 Erreur Invalid limit type passed to wc_get_related_products. Expected integer, got string with value: “4”

    The error happen thousand time a days !

    Can I do something ?

    WordPress 6.8.1

    WooCommerce 9.9.3

    Best, Bruno.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Moses M. (woo-hc)

    (@mosesmedh)

    Hi @trevellfr,

    Thank you for reaching out! I understand how frustrating it can be to see your logs filled with this type of notice.

    To help us better understand what’s going on, could you please share your System Status Report? You can get it from WooCommerce > Status > Get system report > Copy for support, and then paste it on gist.github.com and share the link with us.

    This issue is likely caused by a conflict with a plugin, block, or theme — usually triggered when a product page loads or related products are fetched, and it can be made worse by high traffic or bots crawling your site.

    I look forward to reviewing your System Status Report!

    Thread Starter trevellfr

    (@trevellfr)

    Hi !

    The link :

    https://gist.github.com/moarf56/4befab0e30ba41125cb80d20b70d5ab6

    For your information I made a clean of the database few days ago to fix an critical error :

    https://wordpress.org/support/topic/critique-allowed-memory-size/

    Best, Bruno

    I’m getting the same error and also have Divi.

    I temporarily disabled the ‘Related Products’ module on our primary product page template and I haven’t had it log any further errors since, so something in the new WC update broke the Divi module for related products.

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi @trevellfr

    Thank you for sharing the System Status Report.

    I’ve reviewed the report and noticed that you’re using the Divi theme. As mentioned by @beaviuscaesar, they were able to resolve the issue by removing the Divi Related Products module from the page template — this fixed the error on their end.

    Could you please try disabling that module as well and check if the issue persists?

    If that doesn’t help, for testing purposes, try switching to the Storefront theme and see if the issue still occurs.

    If the issue is resolved after changing the theme, I recommend reaching out to the Divi support team here:
    👉 https://www.elegantthemes.com/contact/
    They should be able to provide further assistance with the Divi-specific conflict.

    Let us know how it goes!



    Hi @beaviuscaesar

    Thank you for confirming that the issue is related to the Divi Product Module not working with the latest version. I would suggest creating a support ticket with Divi Support and requesting their assistance — they should be able to help you resolve the issue.

    Thread Starter trevellfr

    (@trevellfr)

    @shahzeenfarooq @beaviuscaesar Thank you, test in progress I come back in few hours.

    Thread Starter trevellfr

    (@trevellfr)

    @shahzeenfarooq @beaviuscaesar Just to inform you the log disapear since I remove the Divi Related Products module.

    I contact Divi to fix thx all.

    Hi @trevellfr,

    Thanks for letting us know! It’s great that removing the Divi Related Products module cleared up the log issue. Sounds like you’re on the right track working with Divi’s team.

    If you have a moment, we’d really appreciate a review for WooCommerce here: https://wordpress.org/support/plugin/woocommerce/reviews/#new-post

    Don’t hesitate to reach out if you need anything else!

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

You must be logged in to reply to this topic.