This is the error message that I get when I try and login to the wp dashboard:
Parse error: syntax error, unexpected ”y76#<%x5c%x7825tmw!>!#]y84]27′ (T_ENCAPSED_AND_WHITESPACE) in /home/camplikely/public_html/wp-content/themes/enfold/framework/php/class-metabox.php on line 1
What should I do to fix this and enable the login to work again?
I can find this file in the theme folders using c-panel. What do I do with the file to repair it?
I downloaded the file class-metabox.php from the latest version of the enfold theme. I overwrote the current file and now I get this message:
Fatal error: Can’t use function return value in write context in /home/camplikely/public_html/wp-content/themes/enfold/framework/php/class-media.php on line 107
Hi!
Thanks for getting in touch with us!
Please try reuploading the entire theme and overwrite all the current files. Before that, please make a backup of the old theme files. Ensure that you using the latest versions of the Enfold theme and WordPress.
If that does not help, could you please provide a link and login details to your site, so that we can have a closer look. Also provide FTP access or access to the cpanel. You can place the information in the Private Content section of your reply.
Best regards,
Jordan