Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #962422

    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?

    #962512

    I got same problem. My php version is 7.1

    #963219

    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

    #963281

    Thank you. Where I can download it?

    #963283

    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.

    #963301

    Dear Gunter, here my FTP details:

    Host: http://ftp.onlinux-it.setupdns.net
    User: zanardelligolf
    Password: in private content

    Thank you!!

    #963313

    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

    #963785

    Thank you! Those changes worked great!

    #963819

    Hi,

    Great we could help you.

    Don’t hesiatate to contact us if you need further assistance.

    Have a nice day and enjoy the theme.

    Best regards,
    Günter

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Parse error when updating to latest version’ is closed to new replies.