Menu

#1863 Restricted page in menu causes php error

phpws1.x
closed-works-for-me
5
2010-04-22
2009-05-06
No

Creating a pagesmith page (which is added to the menu automatically) and applying view restrictions to it seems to cause a fatal php error when a member of the group logs into the site. The menu item is not displayed to annon visitors, as is correct.

For instance, a pagesmith page is created and added to the menu. View restrictions are applied to that page, restricting the view to members of two groups. When a user logs in who is a member of one of those groups, the following php error occurs...
PHP Fatal error: Call to a member function loadChildren() on a non-object in /home/user/public_html/mod/menu/class/Menu_Item.php on line 246

Discussion

  • Anonymous

    Anonymous - 2009-06-11
    • status: open --> open-works-for-me
     
  • Anonymous

    Anonymous - 2009-06-11

    sorry I can't reproduce this error.

     
  • Anonymous

    Anonymous - 2010-04-07
    • status: open-works-for-me --> pending-works-for-me
     
  • Anonymous

    Anonymous - 2010-04-07

    Changing to pending. Please report if it still occurs.

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-works-for-me --> closed-works-for-me
     

Log in to post a comment.