If PHP error reporting is set to include E_STRICT, a php strict warning occurs in ctools_content_render():

Creating default object from empty value in (line 276 of /.../ctools/includes/content.inc).

Looks like this is somehow caused by an empty panel on our website but not sure if this is therefore a panels bug, so reporting it to the ctools project.

Files: 

Comments

Hmm. It's possible that this fixes it, just prior to the line above:

<?php
if (empty($content)) {
  return;
}
?>

However, I'd want to be sure it doesn't break anything when that actually happens.

Are you able to reproduce this situation still?

Status:Active» Postponed (maintainer needs more info)

Status:Postponed (maintainer needs more info)» Active

I'm able to reproduce it. It happened when calling views_content_views_panes_content_type_render() and ctools_entity_field_content_type_render() -- it seems those function might return as-well.

Status:Active» Needs review
StatusFileSize
new521 bytes

For drush-make here's the patch.

Status:Needs review» Fixed

Committed and pushed upstream.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Version:7.x-1.x-dev» 6.x-1.x-dev
Status:Closed (fixed)» Needs review
StatusFileSize
new498 bytes

Got the same error in 6.x
Here is the patch for it.

Status:Needs review» Fixed

Committed the d6 patch. Thanks!

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.