Update Feed.php#84
Conversation
Replace deprecated (boolean) cast with (bool) for PHP 8.5 compatibility
|
Changes in the latest version (1.5.16) broke navigation on our websites which then took me a few hours to identify the cause. This needs investigating as this is a backend module and shouldn't affect theme or modules? |
|
We encountered the same problem as likearocket. Replacing the deprecated (boolean) cast with (bool) solves the problem. Merge please. |
Would this be the change that broke our site? Didn't change any code to solve the problem, just rolled back the module and opened a ticket with Mageplaza which I'm awaiting a response. |
|
It could be... The same thing happened to us. We have PHP 8.5, and in this version, the boolean cast has been deprecated and replaced with bool. Making the change makes everything go back to normal. You can see if this is the problem by running a compile. You should see the error in red. |
We're still on PHP 8.4 though. |
Replace deprecated (boolean) cast with (bool) for PHP 8.5 compatibility