Closed (duplicate)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2012 at 21:27 UTC
Updated:
7 Mar 2013 at 23:38 UTC
Help....
Please....
No active batch.
Warning: Attempt to assign property of non-object in-ctools_block_content_type_render() (line 152 from-/home5/myfolder/public_html/mysite/sites/all/modules/ctools/plugins/content_types/block/block.inc).
Warning: Attempt to assign property of non-object in-ctools_block_content_type_render() (line 153 from-/home5/myfolder/public_html/mysite/sites/all/modules/ctools/plugins/content_types/block/block.inc).
Warning: Attempt to assign property of non-object in-ctools_block_content_type_render() (line 162 from-/home5/myfolder/public_html/mysite/sites/all/modules/ctools/plugins/content_types/block/block.inc).
Warning: Attempt to assign property of non-object in-ctools_content_render() (line 289 from-/home5/myfolder/public_html/mysite/sites/all/modules/ctools/includes/content.inc).
Warning: Attempt to assign property of non-object in-ctools_content_render() (line 293 from-/home5/myfolder/public_html/mysite/sites/all/modules/ctools/includes/content.inc).
Warning: Attempt to assign property of non-object in-ctools_block_content_type_render() (line 152 from-/home5/myfolder/public_html/mysite/sites/all/modules/ctools/plugins/content_types/block/block.inc).
Warning: Attempt to assign property of non-object in-ctools_block_content_type_render() (line 153 from-/home5/myfolder/public_html/mysite/sites/all/modules/ctools/plugins/content_types/block/block.inc).
Notice: Trying to get property of non-object in-ctools_block_content_type_render() (line 156 from-/home5/myfolder/public_html/mysite/sites/all/modules/ctools/plugins/content_types/block/block.inc).
Warning: Attempt to assign property of non-object in-ctools_block_content_type_render() (line 156 from-/home5/myfolder/public_html/mysite/sites/all/modules/ctools/plugins/content_types/block/block.inc).
Warning: Attempt to assign property of non-object in-ctools_content_render() (line 289 from-/home5/myfolder/public_html/mysite/sites/all/modules/ctools/includes/content.inc).
Warning: Attempt to assign property of non-object in-ctools_content_render() (line 293 from-/home5/myfolder/public_html/mysite/sites/all/modules/ctools/includes/content.inc).
Warning: Attempt to assign property of non-object in-ctools_content_render() (line 300 from-/home5/myfolder/public_html/mysite/sites/all/modules/ctools/includes/content.inc).
Warning: Attempt to assign property of non-object in-ctools_content_render() (line 301 from-/home5/myfolder/public_html/mysite/sites/all/modules/ctools/includes/content.inc).
Comments
Comment #1
ntigh52 commentedin the logs a lot of
Comment #2
ntigh52 commentedI restore to 1.1 ver again and all works fine. (just copy ctools 1.1 folder - not db update)
what is the reason?
whats wrong?
thanks a lot
Comment #3
ntigh52 commentedComment #4
ntigh52 commentedComment #5
ntigh52 commentedComment #6
merlinofchaos commentedThere's a patch that should fix this here: http://drupal.org/node/1739718#comment-6366456
Note: Warnings aren't critical.
Comment #7
ntigh52 commentedEarl, sorry, I was worried about the warnings...
Thanks and sorry again.
Comment #8
r2integrated commentedConfirming patch in #6 works. Also wanted to add that while only warnings were generated, this issue prevented the Quicktabs module from displaying custom blocks, so it has an actual impact on functionality.
Thanks for the patch Earl!
Comment #9
rsvelko commentedpatch in 6 works... I had those warnings on a page that used 2 views slideshows placed via panels ... all fixed after the linked patch
curl http://drupal.org/files/1739718-fix-block-warning.patch | git apply
Comment #10
jegaudin commentedExactly the same problem as #8 and #6 fixed it. Thanks
Comment #11
boclodoa commentedHad the same problem: same warnings in a panel page with custom blocks and custom views.
patch #6 applied just fine, problem solved.
Thank you very much :)