False Flag for “fatal error”
-
I’ve installed this plugin on 13 sites, and only one throws an error in the logs. The error is marked as “fatal,” but the site’s front and backend are fine.
I’ve disabled the plugin on the site for now (even though everything seemed to be fine).
Here is a copy of the log data (redacted URL):2023/08/30 16:32:34 [error] 115596#115596: *657299 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: Ginger_MO::translate(): Argument #1 ($text) must be of type string, null given, called in /www/examplecom_444/public/wp-content/plugins/performant-translations/lib/class-performant-translations-compat-provider.php on line 125 and defined in /www/examplecom_444/public/wp-content/plugins/performant-translations/lib/class-ginger-mo.php:219
Stack trace:
#0 /www/examplecom_444/public/wp-content/plugins/performant-translations/lib/class-performant-translations-compat-provider.php(125): Ginger_MO->translate(NULL, ”, ‘default’)
#1 /www/examplecom_444/public/wp-includes/l10n.php(186): Performant_Translations_Compat_Provider->translate(NULL)
#2 /www/examplecom_444/public/wp-includes/l10n.php(297): translate(NULL, ‘default’)
#3 /www/examplecom_444/public/wp-content/plugins/woocommerce-tax-display-by-country/src/lib/classes/settings/settings.php(156): __(NULL)
#4 /www/examplecom_444/public/wp-content/plugins/woocommerce-tax-display-by-country/s” while reading response header from upstream, client: 92.247.181.31, server: https://www.example.com, request: “GET /news/feed/ HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php8.1-fpm-examplecom.sock:”, host: “www.example.com:29543”, referrer: “https://www.example.com/”
I do have this plugin installed on another WooCommerce site and there are no issues at all there.
Thanks in advance,
Simon
- The topic ‘False Flag for “fatal error”’ is closed to new replies.