I recently upgraded all the modules on my site and my "Panels Flexible Layouts" seem to have stopped working. The CSS is just never generated for them. Disabling "Panels Hash Cache" solves the problem. I've tried removing and adding back the cache settings, flushing all the cache via the devel module, and everything else I can think of. But nothing seems to be working. Any idea what might be going on.

Comments

phayes’s picture

Hi animelion,

Can you try to use one of the default caching methods and see if you have the same trouble? I just want to confirm that this is a problem in panels-hash-cache and not panels and/or flexible-layouts...

bryancasler’s picture

I'll test that today and report back.

bryancasler’s picture

I have a mini-panel that uses a flexible layout. That mini-panel is then inserted into a full panel's page. On that page I had the mini panel setup to use Hash Cache.

I found I could resolve the issue by disabling hash caching on the inserted mini panel, saving the page and then re-enabling hash caching on the mini-panel.

Not sure if it's related, but I did find this in my watchdog...

Notice: Undefined property: panels_display::$cache_key in panels_hash_cache_get_id() (line 90 of C:\xampp\htdocs\ivaw\sites\all\modules\panels_hash_cache\plugins\cache\panels_hash_cache.inc).
bryancasler’s picture

Deleting everything in the "panels_hash_cache" table seems to have resolved the problems. However I'm getting a crap ton of the notices I mentioned in the previous post. Should I file another issue for that notice?

pwaterz’s picture

Does your mini panel have any context?

bryancasler’s picture

The mini panel and the panel's page does not have any context.

phayes’s picture

Hi animelion,

Would you be willing to create a feature that demonstrates the problem and post here?

bryancasler’s picture

Phayes, I don't think I would be able to do that. I would be happy to make a backup of the live site and do some screen sharing/testing if that could help you troubleshoot.

bryancasler’s picture

Status: Active » Closed (duplicate)

Looks like updating to the dev release will include this patch #1405900: Notice: Undefined property: panels_display::$cache_key in panels_hash_cache_get_id(). This should resolve my problem. Will re-open if it's not fixed.