'post' is not defined in $_REQUEST
-
You are checking $_REQUEST[‘post’] on line 12 which causes an undefined error when ‘post’ is not set. (Most admin pages). Please change row 12 to the following to account for it:
Before:
if(strpos($_SERVER['PHP_SELF'], '-new.php')|| ){
After:
if(strpos($_SERVER['PHP_SELF'], '-new.php') || (isset($_REQUEST['post']) && $_REQUEST['post'] != '')){
- The topic ‘'post' is not defined in $_REQUEST’ is closed to new replies.