After last update to panels 7.x-3.5 version (and ctools 7.x-1.6 version), I get this warning and notice:
Warning: Illegal offset type en views_add_contextual_links() (línea 816 de /.../sites/all/modules/views/views.module).
Notice: Trying to get property of non-object en views_add_contextual_links() (línea 816 de /.../sites/all/modules/views/views.module).

Running drupal 7.34 and views module 7.x-3.8 with Contextual links module disabled in drupal core.

Running the view involved in the preview the warning not appear, nor the notice. But it does in panels preview.

Workaround:
Set hide contextual links to YES in the advanced view options.

I've another panels which uses other views and this issue doesn't appear on them. Those views have the hide contextual links set to NO.

I've created this issue report in ctools and views too.

Comments

gmclelland’s picture

Status: Active » Closed (duplicate)

Let's close this in favor of #2416589: Warning: Illegal offset type en views_add_contextual_links() which has a working patch.