E_WARNING : Undefined array key “dir” : name-directory/shortcode.php (284)
-
I was getting this warning in my logs.
I suspect is triggered by bots/crawlers mostly.
To fix, locate;
else if(isset($_GET['name_directory_startswith']) && ($_GET['dir'] == $dir))
Update to;
else if(isset($_GET['name_directory_startswith']) && isset($_GET['dir']) && ($_GET['dir'] == $dir))
If there a better method to submit pull requests, please call out.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘E_WARNING : Undefined array key “dir” : name-directory/shortcode.php (284)’ is closed to new replies.