PHP Fatal error: Can't inherit abstract function -- previously declared getAssetType()
Permalink 1 user found helpful
This is an initial install on a Centos 6.6 (upgraded from 6.5)
PHP 5.3.3
The prerequisite PHP modules seem to all be present.
Accessing the initial index.php script produces this message in the httpd's error log:
PHP Fatal error: Can't inherit abstract function Concrete\\Core\\Asset\\AssetInterface::getAssetType() (previously declared abstract in Concrete\\Core\\Asset\\Asset) in <path to htdoc directory for the test>/concrete/src/Asset/Asset.php on line 9
Is there something obvious that I overlooked ?
Thanks
Jody
PHP 5.3.3
The prerequisite PHP modules seem to all be present.
Accessing the initial index.php script produces this message in the httpd's error log:
PHP Fatal error: Can't inherit abstract function Concrete\\Core\\Asset\\AssetInterface::getAssetType() (previously declared abstract in Concrete\\Core\\Asset\\Asset) in <path to htdoc directory for the test>/concrete/src/Asset/Asset.php on line 9
Is there something obvious that I overlooked ?
Thanks
Jody
Are you on concrete5.7.5? if so, update to 5.7.5.1
Thank you for your reply.
My bad for forgetting the concrete5 version.
Freshly downloaded (today, 15 August, 2015) concrete5.7.5.1.zip
No previous versions have been installed on this system.
My bad for forgetting the concrete5 version.
Freshly downloaded (today, 15 August, 2015) concrete5.7.5.1.zip
No previous versions have been installed on this system.
Id file a bug for that, (we fixed something really similar in 5.7.5.1,https://github.com/concrete5/concrete5/commit/57ac60e2a9e817b4788d8f...
Had the same issue running concrete5 5.7.5.1 with PHP version 5.3.5.
Just to get up and running I opened...
And commented out line 63...
Managed to get the install up.
Not saying this is the solution but certainly got my install working in a moment of need.
Just to get up and running I opened...
concrete/src/Asset/Asset.php
And commented out line 63...
abstract public function getAssetType();
Managed to get the install up.
Not saying this is the solution but certainly got my install working in a moment of need.