• This plugin is causing a critical error when adding an item to the cart, and prevents people from checking out. The error log:

    Message: Uncaught Error: Call to a member function is_type() on bool in /home/.cloudwaysapps.com/kayrhancwc/public_html/wp-content/plugins/force-sell-for-woocommerce/includes/force-sell-types/add_force_sell.php:468
    Stack trace:
    #0 /home/.cloudwaysapps.com/kayrhancwc/public_html/wp-content/plugins/force-sell-for-woocommerce/includes/force-sell-types/add_force_sell.php(140): berocket_force_sell_add_next->woocommerce_variation_cart_data()
    #1 /home/.cloudwaysapps.com/kayrhancwc/public_html/wp-includes/class-wp-hook.php(310): berocket_force_sell_add_next->condition_mode_normal()
    #2 /home/.cloudwaysapps.com/kayrhancwc/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #3 /home/.cloudwaysapps.com/kayrhancwc/public_html/wp-content/plugins/force-sell-for-woocommerce/includes/force-sell-types/add_force_sell.php(236): apply_filters()
    #4 /home/.cloudwaysapps.com/kayrhancwc/public_html/wp-includes/class-wp-hook.php(310): berocket_force_sell_add_next->check_result_validate_adFile: /home/.cloudwaysapps.com/kayrhancwc/public_html/wp-content/plugins/force-sell-for-woocommerce/includes/force-sell-types/add_force_sell.php

Viewing 1 replies (of 1 total)
  • Thread Starter solutioinc

    (@solutioinc)

    I am still having issues unfortunately. I’ve disabled all other plugins and reset to the default WordPress theme, but the error persists:

    Message: Uncaught Error: Call to a member function is_type() on bool in /home/1001744.cloudwaysapps.com/kayrhancwc/public_html/wp-content/plugins/force-sell-for-woocommerce/includes/force-sell-types/add_force_sell.php:468
    Stack trace: 0 /home/1001744.cloudwaysapps.com/kayrhancwc/public_html/wp-content/plugins/force-sell-for-woocommerce/includes/force-sell-types/add_force_sell.php(140): berocket_force_sell_add_next->woocommerce_variation_cart_data() 1 /home/1001744.cloudwaysapps.com/kayrhancwc/public_html/wp-includes/class-wp-hook.php(324): berocket_force_sell_add_next->condition_mode_normal() 2 /home/1001744.cloudwaysapps.com/kayrhancwc/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() 3 /home/1001744.cloudwaysapps.com/kayrhancwc/public_html/wp-content/plugins/force-sell-for-woocommerce/includes/force-sell-types/add_force_sell.php(236): apply_filters() 4 /home/1001744.cloudwaysapps.com/kayrhancwc/public_html/wp-includes/class-wp-hook.php(324): berocket_force_sell_add_next->check_result_validate_ad

    File: /home/1001744.cloudwaysapps.com/kayrhancwc/public_html/wp-content/plugins/force-sell-for-woocommerce/includes/force-sell-types/add_force_sell.php

    The server is on PHP 7.4. Does it need to be 8.0?

Viewing 1 replies (of 1 total)
  • The topic ‘Critical error’ is closed to new replies.