Just upgraded to latest v11 and get this error when trying to run the site..
Parse error: syntax error, unexpected '[' in /home/*******/public_html/engine/classes/Elgg/Di/ServiceProvider.php on line 202
This discussion is closed and is not accepting new comments.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
The line in question is
$params = $c->config->get('cookies')['session'];
Update your PHP version to 5.4+
Details
Nope - did not work!
@jededitor Many, many people have complained about this issue on the community and it is always, 100%, definitely because your server is not running PHP 5.4+.
Try again. Hosts have been known to report 5.4 but actually be running 5.3.
Fixed! yep host was running 5.3 despite saying that it was running 5.4. Rebooting the host fixed the problem.
Hmm further investigation reveals a number of other kinks with v11
Also on the admiunistration page Appearance, Settings, Utilities & Widgets links appear not to work...
Another thing is that It will not show the avatars for the users who uploaded their own.
And the More Info buttons on the plugins listing do not work.
Please open a new discussion thread for each issue.