• I recently changed the domain associated with the Word Press site I built using the Evolve theme. I followed the instructions as spelled out in the WordPress documentation. The site is now associated with the new domain and appears fine, but when I go to “https://samsonlongmontlaw.com/wordpress/wp-admin/” or to “https://samsonlongmontlaw.com/wordpress/wp-login.php” I get the following error message and am not able to login to the WordPress dashboard:

    Parse error: syntax error, unexpected T_FUNCTION in /home/content/63/8580763/html/wordpress/wp-content/themes/evolve/library/functions/options.php on line 1

    Via FTP I grabbed a copy of the site to have a backup and then also downloaded the most recent version of the Evolve theme. I then replaced and uploaded the ‘options.php” file with the most recent version from the theme. But, that did not do the trick.

    I also did a manual update to the site as outlined in the WordPress documentation, but that did not resolve the issue either.

    Any idea what in the options file might be causing an error so that I cannot login to the WP dashboard?

    The site I am referring to is: https://samsonlongmontlaw.com/

    Thanks in advance!

Viewing 7 replies - 1 through 7 (of 7 total)
  • That is a theme error. Disable all plugins and switch to the default theme. Does it still happen?

    Thread Starter svlawadmin

    (@svlawadmin)

    Can you offer any advice regarding how to switch to the default theme without doing so via the WordPress dashboard? Since I cannot login to the dashboard that is not an option. Is it possible to switch the theme via FTP?

    Thank you very much for your assistance!

    Is it possible to switch the theme via FTP?

    Yes, rename your theme’s folder to evolve.HOLD

    Thread Starter svlawadmin

    (@svlawadmin)

    Gotcha. Then, how do I activate the default theme via the FTP?

    Thanks . . .

    When you deactivate your theme, WP will automatically use a default theme – assuming you have one in the themes folder – which you always should. Any of the twenty-something themes should be there and be fine.

    Thread Starter svlawadmin

    (@svlawadmin)

    I have the twenty-something themes in there but they are not defaulting – I am getting a blank screen. Can I some how activate it via FTP?

    No, try renaming the plugins folder too.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Not able to login to the wp-admin because of a Parse error: syntax error’ is closed to new replies.