I’ve been using Laravel Herd for my localhost on MacOS 14.8.3 and developing a site locally in EE 6.4.17.
All going well until I check this morning and get the following error when viewing the homepage which does not show any content except this error:
==================
ParseError Caught syntax error, unexpected ‘|’, expecting ‘{’ compat.php:71
==================
I was using Php 7.4 and all was fine. If I switch to Php 8.2 the site content shows but with a header error as follows:
==================
Deprecated Creation of dynamic property Url_helper_ext::$config is deprecated user/addons/url_helper/ext.url_helper.php, line 68
Severity: E_DEPRECATED
Deprecated Creation of dynamic property Url_helper_ext::$prefix is deprecated user/addons/url_helper/ext.url_helper.php, line 69
Severity: E_DEPRECATED
==================
Assuming the issue was in Herd, I thought, ok no probs, I have a test dev site working on a live server which is fine… I go there and exact same errors occur.
No changes to either except uploading Reinos Store module. I know it is not this as I have removed module and is still occurring. So this is ruled out.
Any advice on a fix?
Additional - CP shows differing errors:
================== Deprecated Creation of dynamic property Url_helper_ext::$config is deprecated user/addons/url_helper/ext.url_helper.php, line 68
Severity: E_DEPRECATED Deprecated Creation of dynamic property Url_helper_ext::$prefix is deprecated user/addons/url_helper/ext.url_helper.php, line 69
Severity: E_DEPRECATED Deprecated Creation of dynamic property Url_helper_ext::$config is deprecated user/addons/url_helper/ext.url_helper.php, line 68
Severity: E_DEPRECATED Deprecated Creation of dynamic property Url_helper_ext::$prefix is deprecated
I can’t upgrade to V7 for client reasons and their setup which in several ways requires EE6.
Any ideas?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.