Parse error stops me logging into WordPress
Hi there, I was editing some code in my child theme on my wordpress site and this message popped up
Parse error: syntax error, unexpected '.' in /home/betsup5/public_html/wp-content/themes/bb-theme-child/classes/class-fl-child-theme.php on line 18
Now I can access my wordpress site at all, I have tried going into my server files and replacing the code with the original code from the theme but no success, any suggestions?
Thank you for your question about this syntax error in PHP. This error indicates there is a '.' in your code where there should not be one. The best step to take is to undo the most recent change you made before the error and reload your page. Or, if you have a backup of the file you were editing you can restore it
Best,
Christoper M.