Creating a nested layout preset freezes the page and area layouts

Permalink 0 0 Browser Info Environment
When I add an layout and within this layout I add another layout, then save this as a preset. This page can no longer be opened. Also page layouts cannot be added to other pages anymore. This results in the log error:
Exception Occurred: /home/bomgroup/public_html/concrete/src/Area/Layout/Preset/Provider/ThemeProvider.php:19 Invalid argument supplied for foreach() (2)

Only by clearing AreaLayoutPresets in the database I can continue.
Not 100% sure C5 has been build to handle presets like these. Would be great though!

1 Attachment


Status: New
bleenders

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.4
Version Installed - 8.5.4
Database Version - 20200609145307

# Database Information
Version: 10.1.44-MariaDB-0ubuntu0.18.04.1
SQL Mode: NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

# concrete5 Packages
Tribe29 Core (0.1.5)

# concrete5 Overrides
blocks/testimonial/form.php, blocks/testimonial/controller.php, blocks/testimonial/db.xml, blocks/testimonial

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.29 (Ubuntu)

# Server API
fpm-fcgi

# PHP Version
7.3.20-1+ubuntu18.04.1+deb.sury.org+1

# PHP Extensions
bcmath, blackfire, calendar, cgi-fcgi, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imagick, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, redis, Reflection, session, shmop, SimpleXML, sockets, sodium, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xdebug, 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 - 64M
upload_max_filesize - 32M
ldap.max_links - Unlimited
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
redis.pconnect.connection_limit - 0
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
xdebug.max_nesting_level - 250
xdebug.max_stack_frames - -1
xdebug.var_display_max_children - 128
xdebug.var_display_max_data - 512
xdebug.var_display_max_depth - 3
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0