Creation of dynamic property depreciated
Posted
#7731
(In Topic #1962)
I have just created a brand new site from a softaculous installer which has installed composr v 10.0.43, and my hosting site php version is 8.2.13, however I am seeing a large number of errors similar to
Deprecated: Creation of dynamic property Breadcrumb_substitution_loader:
Deprecated: Creation of dynamic property Tempcode:
Any thoughts as to how this can be resolved
Thanks
Chris
Posted
supertramp4 said
Hi,
I have just created a brand new site from a softaculous installer which has installed composr v 10.0.43, and my hosting site php version is 8.2.13, however I am seeing a large number of errors similar to
Deprecated: Creation of dynamic property Breadcrumb_substitution_loader:substitution_current_match_key is deprecated in /home/vol8_8/[server]/htdocs/sources/breadcrumbs.php on line 157
Deprecated: Creation of dynamic property Tempcode:is_empty is deprecated in /home/vol8_8/[server]/htdocs/sources/tempcode.php on line 1930
Any thoughts as to how this can be resolved
Thanks
Chris
From “#295 - Menu link”, 26th May 2012
Hello,
[Edited] This is because you are running PHP 8.2. Composr CMS does not yet support PHP versions above 8.0. You can probably run Composr on 8.1 or 8.2, but you will get some deprecation errors. We're working on 8.1 right now but have not yet addressed 8.2. PHP 9 is going to remove a lot of past functionality which Composr uses, and Composr treats deprecations seriously, thus why you are receiving them.
The suggested workaround is to run Composr on PHP 8.0 for now.
Last edit: by PDStig
0 guests and 0 members have recently viewed this.
