CodeIgniter Forums
Call to undefined method Config\Autoload::__set_state() - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: Call to undefined method Config\Autoload::__set_state() (/showthread.php?tid=91064)



Call to undefined method Config\Autoload::__set_state() - warcooft - 06-12-2024

[Image: 18P5uZ.jpg]

[Image: MpzJnC.jpg]

Where this file comes from? this causes the app break.

This happens on all pages, when i try clear cache using php spark cache:clear that files is deleted and then i try to open the app page the file again appears in the cache folder and caused error.

Let me know how to fix it, thanks for advance.

PHP: 8.3.7 — CodeIgniter: 4.5.2 


RE: Call to undefined method Config\Autoload::__set_state() - kenjis - 06-12-2024

See
https://codeigniter.com/user_guide/installation/deployment.html#config-caching
https://codeigniter.com/user_guide/installation/deployment.html#filelocator-caching


RE: Call to undefined method Config\Autoload::__set_state() - warcooft - 06-12-2024

Thank you @kenjis !