Parse error on installing experience.

More
7 years 2 months ago #8551 by webmake
Parse error on installing experience. was created by webmake
When installing experience I got blank screen with error. as below

I will usually just revert to my backup but I had just spent the whole day upgrading because I had other errors a(and wanted to make sure I was updated before coming to the forum). If you have quick fix for this let me know pleas I will appreciate it allot.

Losing money by the minute so if no response within 1 hour I will simply revert.

Thnks



Parse error: syntax error, unexpected '[' in F:\Domains\JYSMAL01\hondeklip.co.za\wwwroot\plugins\solidres\experience\administrator\components\com_solidres\helpers\experience.php on line 115

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #8552 by solidres
Replied by solidres on topic Parse error on installing experience.
Hi,

Your server is using an out of date PHP version (5.3). Please note that PHP 5.3 is end of life and it is no longer maintained.

The best solution is to upgrade your PHP to latest version (5.6 or 7), in the mean time you can edit that file (line 115) and change this code

static $payments = [];

to

static $payments = array();

It should work fine for you. If you need further assistance, please raise a new support ticket.

Regards,
The following user(s) said Thank You: webmake

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?