SOLVED: Bricks 1.7.3 not compatible with php 8.1

I had a critical website error on my site: horndoctor.com when viewing a page. I contact the host, Flywheel and this was their response.

PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /www/wp-content/themes/bricks/includes/assets.php:748

It looks like their most recent update isn’t compatible with PHP 8.1 so I’ve had to roll it back to PHP 7.4

Thanks

Alan

Hi Alan,
Thanks so much for your report, and welcome to the forum!

Can you reproduce the problem in a staging environment or other installation and send us access data and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase, so we can look at what’s causing the issue?

Best regards,
timmse

I have sites on 8.1 all working fine with no errors

Hi, Checking in on this as I have just run into this exact same issue. Please let me know if there is anything I can do to help resolve this.

Thanks so much!
Suzanne

Hey @AlanM @sbaker ,
Can you please try to disable the google fonts within Bricks settings?
If it then works without problems, it is a known problem that will be solved in Bricks 1.8.

Hi, I just updated to 8.1 on staging and it worked whether Google Fonts is enabled or not.

I’m glad to hear that :slight_smile:

We’ve fixed this issue in Bricks 1.8 beta, now available as a manual download in your account.

Please let us know if you are still experiencing issues.

As with any beta release, please do not use it on any production/live website. It is only meant for testing in a local/staging environment.

Best regards,
timmse

1 Like