• Resolved Deepak

    (@d88pak)


    Hi Team,

    YITH WooCommerce Wishlist comes bundled with my theme. I have recently updated to version 4.0 and it causes critical error on the website. I have rolled back the plugin to 3.38 and working fine for now.

    Following are the details

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.6.2
    Active theme: Electro Child (version 3.4.4)
    Current plugin: YITH WooCommerce Wishlist (version 4.0.0)
    PHP version 8.1.2-1ubuntu2.19



    Error Details
    =============
    An error of type E_ERROR was caused in line 132 of the file /var/www/kinaun/wp-content/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl-install.php. Error message: Uncaught Error: Call to undefined function wc_create_page() in /var/www/kinaun/wp-content/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl-install.php:132
    Stack trace:
    #0 /var/www/kinaun/wp-content/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl-install.php(76): YITH_WCWL_Install->add_pages()
    #1 /var/www/kinaun/wp-content/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl-install.php(49): YITH_WCWL_Install->init()
    #2 /var/www/kinaun/wp-includes/class-wp-hook.php(324): YITH_WCWL_Install->maybe_install()
    #3 /var/www/kinaun/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #4 /var/www/kinaun/wp-includes/plugin.php(517): WP_Hook->do_action()
    #5 /var/www/kinaun/wp-settings.php(700): do_action()
    #6 /var/www/kinaun/wp-config.php(139): require_once('...')
    #7 /var/www/kinaun/wp-load.php(50): require_once('...')
    #8 /var/www/kinaun/wp-blog-header.php(13): require_once('...')
    #9 /var/www/kinaun/index.php(17): require('...')
    #10 {main}
    thrown

    Kindly fix this and release the new version.

    Thanks!

    Deepak

Viewing 3 replies - 1 through 3 (of 3 total)
  • josmoody

    (@josmoody)

    I can see that your PHP version is:

    PHP version 8.1.2-1ubuntu2.19

    I can confirm that PHP 8.2.24 works well with version 4.0 and is very stable. It may be worth a try to upgrade your PHP, as active support for your current version ended about a year ago.

    Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,
    thanks for contacting us!

    I don’t get that error when updating the plugin. I recommend you do the following:

    • Remove the plugin and reinstall and activate it.
    • If this is still the case, check if you have any overridden templates from our plugin in your theme and delete them.

    Could you check it, please?

    Best regards.

    Thread Starter Deepak

    (@d88pak)

    Hi @juaancmendez,

    I just did that as you suggested. Seems like plugin has been updated. I can see that it is updated just 6 hours before. It is working fine for me.

    Thanks!

    • This reply was modified 3 weeks, 5 days ago by Deepak.
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.