 
	
		
		
		
		
			
- 
		AuthorPosts
- 
		
			
				
May 25, 2018 at 9:53 pm #962422Hello, 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? May 26, 2018 at 6:17 am #962512I got same problem. My php version is 7.1 May 28, 2018 at 2:14 pm #963219Hi, 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ünterMay 28, 2018 at 3:09 pm #963281Thank you. Where I can download it? May 28, 2018 at 3:11 pm #963283Dear 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. May 28, 2018 at 3:25 pm #963301Dear Gunter, here my FTP details: Host: http://ftp.onlinux-it.setupdns.net 
 User: zanardelligolf
 Password: in private contentThank you!! May 28, 2018 at 3:39 pm #963313Hi, 
 @zanardelligolf I edited following line in /enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.phpif(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, 
 YigitMay 29, 2018 at 4:14 pm #963785Thank you! Those changes worked great! May 29, 2018 at 5:48 pm #963819
- 
		AuthorPosts
- The topic ‘Parse error when updating to latest version’ is closed to new replies.
