When trying to access Panels -> Content I get the error “Fatal error: Unsupported operand types in ../includes/common.inc on line 4462”.

CommentFileSizeAuthor
#2 web_bg.jpg6.79 KBathulya.baburaj

Comments

Triumphent’s picture

Same issue and same message here. Have you been able to fix this?

athulya.baburaj’s picture

Title: Fatal error: Unsupported operand types » article node is not installed
StatusFileSize
new6.79 KB
Triumphent’s picture

Title: article node is not installed » Fatal error: Unsupported operand types in ../includes/common.inc on line 4462
Triumphent’s picture

Triumphent’s picture

Status: Active » Closed (fixed)
subadmin’s picture

sAME ISSUE

Fatal error: Unsupported operand types in /var/www/htdocs/qa/qsdrupal/docroot/includes/common.inc on line 4455

:(

subadmin’s picture

issue fixed with the following patch

====================
diff --git a/plugins/content_types/block/block.inc b/plugins/content_types/block/block.inc
index 9d55e8a..0be16d5 100644
--- a/plugins/content_types/block/block.inc
+++ b/plugins/content_types/block/block.inc
@@ -286,13 +286,18 @@ function ctools_block_content_type_admin_info($subtype, $conf) {
list($module, $delta) = _ctools_block_get_module_delta($subtype, $conf);
$block = (object) module_invoke($module, 'block_view', $delta);

- // Sanitize the block because

tags can hose javascript up: - if (!empty($block->content)) { - $block->content = filter_xss_admin($block->content); - } + if (!empty($block)) { + // Sanitize the block because tags can hose javascript up: + if (!empty($block->content)) { + $block->content = filter_xss_admin(render($block->content)); + } - if (!empty($block) && !empty($block->subject)) { - $block->title = $block->subject; + if (!empty($block->subject)) { + $block->title = $block->subject; + } + elseif (empty($block->title)) { + $block->title = t('No title'); + } return $block; } } =======================
fnikola’s picture

Issue summary: View changes

Yes @subadmin, that is a patch from the thread @Triumphent has linked to in his post.

My update on how the patch in #12 at https://drupal.org/node/1925018#comment-7104288 fixes my issue - https://drupal.org/node/1925018#comment-8752405

Thanks All!