unable to save.
for my site https://miningafrica.net/
suddenly lost the ability to save pages or publish duplicates. "critical error" keeps appearing.
here are the error messages:
23-May-2021 08:09:39 UTC] PHP Fatal error: Uncaught Error: [] operator not supported for strings in /home2/miningaf/public_html/wp-content/themes/betheme/includes/content-single-portfolio.php:47
Stack trace:
#0 /home2/miningaf/public_html/wp-includes/template.php(732): require()
#1 /home2/miningaf/public_html/wp-includes/template.php(676): load_template('/home2/miningaf...', false, Array)
#2 /home2/miningaf/public_html/wp-includes/general-template.php(204): locate_template(Array, true, false, Array)
#3 /home2/miningaf/public_html/wp-content/themes/betheme/single-portfolio.php(54): get_template_part('includes/conten...', 'single-portfoli...')
#4 /home2/miningaf/public_html/wp-includes/template-loader.php(106): include('/home2/miningaf...')
#5 /home2/miningaf/public_html/wp-blog-header.php(19): require_once('/home2/miningaf...')
#6 /home2/miningaf/public_html/index.php(17): require('/home2/miningaf...')
#7 {main}
thrown in /home2/miningaf/public_html/wp-content/themes/betheme/includes/content-single-portfolio.php on line 47
Comments
Hello,
Please, turn off all of the plugins, refresh your cache, and check if the issue persists.
Moreover, if you are using a child theme, switch to parent, and recheck it.
Thanks
done all of that, no change
Please send us WordPress dashboard access privately thru the contact form, which is on the right side at http://themeforest.net/user/muffingroup#contact, and we will check what might be the reason.
Notice!
Please attach a link to this forum discussion.
Thanks
I have noticed that you do not have the newest version of WP and the very old version of Betheme.
Please, update them, and check if this issue persists.
Please head to the link we provided below, where you will find all of the information on how you can update the theme successfully.
https://support.muffingroup.com/faq/how-to-update-betheme/
But before updating, please, do a backup of your website with the Duplicator plugin for safety.
https://wordpress.org/plugins/duplicator/
Thanks