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

ntigh52’s picture

in the logs a lot of

Warning: Attempt to assign property of non-object ב-ctools_content_render() (שורה 301 מ-/home5/myfolder/public_html/mysite/sites/all/modules/ctools/includes/content.inc).
ntigh52’s picture

I 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

ntigh52’s picture

Title: after update to 1.2 ver I get all that msgs?!? » Attempt to assign property of non-object in-ctools_block_content_type_render
ntigh52’s picture

Title: Attempt to assign property of non-object in-ctools_block_content_type_render » Attempt to assign property of non-object in-ctools_block_content_type_render / in-ctools_block_content_render
ntigh52’s picture

Title: Attempt to assign property of non-object in-ctools_block_content_type_render / in-ctools_block_content_render » Attempt to assign property of non-object in-ctools_block_content_type_render / in-ctools_content_render
merlinofchaos’s picture

Priority: Critical » Normal
Status: Active » Closed (duplicate)

There's a patch that should fix this here: http://drupal.org/node/1739718#comment-6366456

Note: Warnings aren't critical.

ntigh52’s picture

Earl, sorry, I was worried about the warnings...
Thanks and sorry again.

r2integrated’s picture

Confirming 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!

rsvelko’s picture

patch 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

jegaudin’s picture

Exactly the same problem as #8 and #6 fixed it. Thanks

boclodoa’s picture

Had 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 :)