Vivid Tumb Gallery

Trying to install this add-on. We have used it before but on a new client site we get this error:

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

We originally were doing this on a Cloned Copy of Elemental and thought that to be the problem. We then reinstalled and used the vanilla install - same error.

Client wants to use V8 as it has the add-ons they want (many are not V9 ready).

Environment details:

concrete5 Version

Core Version - 8.5.9
Version Installed - 8.5.9
Database Version - 20220319043123

Database Information

Version: 10.4.33-MariaDB
SQL Mode: STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

concrete5 Packages

Thumb Gallery (1.0.3)

concrete5 Overrides

None

concrete5 Cache Settings

Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

PHP Version

7.4.33

PHP Extensions

bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, exif, fileinfo, filter, gd, gettext, hash, iconv, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pgsql, Phar, readline, Reflection, session, SimpleXML, soap, SPL, standard, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, Zend OPcache, zip, zlib

That addon is unmaintained and unsupported for many years. Unless you want to stitch the site into a dead end, use a different gallery.

There are plenty of other galleries, free and paid, that are both maintained and fully compatible with current Concrete versions.

Fair enuff and I agree. However, we have tried several other image/gallery add-ons and get similar errors. For: VividThumbGallery,dynamic_images, Simple Gallery spawns these types of errors as well:
Declaration of Concrete\Package\VividThumbGallery\Block\VividThumbGallery\Controller::registerViewAssets() should be compatible with Concrete\Core\Block\BlockController::registerViewAssets($outputContent = ‘’)

This leads us to think we are missing something, maybe an extension or something. We’ve compared active site php extentions with our dev environment and everything seems fine.

As mentioned, we have used these before and on other sites without incident.

Ideally going to V9 would be a best bet scenario, but we are not up to speed on it yet and the client wants certain add-ons that are just no V9 ready.

You are not missing any add-ons there is just an incompatibility in the code. The registerViewAssets function in the VividThumbGallery controller.php needs to be updated to be compatible.

hutman, Thanks for this. Not sure what is meant by updating registerViewAssets. What do I need to update?

We did this already:
registerViewAssets($outputContent = ‘’)

Same issue here with possible solution… Block zoomer error, unable to edit pages,