Undefined index: path (version 1.9.1)
-
Hi,
There seems to be a new error in version 1.9.1
Sometimes $request[‘path’] is undefined on line 541;An example url that triggered the error is
https://example.com//mirasvit_adminer_425.phpI think its the double // after the domain name. “mirasvit_adminer_425.php” does not exist on the server.
The website is being pounded by people guessing logins with made up urls like this. So its probably not natural traffic.
I’ve fixed it by adding an isset on the index at line 541
if ( ! is_user_logged_in() && isset($request['path']) && $request['path'] === '/wp-admin/options.php' ) { header('Location: ' . $this->new_redirect_url() ); die; }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Undefined index: path (version 1.9.1)’ is closed to new replies.