Concrete5.8.1 php7

Permalink Browser Info Environment
I upgraded to Concrete5.8.1 and wanted to turn on php7.
Whale Bootstrap Carousel doesn't work with php7.

Could you fix that? :)

Type: Ticket
Status: Archived
nesoor
View Replies:
blueatlas replied on at Permalink Reply
blueatlas
I'm running concrete5 8.2.1 with PHP 7.0. I ran across the following exception:

Exception Occurred: /var/www/hdpp/www/packages/whale_bootstrap_carousel/blocks/whale_bootstrap_carousel/controller.php:0 Declaration of Concrete\Package\WhaleBootstrapCarousel\Block\WhaleBootstrapCarousel\Controller::validate() should be compatible with Concrete\Core\Block\BlockController::validate($args) (2)

The fix is to change the validate() method in /packages/whale_bootstrap_carousel/blocks/whale_bootstrap_carousel/controller.php from:

public function validate()

to:

public function validate($args = '')
shahroq replied on at Permalink Reply
shahroq
This issue fixed on 1.1.3.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.

concrete5 Environment Information

Concrete5.8.1

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.54 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.