Support » Themes and Templates » Parse error: syntax error – HELP!

  • Resolved MariaWeb

    (@mariaweb)


    i added a code to line 65 in the inkthemes-function.php and got the massage

    Parse error: syntax error, unexpected ‘<‘ in /var/www/virtual/fagform.is/htdocs/wp-content/themes/colorway/functions/inkthemes-functions.php on line 65

    so i went back to one page ,removed the code i just put in and got it again. i cant go anywhere in the admin panel i just get the message …help 🙁

    how do i remove the code or recover the site?
    website

Viewing 5 replies - 1 through 5 (of 5 total)
  • You will need to download a new copy of the theme to your local computer and then replace that file using FTP or other File manager your hosting company provides.

    Thread Starter MariaWeb

    (@mariaweb)

    thank you WPyogi…i’ll check if that works(probably does)
    🙂

    Thread Starter MariaWeb

    (@mariaweb)

    hi my website is working again(admin) but the theme that i used to have broke.
    all the style was deleted when i was using file manager from my host company.

    i do have questions of few thing:
    if i delete the colorway(the broken theme) from my filemanager can i install it again?
    there are two more styles missing:
    net2ftp_temp_w9ogi
    net2ftp_temp_zr06
    are the related to the theme or…?
    i was thinking of deleting the theme and installing again (not in filemanager) but i could find it with the other themes so i checked if i needed to install it again but it only let me update(but it is updated)

    Yes, you can delete it and then reinstall it. If you made any changes to theme files (you should not have done that anyway), those will be lost.

    Thread Starter MariaWeb

    (@mariaweb)

    it works! thanks WPyogi 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Parse error: syntax error – HELP!’ is closed to new replies.