Hello,
I have an issue with one of my websites. After updating laytheme and all plugins to the most recent version a page that before worked perfectly fine is completely unaccessible and shows a critical error. I used only two thumbnails on it and they seem to be responsible for the error since after activating wp-debug the debug.log shows the following errors.
Site: https://janine-boeckelmann.com/exhibitions/
debug.log:
[08-Nov-2021 17:26:39 UTC] PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/elements/thumbnail.php:208
Stack trace:
#0 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/elements/thumbnail.php(208): implode(Array, ',')
#1 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/el.php(103): LayThumbnail->getMarkup()
#2 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php(570): LayEl->__construct(Array, false)
#3 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php(213): Lay_Layout::getRowColElMarkup(Array)
#4 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php(38): Lay_Layout::getLayout(229, 'page')
#5 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/page.php(24): Lay_Layout::getLayoutInit()
#6 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-includes/template-loader.php(106): include('/customers/6/f/...')
#7 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-blog-header.php(19): require_once('/customers/6/f/...')
#8 /customers/6/f/c/janine-boeckelmann.com/httpd.www/index.php(17): require('/customers/6/f/...')
#9 {main}
thrown in /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/elements/thumbnail.php on line 208
[08-Nov-2021 17:26:41 UTC] PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/elements/thumbnail.php:208
Stack trace:
#0 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/elements/thumbnail.php(208): implode(Array, ',')
#1 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/el.php(103): LayThumbnail->getMarkup()
#2 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php(570): LayEl->__construct(Array, false)
#3 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php(213): Lay_Layout::getRowColElMarkup(Array)
#4 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php(38): Lay_Layout::getLayout(229, 'page')
#5 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/page.php(24): Lay_Layout::getLayoutInit()
#6 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-includes/template-loader.php(106): include('/customers/6/f/...')
#7 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-blog-header.php(19): require_once('/customers/6/f/...')
#8 /customers/6/f/c/janine-boeckelmann.com/httpd.www/index.php(17): require('/customers/6/f/...')
#9 {main}
thrown in /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/elements/thumbnail.php on line 208
[08-Nov-2021 17:26:41 UTC] PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/elements/thumbnail.php:208
Stack trace:
#0 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/elements/thumbnail.php(208): implode(Array, ',')
#1 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/el.php(103): LayThumbnail->getMarkup()
#2 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php(570): LayEl->__construct(Array, false)
#3 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php(213): Lay_Layout::getRowColElMarkup(Array)
#4 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php(38): Lay_Layout::getLayout(229, 'page')
#5 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/page.php(24): Lay_Layout::getLayoutInit()
#6 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-includes/template-loader.php(106): include('/customers/6/f/...')
#7 /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-blog-header.php(19): require_once('/customers/6/f/...')
#8 /customers/6/f/c/janine-boeckelmann.com/httpd.www/index.php(17): require('/customers/6/f/...')
#9 {main}
thrown in /customers/6/f/c/janine-boeckelmann.com/httpd.www/wp-content/themes/lay/frontend/assets/php/elements/elements/thumbnail.php on line 208
Hope you can help me with this issue.
Bests Jannik