PHP Parse error
-
Hi,
I just updated this plugin to the laste version and the hole site went down.
I went tho the server and this showed up on the error log:
PHP Parse error: syntax error, unexpected ‘[‘ in /../wp-content/plugins/custom-content-shortcode/includes/modules/comments.php on line 61This line refers to:
$atts = [‘content’]; // Default fieldI had to comment it out to bring the website back online.
My server’s PHP version is 5.4.24.
Hope this helps.
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP Parse error’ is closed to new replies.