Log full of errors
-
Hello,
my server log (apache) is full of errors, and I think they are related to your plugin. I will copy one below, but there are hundreds (perhaps thousands) of tehse.
.867114 [NOTICE] [2489571] [T0] [127.0.0.1:51718-21#APVH_website.nl:443] [STDERR] get_cart was called incorrectly. ‘Get cart’ dient niet te worden aangeroepen voor de wp_loaded actie. Backtrace: 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, Automattic\WooCommerce\Blocks\BlockTypesController->register_blocks, Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->__construct, Automattic\WooCommerce\Blocks\BlockTypes\Checkout->initialize, Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->initialize, Automattic\WooCommerce\Blocks\BlockTypes\Checkout->register_block_type_assets, Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->register_block_type_assets, Automattic\WooCommerce\Blocks\Assets\Api->register_script, apply_filters(‘woocommerce_blocks_register_script_dependencies’), WP_Hook->apply_filters, Automattic\WooCommerce\Blocks\Payments\Api->add_payment_method_script_dependencies, Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry->get_all_active_payment_method_script_dependencies, Automattic\WooCommerce\Blocks\Payments\Integrations\AbstractPaymentMethodType->get_payment_method_script_handles_for_admin, Mollie\WooCommerce\Assets\MollieCheckoutBlocksSupport->get_payment_method_script_handles, Mollie\WooCommerce\Assets\MollieCheckoutBlocksSupport::localizeWCBlocksData, Mollie\WooCommerce\Assets\MollieCheckoutBlocksSupport::gatewayDataForWCBlocks, WC_Payment_Gateways->get_available_payment_gateways, Mollie\WooCommerce\Subscription\MollieSubscriptionGateway->is_available, Mollie\WooCommerce\Gateway\MolliePaymentGateway->is_available, Mollie\WooCommerce\Gateway\MolliePaymentGateway->cartAmountAvailable, WC_Payment_Gateway->get_order_total, WC_Legacy_Cart->__get, WC_Cart->get_total, apply_filters(‘woocommerce_cart_get_total’), WP_Hook->apply_filters, Montapacking::shipping_total, Montapacking::get_shipping_total, WC_Cart->get_cart, wc_doing_it_wrong. This message was added in version 2.3.\n
- The topic ‘Log full of errors’ is closed to new replies.