PHP7 - Error because of public function validate()Browser Info Environment
i just want to let you know - and customers who are running PHP7 - that there is a small modification of an argument to be done in whale_grid_gallery/blocks\whale_grid_gallery/controller.php to avoid the following errror message on Concrete5 188.8.131.52 and PHP7:
Declaration of Concrete\Package\WhaleGridGallery\Block\WhaleGridGallery\Controller::validate() should be compatible with Concrete\Core\Block\BlockController::validate($args)
The solution is, in whale_grid_gallery/blocks\whale_grid_gallery/controller.php, change:
public function validate()
public function validate($args)
ThanX for the hint, i changed that to all related add-on on our master copies, that will be available on next update of each add-on.
Just a note, in case you are also using:
public function registerViewAssets()
in one of your add-ons,
it should be:
public function registerViewAssets($outputContent = '')
At least these are the two that i know of.