Theme update crash


#1

After updating the moesha free theme i get the following error site-wide

Parse error : syntax error, unexpected ‘if’ (T_IF), expecting ‘)’ in /homepages/35/d272370158/htdocs/clickandbuilds/EITZ/wp-content/themes/moesia/functions.php on line 406

This occured the same day i updated wordpress to 5.0.2

website url eitanzania.org


#2

i have the same error


#3

I upgraded WordPress a few weeks ago but crash (similar issue) only happened today when I upgraded Moesia.


#4

Hello,

It seems to be a theme issue, I’ve already notified our Developer.

You can manually install a previous Moesia theme version for now.

Here is a link to previous Moesia version:
https://downloads.wordpress.org/theme/moesia.1.46.zip

And here you can get details about manual theme installation:
https://codex.wordpress.org/Using_Themes

Please remember about importance of regular full site backups (files and database):
https://codex.wordpress.org/WordPress_Backups

Also you might want to check this tutorial:

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.