• Resolved mvandew

    (@mvandew)


    I installed a plugin to try something experimental and it involved editing my functions.php file. Long story short… the entire site is down now.

    I ended up deleting the theme folder and the plugin via ftp. Didn’t work.

    go to: https://vandewmarketing.com/
    All you see is this message: /* Exclude Category from Main Page and RSS Feeds. Used for Glossary(ID=39) Category. */ function myFilter($query) { if ($query->is_feed || $query->is_home) { $query->set('cat','-39'); } return $query; } add_filter('pre_get_posts','myFilter');

    I can’t log into my wp-admin at all. I get this message:

    /* Exclude Category from Main Page and RSS Feeds. Used for Glossary(ID=39) Category. */ function myFilter($query) { if ($query->is_feed || $query->is_home) { $query->set('cat','-39'); } return $query; } add_filter('pre_get_posts','myFilter');
    Warning: Cannot modify header information - headers already sent by (output started at /home/vandewm1/public_html/wp-includes/functions.php:4313) in /home/vandewm1/public_html/wp-includes/pluggable.php on line 890

    Any tips??

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Changed functions.php and site is down’ is closed to new replies.