I'm having this error when using this cache on my panel page:

Notice: Trying to get property of non-object in panels_content_cache_get_id() (line 111 of /XXXXXX/sites/all/modules/panels_content_cache/plugins/cache/content.inc).

In my panel page there are products from drupal Commerce.
Any idea ?

Comments

Exploratus’s picture

Getting this as well. I have a pager in one of my panels, could that be it? Seems to check for some sort of pager.

Exploratus’s picture

Still happening. Also getting this when I have Panels Content Cache enabled on any pane. I am getting both of the errors, they go away as soon as I put on simple cache.

Notice: Undefined index: content_types in panels_content_cache_settings_form() (line 134 of /*****/sites/all/modules/panels_content_cache/plugins/cache/content.inc).

Notice: Trying to get property of non-object in panels_content_cache_get_id() (line 111 of /XXXXXX/sites/all/modules/panels_content_cache/plugins/cache/content.inc).

Exploratus’s picture

And because i had a checkbox filter in the panel...

Warning: Invalid argument supplied for foreach() in form_type_checkboxes_value() (line 2289/XXXXXX/includes/form.inc).

This error is not there with this module not in use.

damienmckenna’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)

This is a duplicate of #2145609: Undefined index PHP warning, which was recently fixed.