Beberapa error ketika upgrade Codeigniter dari PHP 5.6 ke PHP versi 8
- Message: Creation of dynamic property CI_URI::$config is deprecated Solusinya : Tambahkan sebelum nama Class #[\AllowDynamicProperties] Pada file URI.ph
- Message: Creation of dynamic property MY_Router::$uri is deprecated Solusinya : Tambahkan sebelum nama Class #[\AllowDynamicProperties] Pada file router.ph
- Message: strpos(): Passing null to parameter #2 ($needle) of type string is deprecated
- Message: Creation of dynamic property CI_URI::$config is deprecated
- Message: Creation of dynamic property MY_Router::$uri is deprecated