Notice: Undefined offset: -1 in pager_entries_by_key() (line 289 of sites/all/modules/contrib/custom_pagers/custom_pagers.module).

It is possible for the pager_entries_by_val() function to call the pager_entries_by_key() function with -1 as the key, which will then throw this error because -1 is not a valid index for the $list array.

You can work around this by making sure your block does not appear on pages that aren't in the list but it should be made so that this error cannot happen.

CommentFileSizeAuthor
#1 custom_pagers-notice-1850360-1.patch398 bytesplach

Comments

plach’s picture

Status: Active » Needs review
StatusFileSize
new398 bytes

I tried all the patches from #1288368: Change to Views API breaks Custom Pagers display without luck, so I guess this is unrelated. Here is one fixing notices.

RKopacz’s picture

I am having this problem as well. I believe that it is because the post is scheduled to be published and not yet published. At least I think that is why. I expect that once the post is published, this will go away? Please if somebody could let me know, I am about to go live with a tutorial on a site that is to go live in three days, and I need to at least get assurance that this won't happen once the post goes live!

gapple’s picture

Status: Needs review » Closed (duplicate)