Hello,
In a fully functional site with Bricks 1.5, after upgrading to 1.5.1 RC i get white sceen of death.
I can see the code being there, but something is going wrong.
After reverting to 1.5 everything gets back to normal.
Hi Yannis,
Maybe there is a plugin conflict or something similar. Have you tried deactivating all plugins before updating and then gradually reactivating them?
The problem can have many causes, but without seeing anything/login data, I can only guess…
Best regards,
timmse
But version 1.5 is working ok, so its a bricks issue, not a plugin issue.
I think i will wait for the final release.
Most probably the issue will be solved by then.
Turn on debug mode in WP, it will show up the error instead of just the white screen. It could be some custom code somewhere, or from a plugin, that is now conflicting with Bricks that didn’t before. it’s better to find out the error now, before the full version, otherwise it’s unlikely to get fixed if nobody knows the error.
update: could be same issue as this - PHP fatal error trying to view blog archive with Bricks 1.5.1
With PHP 8.0 and 8.1 i get the following:
Fatal error : Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /home/demo1/public_html/wp-content/themes/bricks/includes/integrations/dynamic-data/providers.php:207 Stack trace: #0 /home/demo1/public_html/wp-content/themes/bricks/includes/integrations/dynamic-data/providers.php(207): strpos() #1 /home/demo1/public_html/wp-content/themes/bricks/includes/elements/base.php(1739): Bricks\Integrations\Dynamic_Data\Providers::render_content() #2 /home/demo1/public_html/wp-content/themes/bricks/includes/elements/social-icons.php(231): Bricks\Element->set_link_attributes() #3 /home/demo1/public_html/wp-content/themes/bricks/includes/elements/base.php(1973): Bricks\Element_Social_Icons->render() #4 /home/demo1/public_html/wp-content/themes/bricks/includes/frontend.php(390): Bricks\Element->init() #5 /home/demo1/public_html/wp-content/themes/bricks/includes/elements/container.php(559): Bricks\Frontend::render_element() #6 /home/demo1/public_html/wp-content/themes/bricks/includes/elements/base.php(1973): Bricks\Element_Container->render() #7 /home/demo1/public_html/wp-content/themes/bricks/includes/frontend.php(390): Bricks\Element->init() #8 /home/demo1/public_html/wp-content/themes/bricks/includes/elements/container.php(559): Bricks\Frontend::render_element() #9 /home/demo1/public_html/wp-content/themes/bricks/includes/elements/base.php(1973): Bricks\Element_Container->render() #10 /home/demo1/public_html/wp-content/themes/bricks/includes/frontend.php(390): Bricks\Element->init() #11 /home/demo1/public_html/wp-content/themes/bricks/includes/elements/container.php(559): Bricks\Frontend::render_element() #12 /home/demo1/public_html/wp-content/themes/bricks/includes/elements/base.php(1973): Bricks\Element_Container->render() #13 /home/demo1/public_html/wp-content/themes/bricks/includes/frontend.php(390): Bricks\Element->init() #14 /home/demo1/public_html/wp-content/themes/bricks/includes/elements/container.php(559): Bricks\Frontend::render_element() #15 /home/demo1/public_html/wp-content/themes/bricks/includes/elements/base.php(1973): Bricks\Element_Container->render() #16 /home/demo1/public_html/wp-content/themes/bricks/includes/frontend.php(390): Bricks\Element->init() #17 /home/demo1/public_html/wp-content/themes/bricks/includes/frontend.php(464): Bricks\Frontend::render_element() #18 /home/demo1/public_html/wp-content/themes/bricks/includes/frontend.php(676): Bricks\Frontend::render_data() #19 /home/demo1/public_html/wp-includes/class-wp-hook.php(307): Bricks\Frontend->render_header() #20 /home/demo1/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #21 /home/demo1/public_html/wp-includes/plugin.php(476): WP_Hook->do_action() #22 /home/demo1/public_html/wp-content/themes/bricks/header.php(17): do_action() #23 /home/demo1/public_html/wp-includes/template.php(770): require_once(’…’) #24 /home/demo1/public_html/wp-includes/template.php(716): load_template() #25 /home/demo1/public_html/wp-includes/general-template.php(48): locate_template() #26 /home/demo1/public_html/wp-content/themes/bricks/page.php(2): get_header() #27 /home/demo1/public_html/wp-includes/template-loader.php(106): include(’…’) #28 /home/demo1/public_html/wp-blog-header.php(19): require_once(’…’) #29 /home/demo1/public_html/index.php(17): require(’…’) #30 {main} thrown in**/home/demo1/public_html/wp-content/themes/bricks/includes/integrations/dynamic-data/providers.php** on line207
WIth PHP 7.4 everything seems to be working.
Hi Yannis,
Thanks for the info.
Does the error occur everywhere or only on certain pages like archives, single posts, …?
Best regards,
timmse
I get this in all pages, even in Bricks Templates.
From the duplicate, merged in here - confirming that downgrading PHP to 7.4 resolves the issue.
Hi guys,
We’ve fixed this bug in Bricks 1.5.1, which is soon available as a one-click update in your WordPress Dashboard.
Please let us know if you are still experiencing issues.
Best regards,
timmse