• Resolved ngstarlord

    (@ngstarlord)


    I’m getting there error message when I go to the wishlist page:

    Warning: count(): Parameter must be an array or an object that implements Countable in /home/g/gilberts/www/ishokuju.se/wp-content/themes/porto/woocommerce/wishlist-view.php on line 86

    How do I fix this?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi @ngstarlord

    I tested plugin with Porto theme on my local installation, but I cannot replicate the issue
    I don’t think this is something related to the theme, but I’d like to be sure before proceeding further

    Do you think you could temporarly rename wishlist-view.php template in wp-content/themes/porto/woocommerce/ to wishlist-view.php.bak and see if this solves the issue?
    Please, note that this may change final appearance of the wishlist page, so I suggest you to run this test on a staging installation, to avoid affecting your customers experience

    • This reply was modified 5 years, 3 months ago by YITHEMES.
    Thread Starter ngstarlord

    (@ngstarlord)

    Hi! Yes It did remove the error message. But now products are not being added to the wishlist. Any thoughts on that?

    Plugin Author YITHEMES

    (@yithemes)

    This result do not match with what I get with my current version of Porto, so please consider that I’m just proceeding for trial and error

    Next test that I’d like you to perform is applying same changes described above to wishlist.php file bundled with your theme: locate it in wp-content/themes/porto/woocommerce/ and rename it to wishlist.php.bak

    Thread Starter ngstarlord

    (@ngstarlord)

    Now It suddenly worked. Thanks! ??

    • This reply was modified 5 years, 3 months ago by ngstarlord.
    Plugin Author YITHEMES

    (@yithemes)

    You are welcome!

    We are doing our best to improve our plugins. Our target is to develop and release the best free plugins for WooCommerce, but to achieve this we need your help. Please leave a good review to support us and help our growth ??

    • This reply was modified 5 years, 3 months ago by YITHEMES.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Parameter must be an array or an object’ is closed to new replies.