• Corey

    (@bolivares)


    Whenever I land on a missing page (ex. http://www.coreytegeler.com/bolivares/asda) I am given a bunch of Undefined variable errors pointing to line 446 in advanced-category-excluder.php

    The bold line below is line 446

    function ace_get_section()
    {
    	global $wp_query, $ace_targets;
    
    	if (is_array($ace_targets))
    	{
    		foreach ($ace_targets as $key=>$val)
    		{
    		  if (!empty($wp_query->$key) && $wp_query->$key == 1) $filter = $key;
    		}
    	}
    
    <strong>	return $filter;</strong>
    }

    Any idea what the root of this problem is and how to fix it?

Viewing 1 replies (of 1 total)
  • Thread Starter Corey

    (@bolivares)

    Even after removing all of the default widgets showing the Recent Posts, Popular Tags, etc. I still get the error in the header although it’s the same header as any other page and there is really nothing fishy in my 404.php file

Viewing 1 replies (of 1 total)
  • The topic ‘[Advanced Category Excluder]’ is closed to new replies.