• Resolved Josh Spires

    (@joshspires)


    When I try to go onto my wordpress admin and log in it comes up with this error: “Parse error: syntax error, unexpected end of file in /home/c1martia/public_html/dronenr.com/wp-content/themes/colormag/functions.php on line 149”

    Does anyone know how to fix this?

    Thanks,
    Josh

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)

    your active theme “colormag” seems to be the error.

    Try repairing/replacing the /wp-content/themes/colormag/functions.php file using FTP , or your web-host’s cPanel or whatever file management application your host provides (no Dashboard access required).

    Another thing you can do is to replace the colormag theme with a different theme like the default WordPress theme.

    If you have FTP access delete the colormag theme (delete the colormag folder in wp-content/themes) and WordPress will automatically revert to the default theme.

    Now that you got the file/theme that’s causing the error out of the way, you can check the functions.php file using an HTML editor. Or you could download a fresh copy of the colormag theme and do what Tara suggested – replace the functions.php file by uploading it via FTP or Cpanel.

    Hello I have on my error occurred while putting the blade Google Adsense and now give me this letter and did not know if you’ve wiped the part of the code or not, what should I do

    Parse error: syntax error, unexpected ‘<‘ in /home/ya1987/public_html/wp-content/themes/colormag/front-page.php on line 9

    Hello I have on my error occurred while putting the blade Google Adsense and now give me this letter and did not know if you’ve wiped the part of the code or not, what should I do

    Parse error: syntax error, unexpected ‘<‘ in /home/ya1987/public_html/wp-content/themes/colormag/front-page.php on line 9

    Moderator t-p

    (@t-p)

    @yasserhassan,

    It’s been a FOUR MONTHS since the OP posted.

    If the troubleshooting already posted made no difference for you, then, as per the Forum Welcome, please post your own topic.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Parse Error – Locked out of my site.’ is closed to new replies.