![php - Cara Mengatasi Warning: Illegal string offset saat menggunakan foreach - Kotakode - Kotakode.com | Komunitas Developer Indonesia php - Cara Mengatasi Warning: Illegal string offset saat menggunakan foreach - Kotakode - Kotakode.com | Komunitas Developer Indonesia](https://storage.googleapis.com/kotakode-prod-public/images/4c0fd23b-9f4f-46ec-8fb7-b2db0dfe2472-image.png)
php - Cara Mengatasi Warning: Illegal string offset saat menggunakan foreach - Kotakode - Kotakode.com | Komunitas Developer Indonesia
![I'm using Codeigniter 4 with PHP 8.1.6 version, I've encountered this this error 'Trying to access array offset on value of type null', How can I solve it? - Quora I'm using Codeigniter 4 with PHP 8.1.6 version, I've encountered this this error 'Trying to access array offset on value of type null', How can I solve it? - Quora](https://qph.cf2.quoracdn.net/main-thumb-1980477752-200-xroeefimkbxqzqxilyusknihkzkkcqnm.jpeg)
I'm using Codeigniter 4 with PHP 8.1.6 version, I've encountered this this error 'Trying to access array offset on value of type null', How can I solve it? - Quora
![PHP 7.1 Warnings: Illegal String Offset + Cannot Assign Empty String To String Offset (working fine in PHP 7.0 and lower) - TehnoBlog.org PHP 7.1 Warnings: Illegal String Offset + Cannot Assign Empty String To String Offset (working fine in PHP 7.0 and lower) - TehnoBlog.org](https://tehnoblog.org/wp-content/uploads/2017/03/php.png)