PHP 7 compatibility

Permalink Browser Info Environment
This addon does not work on PHP 7: viewing the block results in this error:
Declaration of
should be compatible with

To solve this issue, I modified the blocks/whale_elastic_slider/controller.php file by changing from
public function validate()
        $e = Core::make('helper/validation/error');
        if((int)$this->post('sliderID')==0) {

public function validate($args)
        $e = Core::make('helper/validation/error');
        if((int)$args['sliderID']==0) {

Type: Discussion
Status: In Progress
View Replies:
shahroq replied on at Permalink Reply
We will fix this issue on all our add-ons master copies, and it will be available on next update.
Thanx anyway for the hint.

concrete5 Environment Information


Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.63 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.