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

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.