Undefined array key "block_record" error

Permalink Browser Info Environment
I think this is a typo.
- $this->btCacheBlockRecord = $config['block_record'];
+ $this->btCacheBlockRecord = $config['config']['block_record'];


Full trace
Whoops\Exception\ErrorException thrown with message "Undefined array key "block_record""
Stacktrace:
#34 Whoops\Exception\ErrorException in /Users/hissy/Projects/mitsumura-cms/packages/block_developer/src/BlockDeveloper/Block/BlockController.php:80
#33 Whoops\Run:handleError in /Users/hissy/Projects/mitsumura-cms/packages/block_developer/src/BlockDeveloper/Block/BlockController.php:80
#32 Devoda\BlockDeveloper\BlockDeveloper\Block\BlockController:__construct in /Users/hissy/Projects/mitsumura-cms/packages/mitsumura/blocks/mtmr_grade_specific/controller.php:13
#31 Concrete\Package\Mitsumura\Block\MtmrGradeSpecific\Controller:__construct in [internal]:0
#30 ReflectionClass:newInstanceArgs in /Users/hissy/Projects/mitsumura-cms/concrete/vendor/illuminate/container/Container.php:917
#29 Illuminate\Container\Container:build in /Users/hissy/Projects/mitsumura-cms/concrete/src/Application/Application.php:445
#28 Concrete\Core\Application\Application:build in /Users/hissy/Projects/mitsumura-cms/concrete/vendor/illuminate/container/Container.php:758
#27 Illuminate\Container\Container:resolve in /Users/hissy/Projects/mitsumura-cms/concrete/vendor/illuminate/container/Container.php:694
#26 Illuminate\Container\Container:make in /Users/hissy/Projects/mitsumura-cms/concrete/src/Entity/Block/BlockType/BlockType.php:690
#25 Concrete\Core\Entity\Block\BlockType\BlockType:loadController in /Users/hissy/Projects/mitsumura-cms/concrete/src/Block/BlockType/BlockType.php:65
#24 Concrete\Core\Block\BlockType\BlockType:getByID in /Users/hissy/Projects/mitsumura-cms/concrete/src/Block/Block.php:249
#23 Concrete\Core\Block\Block:getByID in /Users/hissy/Projects/mitsumura-cms/concrete/src/Page/Collection/Collection.php:947
#22 Concrete\Core\Page\Collection\Collection:getBlocks in /Users/hissy/Projects/mitsumura-cms/concrete/src/Page/Controller/PageController.php:353

Type: Ticket
Status: In Progress
concrete5cojp
View Replies:
ramonleenders replied on at Permalink Reply
ramonleenders
Hi there,

Thanks for pointing this out. I fixed this, along with some other caching options which weren't set correctly.

See the CHANGELOG for the full change list! Thanks for being so precise in mentioning the error and fix :)

Kind regards
Ramon
concrete5cojp replied on at Permalink Reply
concrete5cojp
Thank you! It seems fine
concrete5cojp replied on at Permalink Reply
concrete5cojp
Unfortunately, block_output_on_post is still error
concrete5cojp replied on at Permalink Reply
concrete5cojp
Also block_output_for_registered_users is error
ramonleenders replied on at Permalink Reply
ramonleenders
Hey,

Must have been blind. Indeed these values were incorrect too. They should be fixed with version 1.4.5 as well, sorry for that!

Kind regards
Ramon

concrete5 Environment Information

# Concrete Version
Core Version - 9.1.3
Version Installed - 9.1.3
Database Version - 20220908074900

# Hostname
Takuros-MacBook-Pro.local

# Environment
valet

# Database Information
Version: 5.7.39
SQL Mode: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

# Concrete Packages
Advanced HTML Block (1.1), Block Developer (1.4.3), Content Templates for CKEditor (0.1.1), Migration Tool (9.0.0), Minify HTML (2.0.0), Mitsumura Tosho (0.0.1)

# Concrete Overrides
blocks/content/add.php, blocks/content/view.php, blocks/content/templates/no_style.php, blocks/content/templates, blocks/content/edit.php, blocks/content

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

# Server Software
nginx/1.23.2

# Server API
fpm-fcgi

# PHP Version
8.1.12

# PHP Extensions
bcmath, blackfire, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, exif, FFI, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, PDO, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, Reflection, session, shmop, SimpleXML, soap, sockets, sodium, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xdebug, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 512M
post_max_size - 512M
upload_max_filesize - 512M
zend.exception_string_param_max_len - 15
ldap.max_links - Unlimited
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
unserialize_max_depth - 4096
xdebug.max_nesting_level - 256
xdebug.max_stack_frames - -1
xdebug.var_display_max_children - 128
xdebug.var_display_max_data - 512
xdebug.var_display_max_depth - 3
opcache.jit_bisect_limit - 0
opcache.jit_max_exit_counters - 8192
opcache.jit_max_loop_unrolls - 8
opcache.jit_max_polymorphic_calls - 2
opcache.jit_max_recursive_calls - 2
opcache.jit_max_recursive_returns - 2
opcache.jit_max_root_traces - 1024
opcache.jit_max_side_traces - 128
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 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.