WPIntell

Source evidence

Undefined Constants & PHP 8

Contests by Rewards Fuel · support · 2022-06-30T20:22:00+00:00

mixedsentiment
highseverity
0.88relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

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

5 / 31 rows with source links

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

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

26 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
ejw773 resolved
I have not had a problem with your plugin yet, but I’ve been tracking down PHP 8 upgrade troubles with some other plugins due to “undefined constants” causing fatal errors. Example: $_SERVER[REQUEST_URI] throws a fatal error, as PHP 7 would implicitly convert REQUEST_URI to a constant, but PHP 8 won’t. I noticed your Class_rf.php file had a few of these (as well as a couple occurrences of $_SERVER[HTTP_HOST]). Are you planning on changing these to $_SERVER[‘REQUEST_URI’] at some point? Thanks! Hello, Thanks for bringing this to our attention. We’ll publish an update today. Wow, that was fast! Got it installed. Thanks!

Comments

2 shown
Rewards Fuel 2022-07-01T16:16:00+00:00

Hello, Thanks for bringing this to our attention. We’ll publish an update today.

ejw773 2022-07-01T18:37:00+00:00

Wow, that was fast! Got it installed. Thanks!