Error with PHP7

Permalink Browser Info Environment
We had this error on our installation after chaning to php 7:

[code]
Declaration of Concrete\Package\VividThumbGallery\Block\VividThumbGallery\Controller::registerViewAssets() should be compatible with Concrete\Core\Block\BlockController::registerViewAssets($outputContent = '')
[\code]

This could be fixed by changing one line of code in this file:
vivid_thumb_gallery/blocks/vivid_thumb_gallery/controller.php
Line 141

Change:
[code]
public function registerViewAssets()
[\code]

To:
[code]
public function registerViewAssets($outputContent = '')
[\code]


Should work again.

Type: Discussion
Status: In Progress
webpresso
View Replies:
DevilDiva replied on at Permalink Reply
Indeed this fixed the error after moving site to a sandbox updated to php 7.
burbleweb replied on at Permalink Reply
I love it when people have taken the time to post their fixes and it works!

Thank you.

concrete5 Environment Information

Concrete5 7.5.6
PHP 7

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 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 have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.