Update:
I just copied the bricks_components files from the dev site to the local db and still get the fatal error. This looks like a bug with Bricks as opposed to an error in the migration.
Update:
I’ve discovered this is affecting multiple pages, not just two. Every page that uses a component is throwing the same error with different component IDs (‘pzyjbs’, ‘jtwtfa’, etc.).
It appears the bricks_global_data in wp_options didn’t migrate properly from WP Engine to Local, so all components are missing from the local database even though pages still reference them.
Issue: I pulled my site from dev to local and now I’m getting this error when I try to open the Bricks builder:
Fatal error: Uncaught TypeError: array_column(): Argument #1 ($array) must be of type array, bool given in helpers.php:1060
What’s Happening: A couple of my pages reference a component (ID: pzyjbs) that exists on dev but didn’t come over when I migrated to local. Looking at the code, it seems to be a nested accordion element within a component.
The real problem is: because of this one component error, I cannot access the builder on local
at all to remove the element causing the problem. I’m completely locked out of editing these pages in Bricks.
What I’ve Tried:
- Cleared all caches
- Re-importing page templates (but I think components are stored separately?)
- I can’t find a way to export/import individual components in Bricks
Questions:
- How do I properly export this component from dev so I can import it to local?
- Or is there another way to fix the reference without having access to the builder?
Any help would be appreciated - I’m stuck and can’t edit these pages at all!
Browser: Chrome (latest version) OS: Windows (Local by Flywheel environment) URL: Cannot provide - occurs on local development site when attempting to access builder Video: N/A
Detailed Description:
I’m using WP Engine for my live/dev environment and Local by Flywheel for local development.
Steps to Reproduce:
- Pull database from WP Engine dev site to Local by Flywheel
- Attempt to open Bricks builder on pages with post IDs 529 and 765
- Fatal error occurs immediately, preventing any access to the builder
Error Details: The error occurs in helpers.php at line 1060, where array_column() receives false instead of an array. This happens when the code tries to load component ‘pzyjbs’ which exists in the dev database but is missing from the local database after migration.
Impact: Complete loss of builder access on affected pages - cannot edit, cannot remove the problematic element, cannot access any templates or components through the builder interface on these pages.
Database Investigation: Confirmed via SQL that component ‘pzyjbs’ does not exist in local wp_options table under bricks_global_data, but the pages still contain references to it in their _bricks_page_content_2 meta values.



