php error on install

Permalink
Trying to install Concrete5.6.3.5 on my webserver.

I get the following error:

Warning: Declaration of Concrete5_Model_Page::add(CollectionType $ct, $data) should be compatible with Concrete5_Model_Collection::add($data) in /var/www/vhosts/newsupremedeer.co.nz/httpdocs/concrete5.6.3.5/concrete/core/models/page.php on line 12
Warning: Declaration of Concrete5_Model_Page::duplicate($nc, $preserveUserID = false) should be compatible with Concrete5_Model_Collection::duplicate() in /var/www/vhosts/newsupremedeer.co.nz/httpdocs/concrete5.6.3.5/concrete/core/models/page.php on line 12


How can I resolve this? I am not a php developer (obviously)

trixiemay
 
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Try setting the server PHP version to 5.6...
mlocati replied on at Permalink Best Answer Reply
mlocati
The legacy version of concrete5 that you can download from concrete5.org (5.6.3.5) won't run with PHP 7+.

If you really need the legacy version of concrete5 you have two options:

1. downgrade your PHP to 5.6
2. get the legacy version from GitHub (https://github.com/concrete5/concrete5-legacy... ), which has been recently upgraded to support PHP 7+.
trixiemay replied on at Permalink Reply
trixiemay
Thanks for the github advice.
I do need php7 for opencart that I am running behind c5.
I'd run a newer version of c5 but it is horrendously slow on our webserver and some of the edit functions seem a bit buggy still.