SOLVED: PHP Warning in Breadcrumbs in Footer with Bricks v1.8.1

Browser: Chrome 110
OS: Windows
URL: Link to a page that illustrates this issue

In Bricks v1.8.1 I added the breadcrumb element into the footer and get this PHP warning:

Warning: Attempt to read property "post_parent" on null in /home/httpd/vhosts/oberseechuchilachen.ch/staging.oberseechuchilachen.ch/wp-content/themes/bricks/includes/elements/breadcrumbs.php on line 440 Warning: Attempt to read property "ID" on null in /home/httpd/vhosts/oberseechuchilachen.ch/staging.oberseechuchilachen.ch/wp-content/themes/bricks/includes/elements/breadcrumbs.php on line 442 Warning: Attempt to read property "post_title" on null in /home/httpd/vhosts/oberseechuchilachen.ch/staging.oberseechuchilachen.ch/wp-content/themes/bricks/includes/elements/breadcrumbs.php on line 443 Warning: Attempt to read property "post_status" on null in /home/httpd/vhosts/oberseechuchilachen.ch/staging.oberseechuchilachen.ch/wp-content/themes/bricks/includes/elements/breadcrumbs.php on line 469

Thanks

Patric

Hi Patric,
Thanks so much for your report!

For PHP warnings, notices or errors, the PHP version is the crucial clue to reproduce the error. Which PHP version are you using?

Best regards,
timmse

Sorry, PHP Version 8.1.20

Hi Patric,
Unfortunately, I cannot reproduce the problem.

Would you be so kind as to send temporary login credentials and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase?

Hi Timmse

Email sent.

Thanks for your help

Patric

Hi Patric,
We’ve fixed this bug in Bricks 1.8.2, now available as a one-click update in your WordPress Dashboard.

Please let us know if you are still experiencing issues.

Best regards,
timmse

1 Like