Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Paul Menard

    (@pmenard)

    I will need to patch the code for this. In the mean time you might want to turn off warning on your site. Just a note a warning is informational and not an error.

    Um, I can’t find the command for turning off warnings on my site. I’m having the same problem… is there a way to turn off the warning, or to fix it? Thanks!

    kgagne

    (@kgagne)

    Ditto. I have this problem when accessing a tag archive. I see no way in the plugin options or in wp-config.php to disable this warning.

    DavidArndt

    (@davidarndt)

    I fixed this error by adding the following code at line 1449 of the simplyexclude.php:

    && is_string($value) //added this to fix no string error

    so the lines 1448-1450 look like this

    if ((isset($wp_query->query_vars['post_type']))
    		 && is_string($value) //added this to fix no string error
    		 && (strlen($wp_query->query_vars['post_type'])) )
    kgagne

    (@kgagne)

    Brilliant! Thank you, sir. Applied and appreciating.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘simply-exclude\simplyexclude.php on line 1449’ is closed to new replies.