Add-on developers, please consider PHP 7
Permalink
It seems that many add-ons currently available for Concrete5 5.7 don't work with PHP 7, causing fatal errors that could make the whole site inaccessible.
So far i have found two methods that only need small modifications in order to work with PHP 7 (while there might be some more):
path: packages/[name_of_package]/blocks/[name_of_block]/controller.php
should be:
should be:
So far i have found two methods that only need small modifications in order to work with PHP 7 (while there might be some more):
path: packages/[name_of_package]/blocks/[name_of_block]/controller.php
public function validate()
public function validate($args)
public function registerViewAssets()
public function registerViewAssets($outputContent = '')