PHP 8.2 and later


Example
Deprecated: Creation of dynamic property Tempcode::$is_all_static is deprecated in /home/witches/public_html/sources/tempcode.php on line 1707
Deprecated: Creation of dynamic property Tempcode::$is_all_static is deprecated in /home/witches/public_html/sources/tempcode.php on line 1707
Deprecated: Creation of dynamic property Tempcode::$pure_lang is deprecated in /home/witches/public_html/sources/tempcode.php on line 314
Deprecated: Creation of dynamic property Tempcode::$is_all_static is deprecated in /home/witches/public_html/sources/tempcode.php on line 1707
Deprecated: Creation of dynamic property Tempcode::$is_all_static is deprecated in /home/witches/public_html/sources/tempcode.php on line 1707
And this leads to: Dynamic Properties are deprecated - PHP 8.2 • PHP.Watch
There may be a PHP.ini setting to defeat this, but as of PHP 9+, these will be fatal errors.


You can disable those errors under Setup → Configuration → Site options → Error handling
- Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
- Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
- Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
- Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
- Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.


Malatesa said
With fresh install of v11, using PHP 8.2 or later, we get a ton of:
Example
Deprecated: Creation of dynamic property Tempcode::$is_all_static is deprecated in /home/witches/public_html/sources/tempcode.php on line 1707
Deprecated: Creation of dynamic property Tempcode::$is_all_static is deprecated in /home/witches/public_html/sources/tempcode.php on line 1707
Deprecated: Creation of dynamic property Tempcode::$pure_lang is deprecated in /home/witches/public_html/sources/tempcode.php on line 314
Deprecated: Creation of dynamic property Tempcode::$is_all_static is deprecated in /home/witches/public_html/sources/tempcode.php on line 1707
Deprecated: Creation of dynamic property Tempcode::$is_all_static is deprecated in /home/witches/public_html/sources/tempcode.php on line 1707
And this leads to: Dynamic Properties are deprecated - PHP 8.2 • PHP.Watch
There may be a PHP.ini setting to defeat this, but as of PHP 9+, these will be fatal errors.
From “PHP 8.2 and later”, 16th August 2023, 3:33 am
I solved this very easy.
In .htaccess file (root file) you need to add following lines:
<FilesMatch "\.(inc|php5|php4|php3|php2|php|phtml)$">
SetHandler application/x-lsphp74
</FilesMatch>
I have several webpages, and now I am strugling with Joomla…. And latest version runs only on php 8.x, so I have tons of "Deprecated…." messages, very anoying for working in admin panel.
Since change in .htaccess works like a charm. Composr and Joomla.


- Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
- Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
- Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
- Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
- Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.