[ad_1]
Hi,
Updated to the latest plugin version, and there is a fatal error on one site:
thrown in /home/xxxxxx/public_html/wp-content/plugins/kadence-blocks/includes/blocks/class-kadence-blocks-advancedgallery-block.php on line 769
[21-Nov-2024 06:59:40 UTC] PHP Fatal error: Uncaught TypeError: html_entity_decode(): Argument #1 ($string) must be of type string, array given in /home/xxxxxx/public_html/wp-content/plugins/kadence-blocks/includes/blocks/class-kadence-blocks-advancedgallery-block.php:769
Stack trace:
#0 /home/xxxxxx/public_html/wp-content/plugins/kadence-blocks/includes/blocks/class-kadence-blocks-advancedgallery-block.php(769): html_entity_decode(Array, 3, 'UTF-8')
#1 /home/xxxxxx/public_html/wp-content/plugins/kadence-blocks/includes/blocks/class-kadence-blocks-advancedgallery-block.php(575): Kadence_Blocks_Advancedgallery_Block->render_gallery_images(Array, Array)
#2 /home/xxxxxx/public_html/wp-content/plugins/kadence-blocks/includes/blocks/class-kadence-blocks-abstract-block.php(245): Kadence_Blocks_Advancedgallery_Block->build_html(Array, '1883_5443a0-34', '<ul class="kb-g...', Object(WP_Block))
#3 /home/xxxxxx/public_html/wp-includes/class-wp-block.php(519): Kadence_Blocks_Abstract_Block->render_css(Array, '', Object(WP_Block))
#4 /home/xxxxxx/public_html/wp-includes/blocks.php(2061): WP_Block->render()
#5 /home/xxxxxx/public_html/wp-includes/blocks.php(2113): render_block(Array)
#6 /home/xxxxxx/public_html/wp-includes/class-wp-hook.php(324): do_blocks('<!-- wp:separat...')
#7 /home/xxxxxx/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('<!-- wp:separat...', Array)
#8 /home/xxxxxx/public_html/wp-includes/post-template.php(256): apply_filters('the_content', '<!-- wp:separat...')
#9 /home/xxxxxx/public_html/wp-content/themes/kadence/template-parts/content/entry_content.php(16): the_content('Seguir leyendo ...')
#10 /home/xxxxxx/public_html/wp-includes/template.php(812): require('/home/xxxxxx/...')
#11 /home/xxxxxx/public_html/wp-includes/template.php(745): load_template('/home/xxxxxx/...', false, Array)
#12 /home/xxxxxx/public_html/wp-includes/general-template.php(206): locate_template(Array, true, false, Array)
#13 /home/xxxxxx/public_html/wp-content/themes/kadence/template-parts/content/single-entry.php(28): get_template_part('template-parts/...', 'page')
#14 /home/xxxxxx/public_html/wp-includes/template.php(812): require('/home/xxxxxx/...')
#15 /home/xxxxxx/public_html/wp-includes/template.php(745): load_template('/home/xxxxxx/...', false, Array)
#16 /home/xxxxxx/public_html/wp-includes/general-template.php(206): locate_template(Array, true, false, Array)
#17 /home/xxxxxx/public_html/wp-content/themes/kadence/inc/template-functions/single-functions.php(27): get_template_part('template-parts/...', 'page')
#18 /home/xxxxxx/public_html/wp-includes/class-wp-hook.php(324): Kadence\single_content('')
#19 /home/xxxxxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#20 /home/xxxxxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#21 /home/xxxxxx/public_html/wp-content/themes/kadence/template-parts/content/single.php(34): do_action('kadence_single_...')
#22 /home/xxxxxx/public_html/wp-includes/template.php(812): require('/home/xxxxxx/...')
#23 /home/xxxxxx/public_html/wp-includes/template.php(745): load_template('/home/xxxxxx/...', false, Array)
#24 /home/xxxxxx/public_html/wp-includes/general-template.php(206): locate_template(Array, true, false, Array)
#25 /home/xxxxxx/public_html/wp-content/themes/kadence/inc/template-functions/single-functions.php(20): get_template_part('template-parts/...', 'page')
#26 /home/xxxxxx/public_html/wp-includes/class-wp-hook.php(324): Kadence\single_markup('')
#27 /home/xxxxxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#28 /home/xxxxxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#29 /home/xxxxxx/public_html/wp-content/themes/kadence/page.php(20): do_action('kadence_single')
#30 /home/xxxxxx/public_html/wp-includes/template-loader.php(106): include('/home/xxxxxx/...')
#31 /home/xxxxxx/public_html/wp-blog-header.php(19): require_once('/home/xxxxxx/...')
#32 /home/xxxxxx/public_html/index.php(17): require('/home/xxxxxx/...')
#33 {main}
PHP 8.3. Disabling all other plugins and enabling a WordPress twenty^ theme does not resolve the error. Happy to help to debug this.
The page I need help with: [log in to see the link]