Get_Card error
Hi Betheme Support,
since I have activated the WooCommerce Plugin, I have a strong Issue on the side.
Do you know the error? (please see below).
WP Version 6.2.2
BeTheme Version 27.1.1
Thanks a lot,
BR
Seb
ERROR MESSAGE:
Warning: Trying to access array offset on value of type null in /mnt/web018/d3/32/53542232/htdocs/abc/wp-content/themes/betheme/functions/theme-head.php on line 433 Warning: Trying to access array offset on value of type null in /mnt/web018/d3/32/53542232/htdocs/abc/wp-content/themes/betheme/functions/theme-head.php on line 434 Warning: Trying to access array offset on value of type null in /mnt/web018/d3/32/53542232/htdocs/abc/wp-content/themes/betheme/functions/theme-head.php on line 722 Notice: Die Funktion get_cart wurde fehlerhaft aufgerufen. „Get cart“ sollte nicht vor der Action „wp_loaded“ aufgerufen werden. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, mfn_under_construction, get_template_part, locate_template, load_template, require('/themes/betheme/under-construction.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, wp_resource_hints, apply_filters('wp_resource_hints'), WP_Hook->apply_filters, Automattic\WooCommerce\Blocks\AssetsController->add_resource_hints, WC_Cart->get_cart_contents_count, WC_Cart->get_cart, wc_doing_it_wrong Weitere Informationen: Debugging in WordPress (engl.). (Diese Meldung wurde in Version 2.3 hinzugefügt.) in /mnt/web018/d3/32/53542232/htdocs/abc/wp-includes/functions.php on line 5865 Notice: Die Funktion get_cart wurde fehlerhaft aufgerufen. „Get cart“ sollte nicht vor der Action „wp_loaded“ aufgerufen werden. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, mfn_under_construction, get_template_part, locate_template, load_template, require('/themes/betheme/under-construction.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, wp_resource_hints, apply_filters('wp_resource_hints'), WP_Hook->apply_filters, Automattic\WooCommerce\Blocks\AssetsController->add_resource_hints, WC_Cart->get_cart_contents_count, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, do_action('woocommerce_cart_loaded_from_session'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->set_session, WC_Cart_Session->get_cart_for_session, WC_Cart->get_cart, wc_doing_it_wrong Weitere Informationen: Debugging in WordPress (engl.). (Diese Meldung wurde in Version 2.3 hinzugefügt.) in /mnt/web018/d3/32/53542232/htdocs/abc/wp-includes/functions.php on line 5865 Notice: Die Funktion get_cart wurde fehlerhaft aufgerufen. „Get cart“ sollte nicht vor der Action „wp_loaded“ aufgerufen werden. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, mfn_under_construction, get_template_part, locate_template, load_template, require('/themes/betheme/under-construction.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, wp_resource_hints, apply_filters('wp_resource_hints'), WP_Hook->apply_filters, Automattic\WooCommerce\Blocks\AssetsController->add_resource_hints, WC_Cart->get_cart_contents_count, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, WC_Cart_Session->get_cart_for_session, WC_Cart->get_cart, wc_doing_it_wrong Weitere Informationen: Debugging in WordPress (engl.). (Diese Meldung wurde in Version 2.3 hinzugefügt.) in /mnt/web018/d3/32/53542232/htdocs/abc/wp-includes/functions.php on line 5865 Notice: Die Funktion get_cart wurde fehlerhaft aufgerufen. „Get cart“ sollte nicht vor der Action „wp_loaded“ aufgerufen werden. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, mfn_under_construction, get_template_part, locate_template, load_template, require('/themes/betheme/under-construction.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, wp_resource_hints, apply_filters('wp_resource_hints'), WP_Hook->apply_filters, Automattic\WooCommerce\Blocks\AssetsController->add_resource_hints, WC_Cart->get_cart_contents_count, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, WC_Cart->calculate_totals, WC_Cart->is_empty, WC_Cart->get_cart, wc_doing_it_wrong Weitere Informationen: Debugging in WordPress (engl.). (Diese Meldung wurde in Version 2.3 hinzugefügt.) in /mnt/web018/d3/32/53542232/htdocs/abc/wp-includes/functions.php on line 5865 Notice: Die Funktion get_cart wurde fehlerhaft aufgerufen. „Get cart“ sollte nicht vor der Action „wp_loaded“ aufgerufen werden. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, mfn_under_construction, get_template_part, locate_template, load_template, require('/themes/betheme/under-construction.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, wp_resource_hints, apply_filters('wp_resource_hints'), WP_Hook->apply_filters, Automattic\WooCommerce\Blocks\AssetsController->add_resource_hints, WC_Cart->get_cart_contents_count, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, WC_Cart->calculate_totals, WC_Cart_Session->set_session, WC_Cart_Session->get_cart_for_session, WC_Cart->get_cart, wc_doing_it_wrong Weitere Informationen: Debugging in WordPress (engl.). (Diese Meldung wurde in Version 2.3 hinzugefügt.) in /mnt/web018/d3/32/53542232/htdocs/abc/wp-includes/functions.php on line 5865 Notice: Die Funktion get_cart wurde fehlerhaft aufgerufen. „Get cart“ sollte nicht vor der Action „wp_loaded“ aufgerufen werden. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, mfn_under_construction, get_template_part, locate_template, load_template, require('/themes/betheme/under-construction.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, wp_resource_hints, apply_filters('wp_resource_hints'), WP_Hook->apply_filters, Automattic\WooCommerce\Blocks\AssetsController->add_resource_hints, WC_Cart->get_cart_contents_count, WC_Cart->get_cart, wc_doing_it_wrong Weitere Informationen: Debugging in WordPress (engl.). (Diese Meldung wurde in Version 2.3 hinzugefügt.) in /mnt/web018/d3/32/53542232/htdocs/abc/wp-includes/functions.php on line
Notice: Die Funktion get_cart wurde fehlerhaft aufgerufen. „Get cart“ sollte nicht vor der Action „wp_loaded“ aufgerufen werden. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, mfn_under_construction, get_template_part, locate_template, load_template, require('/themes/betheme/under-construction.php'), wp_footer, do_action('wp_footer'), WP_Hook->do_action, WP_Hook->apply_filters, wp_print_footer_scripts, do_action('wp_print_footer_scripts'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Blocks\BlockTypes\MiniCart->print_lazy_load_scripts, WC_Cart->is_empty, WC_Cart->get_cart, wc_doing_it_wrong Weitere Informationen: Debugging in WordPress (engl.). (Diese Meldung wurde in Version 2.3 hinzugefügt.) in /mnt/web018/d3/32/53542232/htdocs/abc/wp-includes/functions.php on line 5865
Comments
Hey,
Please send us the WordPress dashboard and FTP access privately thru the contact form, which is on the right side at http://themeforest.net/user/muffingroup#contact, and we will check what might be the reason.
Notice!
Please attach a link to this forum discussion.
Sending incorrect or incomplete data will result in a longer response time.
Therefore, please ensure that the data you are sending is complete and correct.
Thanks