Support » Plugin: Eazy Flickity Slider » Parse error: syntax error, unexpected ‘[‘ – problem and solution.

  • On some versions of PHP, you may encounter a similar message when activating a plugin that refers to a problem in line 126 of the eazy_flickity_slider_shortcode.php file.

    The solution is simple. Just replacing line 126

    $matches[$key] = [‘sliderid’ => $thisname, ‘width’ => $thiswidth, ‘height’ => $thisheight];

    with

    $matches[$key] = array(‘sliderid’ => $thisname, ‘width’ => $thiswidth, ‘height’ => $thisheight);

    Have a nice day!

Viewing 1 replies (of 1 total)
  • Plugin Author Rob Scott

    (@r0bsc0tt)

    Thanks for the fix and adding it to the support area!
    I will try to get the plugin updated and added to the repo.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.