CodeIgniter Forums
fatal logger emergency - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: fatal logger emergency (/showthread.php?tid=90846)

Pages: 1 2


RE: fatal logger emergency - dgvirtual - 07-23-2024

I just encountered the problem after upgrade from 4.4.8 to 4.5.3. So, what is the solution?

I removed php 8.1-psr as per @itissucex instructions:

sudo apt remove php8.1-psr
sudo systemctl reload apache2.service

And the system started to work.

The installed version of psr/log seems to be this:

"name": "psr/log",
"version": "3.0.0",

Am I ok without the package php 8.1-psr and should be content with this solution?


RE: fatal logger emergency - kenjis - 07-23-2024

Yes, you are okay.

Unfortunately php-psr is not updated and not compatible with CI 4.5.
https://github.com/jbboehr/php-psr/tags