Quote:
Originally Posted by mfowler70
This mod works fine for me with VB 4.2.0 PL3 when logged in as Administrator, but when I login to a normal user account, I get this when I try to open the wiki
Code:
Fatal error: Call to a member function getID() on a non-object in /home/xxxxxx/xxxxx/wiki/includes/vbMediaWikiAuthPlugin.php on line 100
|
Odd behavior.
The function should not differentiate between type of accounts anyway. $user is got from vb, so for some reason vb is not setting the variable right. What version of PHP are you using ? VB 4.2 is not compatible with php 5.4 . also this works with mediawiki 1.20 or higher.
1. check the version of php/mediawiki.
2. Delete all cookies/history an server cache (APC if any).
3. run diagnostics in vbmediawiki and see if you get clean bill of health.
4. Try a clean login into the other user account. while this should NOT cause this error, check if the other user has permissions in usergroup permissions.
let us know how it goes.
ndahiya