• When I push the Add To Cart button on Favorite Page, I get the message

    Fatal error: Uncaught Error: Call to a member function is_type() on array in class.yith-wcwl-ui.php:200
    Stack trace:
    #0 \wp-includes\class-wp-hook.php(286): YITH_WCWL_UI::alter_add_to_cart_button(‘apply_filters(‘<a href=”https:…’, Array)

    #2 \wp-content\themes\cleo\woocommerce\loop\add-to-cart.php(36): apply_filters(‘woocommerce_loo…’, ‘<a href=”https:…’, Array)

    #3 \wp-content\plugins\woocommerce\includes\wc-core-functions.php(210): include(‘C:\\OSPanel\\doma…’)

    #4 C:\OSPanel\domains\blablabla\wp-content\plugins\woocommerce\includes\wc-template-functions.php(1207): wc_get_template(‘loop/add-to-car…’, Array)

    #5 C:\OSPanel\domains\blablabla\wp-content\plugins\yith-woocommerce-wishlist\templates\wishlist-view.php(194): woocommerce_template_loop_add_to_cart()

    #6 C:\OSPanel\domains\blablabla\wp-co in C:\OSPanel\domains\blablabla\wp-content\plugins\yith-woocommerce-wishlist\includes\class.yith-wcwl-ui.php on line 200

    • This topic was modified 6 years, 6 months ago by sem1.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hello there,
    hope you are doing well! ??

    Could you give us more information to try to replicate your issue in our installation?

    What type of product are you adding to the Wishlist, simple, variable, grouped?

    Let us know any news.

    Have a nice day!

    Thread Starter sem1

    (@sem1)

    Hello!

    I added a simple product https://joxi.ru/a2XGl6XS17563m

    Plugin Author YITHEMES

    (@yithemes)

    Hello,

    We have been doing some tests in our WordPress installations and everything seems to be working fine, we cannot replicate your issue.

    We suggest you to deactivate all the plugins and just leave “WooCommerce” and “Wishlist” and also activate the theme “Twenty sixteen”. With this configuration you should have a basic WordPress installation based on “WooCommerce” and “Wishlist” which should work properly. So, from this point, you could try to activate your themes and plugins to see if there is a conflict when they are activated and localize the issue to find a solution.

    Thank you so much for your interest.
    Have a good day.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WC3.4.5Fatal error: Uncaught Error: Call to a member function is_type() on array’ is closed to new replies.