Undefined index: SCRIPT_NAME
-
Activation after a new install gave 4 php errors:
Undefined index: SCRIPT_NAME in <path-to-website-removed>/wp-content/plugins/wp-security-audit-log/classes/Sensors/Files.php on line 96
Notice: Undefined index: SCRIPT_NAME in <path-to-website-removed>/wp-content/plugins/wp-security-audit-log/classes/Sensors/Files.php on line 97
Notice: Undefined index: SCRIPT_NAME in <path-to-website-removed>/wp-content/plugins/wp-security-audit-log/classes/Sensors/Menus.php on line 383
Notice: Undefined index: SCRIPT_NAME in <path-to-website-removed>/wp-content/plugins/wp-security-audit-log/classes/Sensors/System.php on line 401
Then on the website I see another error:
Notice: Undefined index: REQUEST_URI in <path-to-website-removed>/wp-content/plugins/wp-security-audit-log/classes/Sensors/Content.php on line 1460
The system variable $_SERVER[‘SCRIPT_NAME’] is defined when tested.
The website was originally installed via Softaculous.
The topic ‘Undefined index: SCRIPT_NAME’ is closed to new replies.