• Resolved slkaz

    (@slkaz)


    hello,
    Wordpress has reported a plugin error when I chose “widget” form left menu on wordpress admin panel

    WordPress version 5.8
    Current theme: Divi Child (version 1.0.0)
    Current plugin: Cart All In One For WooCommerce (version 1.1.0.9)
    PHP version: 7.4.21

    Error details
    ===================
    An error of type E_ERROR was caused on line 47 of the file / ... / wp-content / plugins / woo- cart-all-in-one / includes / front end / menu-cart.php. Error message: Uncaught Error: Call to a member function is_empty () on null in / ... / wp-content / plugins / woo- cart-all-in-one / includes / front end / menu- cart.php: 47
    Stack trace:
    # 0 /..../ wp-includes / class-wp-hook. php (303): VI_WOO_CART_ALL_IN_ONE_Fronten d_Menu_Cart-> create_menu_cart ( '', Object (stdClass))
    # 1 / .../wp-includes/plugin.php(189): WP_Hook->apply_filters('', Array)
    #2 / ...s/wp-includes/nav-menu-template.php(259): apply_filters('wp_nav_menu_ite...', '', Object(stdClass))
    #3 / .../wp-includes/widgets/class-wp-nav-menu-widget.php(109): wp_nav_menu(Object(stdClass))
    #4 / .../wp-includes/class-wp-widget.php(393): WP_Nav_Menu_Widget->widget(Array, Array)
    #5 / .../wp-includes/widgets.php(1977): WP_Widget->display_callback(Array, Array)
    #6 / .../wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php(630)
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mivtt

    (@mivtt)

    Hi,

    Please try to check when activating with your parent theme, is this error still noticed? If this still happens, please contact us via support@villatheme.com to get further assistance.

    Best regards

    Was there a fix to this issue as i am experiencing similar problem when accessing widgets in admin. Site is fully up to date with all released versions of plugin, wordpress and woocommerce.

    Error Details
    =============
    An error of type E_ERROR was caused in line 24 of the file /home/modelmak/public_html/wp-content/plugins/woocommerce/templates/cart/mini-cart.php. Error message: Uncaught Error: Call to a member function is_empty() on null in /home/modelmak/public_html/wp-content/plugins/woocommerce/templates/cart/mini-cart.php:24
    Stack trace:
    #0 /home/modelmak/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
    #1 /home/modelmak/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(2215): wc_get_template('cart/mini-cart....', Array)
    #2 /home/modelmak/public_html/wp-content/plugins/woo-cart-all-in-one/includes/frontend/menu-cart.php(69): woocommerce_mini_cart()
    #3 /home/modelmak/public_html/wp-includes/class-wp-hook.php(303): VI_WOO_CART_ALL_IN_ONE_Frontend_Menu_Cart->create_menu_cart('', Object(stdClass))
    #4 /home/modelmak/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters('', Array)
    #5 /home/modelmak/public_html/wp-includes/nav-menu-template.php(259): apply_filters('wp_nav_menu_ite...', '', Object(stdClass))
    #6 /home/modelmak/public_html/wp-includes/widgets/class-wp-nav-menu-widget.php(109): wp_nav_menu(Objec
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wordpress error’ is closed to new replies.