Home Forums Space themes support forum wc_get_related_products error log in woocommerce logs

wc_get_related_products error log in woocommerce logs

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #675126

    patrik.varga
    Participant

    Hi! I’m found a strange error line (lots of lines…) in wc_get_related_products log. It is make a new log file every day.
    The error message is:
    2025-07-08T00:19:03+00:00 ERROR Invalid limit type passed to wc_get_related_products. Expected integer, got string with value: “6”

    I asked Ai what is this error and how can I fix it. Its answered I have to fix it in the theme files.

    #675461

    Luke Nielsen
    Keymaster

    Hello,

    Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?

    Kind Regards

    #675462

    patrik.varga
    Participant

    I’m so-sorry, I cant, because I dont have server side account, and its an LIVE site. So I mustn’t change the theme or others.
    So what I can do it for you, make a full “backup” pack with all-in-one export plugin and share this link, so you can make a test site with it.

    #675665

    Luke Nielsen
    Keymaster

    Hello,

    Please apply the 675661 patch to fix that problem.

    Then recheck the issue and let me know.

    Kind Regards

    #675729

    patrik.varga
    Participant

    Thank Luke!
    I will check this, and come back if the problem is stay.

    #675799

    Luke Nielsen
    Keymaster

    Okay, I will wait for your response.

    Thank you for your time.

    Kind Regards

Viewing 6 posts - 1 through 6 (of 6 total)