• Hello!

    Seeing PHP Warning in debug and contacts won’t be subscribed to the list upon checkout. Something to do with product categories.

    Debug info:

    [07-Feb-2024 11:19:58 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/woo-mailerlite/includes/classes/process/ProductProcess.php on line 177

    [07-Feb-2024 11:20:56 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/customer/www/mywebsite.com/public_html/wp-content/plugins/woo-mailerlite/includes/classes/process/ProductProcess.php on line 177

    Line 177: foreach ($categories as $category) {

    Product is variable subscription and has one category defined.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author MailerLite

    (@mailerlite)

    Hi @uldix,

    Thank you for the details, we will investigate that, could you also please share with us your account name?

    Thank you,
    MailerLite Team

    Thread Starter Uldis

    (@uldix)

    Hello! Sorry for late replay. Is it possible to send it privately? And also can you please point out contact info how I could reach out somebody about bugs in MailerLite platform itself and to discuss some details about platform functionality. I have some recommendations I would like to share. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Warning: Invalid argument supplied for foreach()’ is closed to new replies.