• Resolved fbandiki

    (@fbandiki)


    Hi
    I use the php version 5.3

    After installing the plugin, this error message appears

    Parse error: syntax error, unexpected ‘[‘ in /home/lidesan/www/wp-content/plugins/carousel-slider/templates/admin/hero-banner-slider.php on line 243

    <?php
    243 $animations = [
    ” => esc_html__( ‘None’, ‘carousel-slider’ ),
    ‘fadeInDown’ => esc_html__( ‘Fade In Down’, ‘carousel-slider’ ),
    ‘fadeInUp’ => esc_html__( ‘Fade In Up’, ‘carousel-slider’ ),
    ‘fadeInRight’ => esc_html__( ‘Fade In Right’, ‘carousel-slider’ ),
    ‘fadeInLeft’ => esc_html__( ‘Fade In Left’, ‘carousel-slider’ ),
    ‘zoomIn’ => esc_html__( ‘Zoom In’, ‘carousel-slider’ ),
    ];
    ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter fbandiki

    (@fbandiki)

    Hi

    I solved it that way

    Should be $fields = array(…

    instead of $fields => array(

    Thanks
    fbandiki

    shbayah

    (@shbayah)

    Hello,

    Sorry didn’t get how to solve it. which $fields are you referring to? cant see any ” => array(” to change it to “= array (“.

    Thank you.

    shbayah

    (@shbayah)

    It’s Ok seems I got it.

    $animations = [ should be changed by $animations = array(

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘syntax error, unexpected ‘[‘’ is closed to new replies.