Hey,
If you remove the theme folder your theme options should all remain, they are saved in the database and not in the files. You should be able to remove the theme then upload the newer version manually.
If WordPress is not asking you to update it’s possible your folder was changed to something other then “virtue” which could create that issue. Or your server is preventing it but that is highly unlikely.
Before manually updating though I suggest getting a full backup of your site and exporting a copy of your theme options just so you have peace of mind 🙂
There is an export option in the theme options > import-export.
If your host doesn’t offer backups you can use plugins like: https://wordpress.org/plugins/duplicator/
Ben
Hi Ben,
thank you for your fast reply. I followed your suggestions. I made a full backup with duplicator and I exported the setting of virtue theme.
Then I have to manually remove the folder virtue and virtue-child because the installer told me that the folder already existed.
Now, after the installation the Web site is not correctly displayed and are shown many errors:
Warning: Attempt to assign property of non-object in /wp/wp-content/themes/virtue/lib/classes/class-virtue-nav-walker.php on line 107
Warning: Attempt to assign property of non-object in /wp/wp-content/themes/virtue/lib/classes/class-virtue-nav-walker.php on line 108
Notice: Trying to get property of non-object in /wp/wp-content/themes/virtue/lib/classes/class-virtue-nav-walker.php on line 122
Notice: Trying to get property of non-object in /wp/wp-content/themes/virtue/lib/classes/class-virtue-nav-walker.php on line 124
I have a virtual hosting with PHP 7.1.26. What can I do?
Edit:
I solved by removing and adding the menu. Now all seems work properly. Thank you.
-
This reply was modified 6 years, 8 months ago by
erotavlas.