Error with PHP7

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

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

This could be fixed by changing one line of code in this file:
Line 141

public function registerViewAssets()

public function registerViewAssets($outputContent = '')

Should work again.

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

Thank you.
mlocati replied on at Permalink Reply
I posted a description (and the solution) of this problem here:

concrete5 Environment Information

Concrete5 7.5.6

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.