• I’m using NewsPro studiopress theme and the other week I was trying to edit it so i messed up and I couldn’t access my website, so with filezilla I eccessed the file that was causing the problem, i tried to fix it and because I didn’t know what I was doing I decided to remove the file that was causing the problem with the original unedited one ( I think it was functions.php) so it seemed to fix the problem. But now whenever I try to login I get:
    Warning: include_once(/home3/kumtesau/public_html/wp-content/themes/news-pro/lib/theme-defaults.php): failed to open stream: No such file or directory in /home3/kumtesau/public_html/wp-content/themes/news-pro/functions.php on line 6

    Warning: include_once(): Failed opening ‘/home3/kumtesau/public_html/wp-content/themes/news-pro/lib/theme-defaults.php’ for inclusion (include_path=’.:/opt/php54/lib/php’) in /home3/kumtesau/public_html/wp-content/themes/news-pro/functions.php on line 6

    Warning: Cannot modify header information – headers already sent by (output started at /home3/kumtesau/public_html/wp-content/themes/news-pro/functions.php:6) in /home3/kumtesau/public_html/wp-login.php on line 414

    Warning: Cannot modify header information – headers already sent by (output started at /home3/kumtesau/public_html/wp-content/themes/news-pro/functions.php:6) in /home3/kumtesau/public_html/wp-login.php on line 426

Viewing 1 replies (of 1 total)
  • lisa

    (@contentiskey)

    are you editing files in a child theme or editing the original theme?

    if you have a big problem with changed code in a theme, it is often best to remove the theme entirely via FTP.

    the functions.php file is very sensitive to problems.

Viewing 1 replies (of 1 total)

The topic ‘I messed up’ is closed to new replies.