Use File Manager at cPanel or use FileZilla and FTP (or preferably SFTP) to rename the ‘ /zerif-lite/ ‘ folder to ‘ /zerif--lite/ ‘ to deactivate that theme. WordPress will then activate a default theme and you can begin again with the other.
Hi,
Try to open and check your theme’s(zerif-lite) ‘functions.php’ file, its in this directory.
=====
/home/beginagainhomes/public_html/wp-content/themes/zerif-lite
=====
Then, check line 36 if you have an extra character ‘<‘ ,then try to remove it and save the changes.
You can also try to check the characters of the php tags ‘<?php ?>’ of your functions.php file.
Hope this helps.
Leejosepho and Tim, Thank you for the instructions. I have used both!
After I changed the theme file name, WP activated a default theme. After that I went to the “function.php file and removed the extra php?> I had left there initially. That removed the Error!
Now the issue is how to load back my website with the previous template?
I found the theme again and activated it but it is now empty without the info I had customized.
Could someone help please?
Thanks,
Sam
Now the issue is how to load back my website with the previous template?
Your theme folder had been renamed to deactivate it because that copy of your theme is broken. So, your best bet is to now delete that theme altogether and re-upload a new copy that has not been altered.
I found the theme again and activated it but it is now empty without the info I had customized.
I just looked at your site, and I am not certain of what I see there since I have no idea what it looked like prior to what has just happened. In any case, changing themes does not affect your site content, and WordPress typically remembers each theme’s custom settings or options you might have chosen at your Dashboard. So overall, I would again suggest deleting that theme altogether and uploading a fresh copy and then making a Child Theme where you can add code modifications without ever altering any file in your Parent Theme.
note: If you can find a suitable WordPress theme from here https://wordpress.org/themes/ and begin using that one in place of any other, we can help you make a Child Theme so you do not have these same problems again in the future.