I'm getting undefined offset errors if menu item for the view is a default tab. For example, if I have commerce_product_ui module installed, the path for the view is admin/commerce/products/list, menu link is a default tab, but when I navigate on the website, the URL of the page will be admin/commerce/products.

The error itself is this: Notice: Undefined offset: 3 in views404_views_pre_view() (line 44 of /var/www/sites/all/modules/contrib/views404/views404.module).

Comments

maijs’s picture

Status: Active » Needs review
StatusFileSize
new401 bytes

A patch is attached against latest commit (0e70de9) that fixed this issue.

ofry’s picture

StatusFileSize
new399 bytes

I'm rerolled this patch.

ofry’s picture

ofry’s picture

Status: Needs review » Fixed

Committed in dev.

  • ofry committed 655e76b on 7.x-1.x
    Issue #2358721 by maijs, ofry: Notice: Undefined offset [X] in...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.