WPIntell

Source evidence

False Flag for “fatal error”

Performant Translations · support · 2023-08-30T18:35:00+00:00

mixedsentiment
highseverity
0.95relevance
6replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 35 rows with source links

17.1% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
harpo1984 resolved
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: http://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 Interesting! This „woocommerce-tax-display-by-country“ plugin is definitely doing something wrong, I‘ll have to check it out. But we should be able to work around it. Expect a new 1.0.2 release this week. This reply was modified 2 years, 9 months ago by Pascal Birchler . @swissspidy Would you like me to speak to the developer? Would you like me to send you a copy of the plugin for you to look at? (If so, let me know the best way to do that). Thanks in advance! @harpo1984 Yes, sending a copy would be helpful. I just pinged you on Slack, you could share it there. Same error triggered from broken-link-checker. Passed null to esc_attr_e Which does not have strict type checking. broken-link-checker/app/admin-modals/local/class-view.php(60): esc_attr_e() Passed variable is self::$unique_id might by null. I think that should be an empty string, but who should I blame on this? This reply was modified 2 years, 9 months ago by brbrbr . This reply was modified 2 years, 9 months ago by brbrbr . @brbrbr Thanks for sharing! I can’t reproduce this with broken-link-checker, but I do have a new release coming that should address this, so stay tuned. I just released 1.0.2 which fixes this issue, marking this as resolved now. Thanks again for your report & help with fixing this!

Comments

6 shown
Pascal Birchler 2023-08-30T23:42:00+00:00

Interesting! This „woocommerce-tax-display-by-country“ plugin is definitely doing something wrong, I‘ll have to check it out. But we should be able to work around it. Expect a new 1.0.2 release this week. This reply was modified 2 years, 9 months ago by Pascal Birchler .

harpo1984 2023-08-31T08:41:00+00:00

@swissspidy Would you like me to speak to the developer? Would you like me to send you a copy of the plugin for you to look at? (If so, let me know the best way to do that). Thanks in advance!

Pascal Birchler 2023-08-31T09:03:00+00:00

@harpo1984 Yes, sending a copy would be helpful. I just pinged you on Slack, you could share it there.

brbrbr 2023-08-31T14:43:00+00:00

Same error triggered from broken-link-checker. Passed null to esc_attr_e Which does not have strict type checking. broken-link-checker/app/admin-modals/local/class-view.php(60): esc_attr_e() Passed variable is self::$unique_id might by null. I think that should be an empty string, but who should I blame on this? This reply was modified 2 years, 9 months ago by brbrbr . This reply was modified 2 years, 9 months ago by brbrbr .

Pascal Birchler 2023-08-31T14:59:00+00:00

@brbrbr Thanks for sharing! I can’t reproduce this with broken-link-checker, but I do have a new release coming that should address this, so stay tuned.

Pascal Birchler 2023-09-01T11:08:00+00:00

I just released 1.0.2 which fixes this issue, marking this as resolved now. Thanks again for your report & help with fixing this!