PHP warning
-
Line 36 of this plugin should be changed from:
if ($query_string[‘name’] == ‘page’ && isset($query_string[‘page’])) {
To:
if (isset($query_string[‘name’]) && $query_string[‘name’] == ‘page’ && isset($query_string[‘page’])) {Often $query_string[‘name’] is not set and it throws a warning. It is not fatal but it is bad practice to allow warnings when it is avoidable.
- The topic ‘PHP warning’ is closed to new replies.