
-
AuthorPosts
-
February 5, 2020 at 4:11 pm #1181804
Sebastian
GuestHi there,
right now I am using Enfold 3.6.1 together with a customized child theme (all created by an agency in 2016).
After updating from PHP5 to PHP7.2 WordPress shows me the error message below.
My question is: Will this error be fixed by updating Enfold to the current version? Can the existing child theme still be used or is the any new customization of the child theme needed?
Thanks,
Sebastian___
Fehler-Details
==============
Ein Fehler vom Typ E_ERROR wurde in der Zeile 489 der Datei /…/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php verursacht. Fehlermeldung: Uncaught Error: Cannot use string offset as an array in /…/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php:489
Stack trace:
#0 /…/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(443): aviaShortcodeTemplate->create_sortable_editor_element(Array)
#1 /…/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php(397): aviaShortcodeTemplate->prepare_editor_element()
#2 /…/wp-includes/class-wp-hook.php(286): AviaBuilder->js_template_editor_elements(”)
#3 /…/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
#4 /…/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#5February 5, 2020 at 4:17 pm #1181806Hey Sebastian,
Thanks for contacting us!
Enfold version you are currently using is not compatible with your PHP version and updating the theme to the latest version 4.7.2 would make it compatible.
Which files have you modified on your child theme? Depending on the files, you might need to update them as well since you are using a very old version. Please create a testing environment and try updating the theme there to be on the safe side. If you notice any issues, you can contact us and we can help you fix them :)
Cheers!
YigitFebruary 5, 2020 at 4:27 pm #1181812Sebastian
GuestHi Yigit,
thanks for the fast reply!
The “/themes/enfold-child” folder has just the following files: functions.php, style.css, includes/loop-index.php, css/less.php, css/style.css/ css/style.less.
As I don’t work with the agency anymore and did not buy the theme by myself I guess I have to buy a new license on Themeforest to update?
Best,
SebastianFebruary 5, 2020 at 4:39 pm #1181813Hey,
Looking at the list of modified files, I do not think there would be any issues but of course that depends on the modifications as well. We can provide you 3.6.1 so you can compare files but as i mentioned, i do not think there will be any issues.
In case they purchased the theme for you, maybe you could request a copy of the license and contact Envato support and ask if it would be possible to transfer purchase from their account to yours. I am not sure if that would be possible but worth trying in case you are in touch with your old developer. If not, you can simply purchase a license and download the latest version of the theme from – https://themeforest.net/downloads and update the theme via FTP – https://kriesi.at/documentation/enfold/theme-update/#update-via-ftp and then refer to this post – https://kriesi.at/documentation/enfold/theme-registration/#how-to-generate-a-envato-personal-token and generate a Personal Token and insert it in Enfold theme options to receive future updates :)
Regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.