Exception when Installing

Permalink Browser Info Environment
Attempting to install results in an exception

Whoops \ Exception \ ErrorException (E_WARNING)
Declaration of Concrete\Package\SeisglIsotopeGallery\Block\SeisglIsotopeGallery\Controller::registerViewAssets() should be compatible with Concrete\Core\Block\BlockController::registerViewAssets($outputContent = '')

Type: Ticket
Status: In Progress
jero
View Replies:
jero replied on at Permalink Reply
jero
It's a very simple fix

packages/seisgl_isotope_gallery/blocks/seisgl_isotope_gallery/controller.php

replace:

public function registerViewAssets()


with

public function registerViewAssets($outputContent = '')

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.7
Version Installed - 8.5.7
Database Version - 20210623000000

# Database Information
Version: 8.0.27-0ubuntu0.20.04.1
SQL Mode: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION

# concrete5 Packages
Block Designer (3.3.0), Cycle2 Slide Show (1.1), Sarich Design & Build (0.11641421679)

# concrete5 Overrides
blocks/jero_cycle/view.php, blocks/jero_cycle, blocks/form/controller.php, blocks/form, controllers/fnarr.php

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

# Server Software
Apache/2.4.41 (Ubuntu)

# Server API
fpm-fcgi

# PHP Version
7.4.3

# PHP Extensions
bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, enchant, exif, FFI, fileinfo, filter, ftp, gd, gettext, hash, iconv, intl, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, Phar, posix, pspell, readline, Reflection, session, shmop, SimpleXML, soap, sockets, sodium, SPL, standard, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 518M
upload_max_filesize - 512M
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
unserialize_max_depth - 4096
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0

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.