Closed (fixed)
Project:
Menu Per Role
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jun 2011 at 10:09 UTC
Updated:
18 Jul 2011 at 11:11 UTC
After making one menu item hidden for anonymous users, this error appear when I go the site:
Fatal error: Call to undefined function db_fetch_object() in C:\xampp\htdocs\tecnotree\sites\all\modules\menu_per_role\menu_per_role.module on line 177
Comments
Comment #1
dave reidLooks like this has already been fixed in the latest dev.
Comment #2
leszek.hanusz commentedWhat do you mean by the latest dev ?
I just tried again and can confirm this problem still exist for the latest dev version on the drupal website : 7.x-1.x-dev from 2011-Jun-16
Comment #3
leszek.hanusz commentedand this time I also saved the errors appearing after clicking save to make the menu link hidden to anonymous users :
I was not adding a new menu item.
Comment #4
dave reidIt's fixed in the latest Git 7.x-1.x branch. Somehow the 7.x-1.x-dev release isn't updating properly.
Comment #5
AlexisWilke commentedIt looks like 7.x-1.x-dev is version 6.x and not 7.x.
I refresh the .module, let's see whether that fixes it.
In the meantime, you may want to use the git instruction to retrieve the latest version of the module.
Thank you.
Alexis
Comment #6
AlexisWilke commentedChanging the title to correspond to the real problem.
Issue registered with Drupal.org: #1204916: Problem with repository of menu_per_role version 7.x-1.x-dev
Comment #7
AlexisWilke commentedAlright, with the help of a Drupal git maestro I fixed the 7.x-1.x-dev release. You can now download the official branch and get the right files.
Sorry for the mess...
Thank you.
Alexis
Comment #8
leszek.hanusz commentedIt's working correctly.
Thank you