Summary:
CGExtensions PHP 5.6 compatibility issue
Detailed Description:
I know that cmsms recommends PHP 7.1 or 7.2 but for reference I want to report
that CGExtension does not work with PHP 5.6.
PHP Parse error: syntax error, unexpected ':', expecting ';' or '{' in
/var/www/XXX/website/XXX/public/modules/CGExtensions/CGExtensions.module.php
CGExtension is using object/type hinting (internal_utils) lingo PHP 5.6 does not
understand:
protected function get_utils() : internal_utils
{
static $_obj;
if( !$_obj ) $_obj = new internal_utils($this->get_cge());
return $_obj;
}
Anyhow this issue will resolve itself when running CMSMS / CGExtensions under a
current PHP version.