Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2100

Migrating and Upgrading to Joomla! 4.x • Errors with php8.2 / 8.3

$
0
0
I just migrated a Joomla 3 site (which was still on Joomla 3.10.0…) to Joomla 4.4.3. When I set PHP to 8.2 or above, I get the following errors in the admin login page if the error messages are set to maximum:

Code:

Deprecated: Creation of dynamic property Joomla\Database\Mysql\MysqlDriver::$charset is deprecated in /subsites/pintails-curlews.nl/libraries/vendor/joomla/database/src/Mysql/MysqlDriver.php on line 121Warning: session_name(): Session name cannot be changed after headers have already been sent in /libraries/vendor/joomla/session/src/Storage/NativeStorage.php on line 405
And in the frontend or if I'm already logged in in the admin and change the php version:

Code:

Deprecated: Creation of dynamic property Joomla\Database\Mysql\MysqlDriver::$charset is deprecated in/libraries/vendor/joomla/database/src/Mysql/MysqlDriver.phpon line121
I've removed the old template and all incompatible plugins. In fact the only non core extension is Akeeba backup.
I created a child template based on Cassiopeia. But even if I set the template to the default Cassiopeia I get these errors.

Must I conclude that Joomla 4 isn't really php 8.2+ compatible (though the recommended requirements state otherwise)? Should I stick to outdated php 8.1 or just ignore the warnings (which won't show if the error messages are set to none)?

Statistics: Posted by stevent — Mon Mar 11, 2024 12:56 pm



Viewing all articles
Browse latest Browse all 2100

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>