Message: Creation of dynamic property CI_URI::$config is deprecated Codeigniter [ERROR]
HTML-код
- Опубликовано: 8 авг 2023
- Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface:
An uncaught Exception was encountered Type: Error Message: Call to undefined function each()
PHP 8.2 Dynamic Properties Deprecated: how to use them anyway in a compatible way
Message: Creation of dynamic property CI_URI::$config
As suggested by ADyson, the solution is to use the #[AllowDynamicProperties] attribute just above the class definition.
Message: Undefined property: CI_DB_mysqli_driver::$query
Message: Undefined property: CI_Loader::$uri
jika kalian mendapatkan error seperti ini kalian bisa menambahkan code : #[\AllowDynamicProperties] pada bagian sebagai berikut :
1. Buka File : C:\xampp\htdocs\app-spp\system\core\URI.php
tambahkan : #[\AllowDynamicProperties]
sebelum baris : class CI_URI {
2. Buka File : C:\xampp\htdocs\app-spp\system\core\Router.php
tambahkan : #[\AllowDynamicProperties]
sebelum baris : class CI_Router {
3. Buka File : C:\xampp\htdocs\app-spp\system\core\Controller.php
tambahkan : #[\AllowDynamicProperties]
sebelum baris : class CI_Controller {
4. Buka File : C:\xampp\htdocs\app-spp\system\database\DB_driver.php
tambahkan : #[\AllowDynamicProperties]
sebelum baris : abstract class CI_DB_driver {
5. Buka File : C:\xampp\htdocs\app-spp\system\core\Loader.php
tambahkan : #[\AllowDynamicProperties]
sebelum baris : class CI_Loader {
Semoga dapat membantu
Terimakasih - Хобби
Thank you so much man!
Great!! thank you so much
makasih mas ilmunya bermanfaat
Thank you so much!!!!!
THANK YOU SIR/MADAM
Thanks bro🎉🎉
Thank you so much
Thank you dear! It helps to run my 4 years ago created project. God bless you
u welcome.
nice!
Sangat membantu
makasih bg gua like
Thanks
yap bro..
Message: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated
Filename: core/Security.php
can not fix
Please help me
P r o m o S M 🎉
Thank you