Error when updating theme from older version to latest
Hi,
My client had your theme set up on their site since from 2 years ago, and could not update it. So they have repurchesed the license so that I could update the theme and activate a child theme also. But when I try to either rewrite the files using FTP, or to completley erase the old files and copy the newest version of the theme, the site craches and every page is blank. The error log has given the following error:
PHP Fatal error: Uncaught Error: Call to undefined function get_theme_file_path() in /home/exprom/public_html/wp-content/themes/betheme/functions.php:45
Stack trace:
#0 /home/exprom/public_html/wp-settings.php(368): include()
#1 /home/exprom/public_html/wp-config.php(90): require_once('/home/exprom/pu...')
#2 /home/exprom/public_html/wp-load.php(37): require_once('/home/exprom/pu...')
#3 /home/exprom/public_html/xmlrpc.php(29): include('/home/exprom/pu...')
#4 {main}
thrown in /home/exprom/public_html/wp-content/themes/betheme/functions.php on line 45
on that line there's some code related to the theme options panel.
The current version of the theme is 11.6.
Can you please help us activate the newest version?
Thank you!
Comments
http://themes.muffingroup.com/betheme/documentation/#general
Theme updates will not delete your content unless you have changed the files directly in which case we suggest using a child theme.
We also recommend creating a backup file.
Please remove the theme completely from your theme folder and install a fresh copy. Do not overwrite files.
thanks