Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Notice: Undefined property: view::$disabled in views_ui_admin_menu_map() (line 151 of /home/xxx/public_html/sites/all/modules/admin_menu/admin_menu.map.inc).
screenshot: http://img836.imageshack.us/img836/3673/croppercapture20.jpg
shows up upon clear cache. on refresh it all disappears.
Comment | File | Size | Author |
---|---|---|---|
#5 | admin_menu-views-undefined-disabled-2.patch | 470 bytes | dixon_ |
#4 | admin_menu-views-undefined-disabled.patch | 392 bytes | dixon_ |
Comments
Comment #1
patoshi CreditAttribution: patoshi commentedok so i fixed this by adding the following conditional on top of it:
if (isset($view->disabled)) {
if (!$view->disabled) {
$views[] = $name;
}
}
obviously theres a better way to fix this. so its up for grabs.
Comment #2
IWasBornToWin CreditAttribution: IWasBornToWin commentedhaving same problem
Comment #3
IWasBornToWin CreditAttribution: IWasBornToWin commentedIt's been about 10 days since this was posted so I'm changing the priority. No site can use this when they are constantly getting a dozen of these red notices.
Any suggestions besides rolling back to earlier version?
Comment #4
dixon_I have the same problem. I think it might have appeared when I updated Views. Anyhow, here's a very simple patch that solves the problem.
I'm gonna put this as RTBC, because it's a trivial fix.
Comment #5
dixon_Hang on. Mind slip! Here's a better one, also using proper API functions for the task ;)
Comment #6
sunThanks for reporting, reviewing, and testing! Committed to all 3.x branches.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.