Recent Topics

User Mgmnt Fatal Error - user_ID=1

started by on Feb 13, 2007 – Last touched: Feb 13, 2007

Feb 13, 2007 04:57    

Just got done updating a 1.8.6 -> 1.9.2 blog and noticed a FATAL PHP Error when trying to update "admin" user_ID=1 from another user_level = 10 user_ID.

Fatal error: Call to a member function on a non-object in /home/bonzo/public_html/inc/VIEW/users/_users_form.php on line 120

This shows up, after clicking the "admin" user link, to update the account, in the "user rights" area, right after it lists the user level as 10.

The way I got around it, was to add

PHP

<?php 
$edited_User->get_Group(); 
?>
immediately BEFORE the hidden input, named "edited_user_grp_ID", on line 119 in /home/bonzo/public_html/inc/VIEW/users/_users_form.php.

None of the other users seem to be affected.

Hope this helps.


Form is loading...

powered by b2evolution – This forum is powered by b2evolution CMS, a complete engine for your website.