TypeError when trying to use MemcachedHandler for sessions |
I am trying to use MemcachedHandler for my sessions.
I have thus these two lines in Config\Session.php: PHP Code: public string $driver = MemcachedHandler::class; I get the following error : Quote:TypeError PHP Code: public string $driver = 'CodeIgniter\Session\Handlers\MemcachedHandler'; It is recommended that you learn about PHP's namespacing or how to specify a classname.
PHP.net - Namespaces overview
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(04-18-2024, 04:26 PM)kenjis Wrote: Oh sorry, my fault. The import generated by PHPStorm was the wrong one and ( I didn't even think to check it (both extend BaseHandler then no warning was triggered). ... which is probably why it's called MemcachedSessionHandler in Symfony. |
Welcome Guest, Not a member yet? Register Sign In |