Many PHP errors
-
Hi there,
Our error logs are being spammed with this:
2025/09/11 10:09:06 [error] 61710#61710: *278532 FastCGI sent in stderr: “PHP message: get_cart was called incorrectly. Get cart should not be called before the wp_loaded action. Backtrace: require_once(‘wp-load.php’), require_once(‘/path/to/wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Stripe->maybe_toggle_payment_methods, WC_Stripe->maybe_deactivate_bnpls, WC_Stripe_Helper::has_gateway_plugin_active, WooCommerce->__get, WooCommerce->payment_gateways, WC_Payment_Gateways::instance, WC_Payment_Gateways->__construct, WC_Payment_Gateways->init, WC_TP_Gateway->__construct, WC_TP_Gateway->update_payment_address_details, WC_Cart->get_cart, wc_doing_it_wrong. This message was added in version 2.3” while reading response header from upstream, client: 193.117.143.66, server: http://www.example.org.uk, request: “POST /wp/wp-admin/admin-ajax.php HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php8.1-fpm-example.sock:”, host: “www.example.org.uk:23884”, referrer: “https://www.example.org.uk/wp/wp-admin/edit.php?post_type=page&page=cms-tpv-page-page”
The topic ‘Many PHP errors’ is closed to new replies.