Error : unserialize() expects parameter 1 to be string, array given in ***/includes/menu.inc on line 637
| Project: | Cache Router |
| Version: | 6.x-1.0-rc1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
I have traced this error. The cache entry of some menu items keep getting corrupted: the "options" value is already unserialized as an array in the cache entry, when it should be stored as a string (as for other menus item).
This happen for one of the Primary Links menu items, and I can reproduce the same error by creating another menu item linking to the same node. No idea why, but I suspect it may be due to some node access control (which is pretty messy in this site). I tried flushing cache and rebuilding permissions.
It happens with both APC and Memcache engines. I haven't got any problem with normal Drupal cache or the Memcache module, so I have switched to the latter.
Vianney Stroebel
Likwid - Spécialistes Drupal - Paris
