Hello:
Not sure if this is where I ask the question, but am kind of desperate -- am working on this website locally before uploading it to our server for my church. I am familiar with DRUPAL from a template website provided from a trade organization (booksellers association) so I understand menus, blocks, pages etc. but this is the first time I actually do a site from scratch using a distribution. After deleting the directions block that was showing up in the provided "openchurch" template and replacing it with a new block with a graphic and text this message showed up on the front page of the website in the admin mode and in the public mode:

Notice: Trying to get property of non-object in block_block_view() (line 245 of D:\Downloads\DrupalStack\openchurch-7.x-1.x-dev-core\openchurch-7.x-1.x-dev\modules\block\block.module).
Notice: Trying to get property of non-object in block_block_view() (line 245 of D:\Downloads\DrupalStack\openchurch-7.x-1.x-dev-core\openchurch-7.x-1.x-dev\modules\block\block.module).

I am using the bartik theme within openchurch.

Also, when trying to edit text in the view for the ministry list page I get the messages in the attached screenshot.

Thank you.

Joanne Bibeau

Comments

stmparish’s picture

This mysterious message as to non-object in block_block_view disappeared as quietly as it appeared. Based on what I had done, I am guessing it was tied to an old gif graphic, but not sure at all.

Am still getting the attached notice in the view mode but can close it and get in and make changes to the text.

drupalninja99’s picture

Status: Active » Needs review

Oh okay, I think what you want to do is first remove the block from the context at admin/structure/context so that it is no longer referenced. Then you can delete it safely. Or you can go ahead and do that now that it is already deleted. What's happening is it's trying to reference a block that's been deleted.

Also be sure you work against a stable version, you should not be using the dev branch - this branch is specifically for testing new features/fixes.

drupalninja99’s picture

Status: Needs review » Postponed (maintainer needs more info)
drupalninja99’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)