-
AuthorPosts
-
October 18, 2021 at 4:21 pm #1325448
receiving this error after updating Enfold, while saving functions.php
Your PHP code changes were rolled back due to an error on line 50 of file D:\Webdocs\csadmin\cswpstage.hostworks.net\wwwroot\wp-content\themes\enfold\includes\admin\option_tabs\avia_cookie.php. Please fix and try saving again.
Uncaught Error: Class ‘av_privacy_class’ not found in D:\Webdocs\csadmin\cswpstage.hostworks.net\wwwroot\wp-content\themes\enfold\includes\admin\option_tabs\avia_cookie.php:50
Stack trace:
#0 D:\Webdocs\csadmin\cswpstage.hostworks.net\wwwroot\wp-content\themes\enfold\includes\admin\register-admin-options.php(284): include()
#1 D:\Webdocs\csadmin\cswpstage.hostworks.net\wwwroot\wp-content\themes\enfold\framework\php\class-superobject.php(246): include(‘D:\\Webdocs\\csad…’)
#2 D:\Webdocs\csadmin\cswpstage.hostworks.net\wwwroot\wp-content\themes\enfold\framework\php\class-superobject.php(197): avia_superobject->_create_option_arrays()
#3 D:\Webdocs\csadmin\cswpstage.hostworks.net\wwwroot\wp-content\themes\enfold\framework\php\class-superobject.php(146): avia_superobject->init()
#4 D:\Webdocs\csadmin\cswpstage.hostworks.net\wwwroot\wp-content\themes\enfold\framework\php\class-superobject.php(482): avia_superobject::instance(Array)
#5 D:\Webdocs\csadmin\cswpstage.hostworks.net\wwwroot\wp-content\themes\enfold\frOctober 19, 2021 at 2:17 am #1325491Hi hostworks,
Can you try to re-update it again?
If it still fails, try to manually replace the enfold theme in the themes folder.
Hope this helps.Best regards,
NikkoOctober 19, 2021 at 3:48 am #1325500Nikko,
When I didn’t hear back from anyone, I had replace restore it back to 4.2.2 to get the site back up, Originally, I ftp’d the new folder, then swapped it out with the existing folder. I did not overlay since I knew it was an older copy. I’ll try to replace net time on a staging site,October 19, 2021 at 6:08 am #1325513 -
AuthorPosts
- You must be logged in to reply to this topic.