Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.3
Component:
Page Manager
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2013 at 12:21 UTC
Updated:
7 May 2014 at 02:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Triumphent commentedSame issue and same message here. Have you been able to fix this?
Comment #2
athulya.baburaj commentedComment #3
Triumphent commentedComment #4
Triumphent commentedFound the fix:
https://drupal.org/node/1925018#comment-7395190
Comment #5
Triumphent commentedComment #6
subadmin commentedsAME ISSUE
Fatal error: Unsupported operand types in /var/www/htdocs/qa/qsdrupal/docroot/includes/common.inc on line 4455
:(
Comment #7
subadmin commentedissue 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; } } =======================Comment #8
fnikola commentedYes @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!