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)
Viewing 1 replies (of 1 total)
The topic ‘Parse error: syntax error, unexpected ‘[‘ – problem and solution.’ is closed to new replies.