Hi Guys
We have updated our WordPress and it keeps throwing out our website. Having tried everything with no success I contacted our hosting provider who provided the error message and said it is due to our theme. We were told: This error is relating to the theme child-enfold, this is calling a function that as already being declared/granted.
So we restored a backup of our site. I ran the Enfold theme update to version 4.1.2. Then running the WordPress update we had the same problem with the site going down.
Error: Fatal error: Cannot redeclare grant_super_admin
Can you please let me know what we can do with the theme to allow us to update WordPress?
Thanks
Dee
The site works if I remove the child theme. I was able to successfully do the WordPress update. The minute I add the child them back it throws the site out again.
As soon as I remove the child theme it comes back online. Any ideas?
Thanks
Dee
Hey!
You seem to have a function with a name “grant_super_admin” in your child themes functions.php file. Please search “grant_super_admin” in your functions.php file and change them to “av_grant_super_admin” and that should solve the issue :)
Best regards,
Yigit