Warnings/Fatals in blocks.php
-
Seeing a bunch of errors recently which I think are coming from this plugin. It’s Woocommerce with Revolut as a payment provider and Flexible Checkout Fields using Divi as a theme.
2024/07/17 08:39:43 [error] 79514#79514: *728573 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "required" in /www/<client>_544/public/wp-content/plugins/flexible-checkout-fields/classes/plugin.php on line 525; PHP message: PHP Warning: Undefined array key "required" in /www/<client>_544/public/wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 1586" while reading response header from upstream, client: 78.19.35.232, server: <client>.com, request: "POST /?wc-ajax=revolut_payment_request_create_order HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.2-fpm-<client>.sock:", host: "<client>.com:61669", referrer: "https://<client>.com/product/taster-pack/"
2024/07/17 09:06:34 [error] 79514#79514: *729156 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "required" in /www/<client>_544/public/wp-content/plugins/flexible-checkout-fields/classes/plugin.php on line 525; PHP message: PHP Warning: Undefined array key "required" in /www/<client>_544/public/wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 1586; PHP message: PHP Fatal error: Uncaught TypeError: str_contains(): Argument #1 ($haystack) must be of type string, array given in /www/<client>_544/public/wp-includes/blocks.php:1409
Stack trace:
0 /www/<client>_544/public/wp-includes/blocks.php(1409): str_contains(Array, '<!--')
1 /www/<client>_544/public/wp-includes/formatting.php(5227): filter_block_content(Array, Array, Array)
2 /www/<client>_544/public/wp-includes/class-wp-hook.php(324): wp_pre_kses_block_attributes(Array, Array, Array)
3 /www/<client>_544/public/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
4 /www/<client>_544/public/wp-includes/kses.php(946): apply_filters('pre_kses', Array, Array, Array)
5 /www/<client>_544/public/wp-includes/kses.php(754): wp_kses_hook(Array, Array, Array)
6 /www/<client>_544/public/wp-content/plugins/woocommerce/includes/wc-notice-functions.php(289): wp_kses(Array, Array)
7 /www/<client>_544/public/wp-content/plugins/woocommerce/templates/notices/err" while reading response header from upstream, client: 78.19.35.232, server: <client>.com, request: "GET /product/taster-pack/?_rp_s=true&_rp_oid=1c211efd-31eb-4d57-9892-f4bd6f85631f HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.2-fpm-<client>.sock:", host: "<client>.com:61669"2024/07/17 09:07:42 [error] 79514#79514: *729174 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "required" in /www/<client>_544/public/wp-content/plugins/flexible-checkout-fields/classes/plugin.php on line 525; PHP message: PHP Warning: Undefined array key "required" in /www/<client>_544/public/wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 1586" while reading response header from upstream, client: 78.19.35.232, server: <client>.com, request: "POST /?wc-ajax=revolut_payment_request_create_order HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.2-fpm-<client>.sock:", host: "<client>.com:61669", referrer: "https://<client>.com/product/taster-pack/"
- You must be logged in to reply to this topic.