A bug appeared with Concrete 8.4.1

Permalink Browser Info Environment
A bug appears if you create a block with the addon and not choose to install it directly. After you click on Block Types you get the following:

Argument 1 passed to Concrete\Core\Url\Resolver\Manager\ResolverManager::resolve() must be of the type array, string given, called in /home/ala54963/public_html/sfr/concrete/single_pages/dashboard/blocks/types/view.php on line 95 and defined

Type: Pre-Sale
Status: Resolved
View Replies:
ramonleenders replied on at Permalink Reply
Hi there,

This is a concrete5 bug. You can fix it like this. Go to this file:

/concrete/single_pages/dashboard/blocks/types/view.php, line 95

Change this line (95):

<a href="<?= $urlResolver->resolve('/dashboard/blocks/types', 'install', $bt->getBlockTypeHandle()) ?>" class="btn pull-right btn-sm btn-default"><?= t('Install') ?></a>

To this line:

<a href="<?= $urlResolver->resolve(['/dashboard/blocks/types', 'install', $bt->getBlockTypeHandle()]) ?>" class="btn pull-right btn-sm btn-default"><?= t('Install') ?></a>

That will fix the error you have!

Kind regards,

ramonleenders replied on at Permalink Reply
Added this as a bug/issue on GitHub, expect it to be fixed in the new concrete5 version:

ramonleenders replied on at Permalink Reply
Seems to be fixed already:


Will be 100% in next release. So you can fix manually as mentioned or copy the file over from GitHub!
twomoons replied on at Permalink Reply
Will do that. Thank you very much for the quick reply.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.4.1
Version Installed - 8.4.1
Database Version - 20180710203437

# concrete5 Packages
Block Designer (3.1.3), Block Designer Pro (3.0.0), ExchangeCore reCAPTCHA (1.1.1), Formidable (Full Version) (1.1.3), Moon Gallery (1.0.1)

# concrete5 Overrides
blocks/autonav/view.php, blocks/autonav, themes/defaulttheme/css/presets/defaults.less, themes/defaulttheme/css/presets, themes/defaulttheme/css/animate.min.css, themes/defaulttheme/css/Thumbs.db, themes/defaulttheme/css/style.less, themes/defaulttheme/css, themes/defaulttheme/page_theme.php, themes/defaulttheme/images/Thumbs.db, themes/defaulttheme/images/logo-2x.png, themes/defaulttheme/images/logo.png, themes/defaulttheme/images, themes/defaulttheme/elements/footer.php, themes/defaulttheme/elements/head.php, themes/defaulttheme/elements/header.php, themes/defaulttheme/elements/footer_scripts.php, themes/defaulttheme/elements/banner.php, themes/defaulttheme/elements, themes/defaulttheme/thumbnail.png, themes/defaulttheme/Thumbs.db, themes/defaulttheme/blog.php, themes/defaulttheme/home.php, themes/defaulttheme/view.php, themes/defaulttheme/page_not_found.php, themes/defaulttheme/description.txt, themes/defaulttheme/js/flexslider/images/bg_play_pause.png, themes/defaulttheme/js/flexslider/images, themes/defaulttheme/js/flexslider/fonts/flexslider-icon.eot, themes/defaulttheme/js/flexslider/fonts/flexslider-icon.woff, themes/defaulttheme/js/flexslider/fonts/flexslider-icon.svg, themes/defaulttheme/js/flexslider/fonts/flexslider-icon.ttf, themes/defaulttheme/js/flexslider/fonts, themes/defaulttheme/js/flexslider/jquery.flexslider-min.js, themes/defaulttheme/js/flexslider/flexslider.css, themes/defaulttheme/js/flexslider, themes/defaulttheme/js/jquery.bpopup.min.js, themes/defaulttheme/js, themes/defaulttheme/default.php, themes/defaulttheme

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

# Server Software

# Server API

# PHP Version

# PHP Extensions
apc, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, json, libxml, litespeed, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, posix, pspell, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, 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 - -1
max_input_vars - 1000
memory_limit - 512M
post_max_size - 32M
sql.safe_mode - Off
upload_max_filesize - 32M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
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

Browser User-Agent String

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