I'm getting following errors when trying to create a new book:

Notice: Undefined index: title in function theme_book_title_link() (line 368 in file modules/book/book.module).
Notice: Undefined index: href in function theme_book_title_link() (line 368 in file modules/book/book.module).

I've had bundled book module enabled for a while and it was working before. I didn't used to create book content very often so I can't pinpoint at what time exactly I got to this.

Every old book and it's content are working as expected. I can edit them, attach new pages. But I can't create a new book at all. When I'm trying to, I'm getting these errors and my node are attached to the first (alphabet sorted) existing book.

That was discussed on the following forum thread: https://drupal.org/node/1847054# but it didn't got any significant replies.

As I am not a coder, I'm not sure how to debug/fix this. If somebody could tell what can I try to do, post additional info, etc I would be grateful.

Comments

dcam’s picture

Status: Active » Closed (duplicate)
Issue tags: -book

If the new book is unpublished, then this is a known issue. See #26552: Allow users with access to unpublished nodes to create unpublished books or #760102: book.module should correctly handle unpublished content. If that's not the case then we'll need more information, preferably exact steps to reproduce the problem on a clean install of D7. In the meantime, I'm going to close this issue as a duplicate, but feel free to re-open it if I'm wrong.