Global Blocks Bug
Hi
I'm using brizy and polylang and I setup a Global Block on spanish and after that i duplicate the page. The problem was that the exclusion didn't work on English Page so I deactivate the global section and i deleted it but know it's still showing on every page, but on the editor is missing, i cant reorder the blocks and if i deactive polylang i get a WP Error on every site because of brizy
https://
[04-Aug-2025 23:05:27 UTC] PHP Fatal error: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, WP_Error given in /home/wildpatagonia/public_html/wp-content/plugins/brizy/admin/rule.php:149
Stack trace:
#0 /home/wildpatagonia/public_html/wp-content/plugins/brizy/admin/rule.php(149): array_map(Object(Closure), Object(WP_Error))
#1 /home/wildpatagonia/public_html/wp-content/plugins/brizy/admin/rule-set.php(57): Brizy_Admin_Rule->isMatching(1, 'page', Array)
#2 /home/wildpatagonia/public_html/wp-content/plugins/brizy/admin/blocks/main.php(286): Brizy_Admin_RuleSet->isMatching(1, 'page', Array)
#3 /home/wildpatagonia/public_html/wp-content/plugins/brizy/admin/blocks/main.php(221): Brizy_Admin_Blocks_Main->findMatchingBlocks(Array)
#4 /home/wildpatagonia/public_html/wp-content/plugins/brizy/admin/blocks/main.php(140): Brizy_Admin_Blocks_Main->getMatchingBrizyBlocks(Object(WP_Post))
#5 /home/wildpatagonia/public_html/wp-content/plugins/brizy/admin/blocks/main.php(57): Brizy_Admin_Blocks_Main->enqueueMatchedGlobalBlockAssets(Object(Brizy_Editor_Post))
#6 /home/wildpatagonia/public_html/wp-includes/class-wp-hook.php(324): Brizy_Admin_Blocks_Main->initializePreviewActions(Object(Brizy_Editor_Post))
#7 /home/wildpatagonia/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#8 /home/wildpatagonia/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#9 /home/wildpatagonia/public_html/wp-content/plugins/brizy/public/main.php(75): do_action('brizy_preview_m...', Object(Brizy_Editor_Post))
#10 /home/wildpatagonia/public_html/wp-content/plugins/brizy/editor.php(259): Brizy_Public_Main->previewMode()
#11 /home/wildpatagonia/public_html/wp-includes/class-wp-hook.php(324): Brizy_Editor->handleEditorPreviewMode(Object(WP))
#12 /home/wildpatagonia/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#13 /home/wildpatagonia/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#14 /home/wildpatagonia/public_html/wp-includes/class-wp.php(835): do_action_ref_array('wp', Array)
#15 /home/wildpatagonia/public_html/wp-includes/functions.php(1342): WP->main('')
#16 /home/wildpatagonia/public_html/wp-blog-header.php(16): wp()
#17 /home/wildpatagonia/public_html/index.php(17): require('/home/wildpatag...')
#18 {main}
thrown in /home/wildpatagonia/public_html/wp-content/plugins/brizy/admin/rule.php on line 149-
Hi Leonardo,
Thank you for contacting us.
As part of the troubleshooting process, could you please try temporarily deactivating all other plugins except for Brizy, Brizy Pro, and Polylang, then check if the issue still occurs? This will help us determine if another plugin might be causing a conflict.
Please try this and let me know how it goes.
Best regards,
Ariel H.0
Please sign in to leave a comment.
Comments
1 comment