Hello,
I just installed Enfold and updated to the latest version. When I did I am now getting the following error when I visit the site and the dashboard login:
Parse error: syntax error, unexpected ‘[‘ in /home/content/14/11125614/html/dev/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/google_maps/google_maps.php on line 489
I can get to the file through FTP but there doesn’t seem to be an issue on that line. How can I regain access?
I got same problem. My php version is 7.1
Hi,
Thank you for using our theme and reporting this.
A fix will be in the next update.
Meanwhile please replace
enfold\config-templatebuilder\avia-shortcodes\google_maps\google_maps.php
with
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_4/google_maps.php
Do not forget to make a backup of the original file for a fallback.
If you need assistance in updating the file please give us ftp access and we can help you.
Best regards,
Günter
Thank you. Where I can download it?
Dear Gunter now my page http://www.zanardelligolf.com:
Parse error: syntax error, unexpected ‘[‘ in /htdocs/public/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php on line 841
Thank you for helping.
Dear Gunter, here my FTP details:
Host: http://ftp.onlinux-it.setupdns.net
User: zanardelligolf
Password: in private content
Thank you!!
Hi,
@zanardelligolf I edited following line in /enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php
if(is_numeric($fallback_img)) $fallback_img = wp_get_attachment_image_src($fallback_img, $config['size'])[0];
and changed it to following
if(is_numeric($fallback_img)) $fallback_img = wp_get_attachment_image_src($fallback_img, $config['size']);
if(is_array($fallback_img)) $fallback_img = $fallback_img[0];
I will check with Gunter too.
Best regards,
Yigit
Thank you! Those changes worked great!