-
Notifications
You must be signed in to change notification settings - Fork 57
InvalidArgumentException: The following arguments are not supported: ttl #2
Comments
Can you provide the exception and the stacktrace? I need some more information. |
$ php app/console cache:clear -v [InvalidArgumentException]
|
Can you paste me the "lsw_memcache" section from "app/config/config.yml"? It seems you have a placed the "ttl" setting in the wrong place. |
I don't have ttl defined, here is the secion: lsw_memcache:
session:
client: session
prefix: "session_"
clients:
session:
hosts:
- { dsn: localhost, port: 11211 } |
I looked into MemcachedSessionHandler.php line 58 in the 2.1.7 tag but i did not see any clues, maybe you can post app/cache/dev_new/appDevDebugProjectContainer__515ee1b03db50__.php line 2250 to 2270 |
Are you sure you were looking at the correct file? It does a diff on the received parameters, and if any parameter is not 'prefix', or 'expiretime', it throws. |
Thank you very much for helping me out. You are completely right.. I fixed this issue in commit dae0578.. |
I'm receiving an exception when trying to clear the cache/access my site with the bundle installed. Symfony version is 2.1.7, and the exception happens in vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/MemcachedSessionHandler.php line 58.
I would post a stacktrace, but refers to my cached appDevDebugProjectContainer file, which is I believe no use to you.
The text was updated successfully, but these errors were encountered: