[PHP Notice]Undefined index: QUERY_STRING
-
Hi,
There’s a PHP Notice showing up when no query strings are present in URL.
You can replace line counter-core.php#L578
if (strpos($_SERVER['QUERY_STRING'], 'cpd_metaboxes') !== false )
by
if (strpos($_SERVER['QUERY_STRING'] ?? '', 'cpd_metaboxes') !== false )
- The topic ‘[PHP Notice]Undefined index: QUERY_STRING’ is closed to new replies.