Closed (duplicate)
Project:
SMFforum Integration module
Version:
6.x-1.1
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 May 2008 at 13:08 UTC
Updated:
9 Sep 2010 at 14:46 UTC
I am using SMF as the master for regisration. Admin can log in fine. Everyone else receives this message:
Fatal error: Cannot access empty property in /var/www/drupal/includes/bootstrap.inc on line 659
Comments
Comment #1
Fiery_Fenix commentedSimple patch to solve this problem:
find line 658 in file includes/bootstrap.inc
and replace string
if (!isset($obj->$key)) {with
if (!isset($obj->$key) && $key != '') {Comment #2
seul commentedThanks Fiery_Fenix, that helped. In my bootstrap.inc it was line 677 though.
Comment #3
mak1e commentedOR
Comment #4
torgospizzaYou should *NOT* hack core to get this module to work.
Possibly this is a duplicate of #697318: Needs to call hook_user with login....
Comment #5
capellicIt doesn't appear that this hack is needed any longer. I have upgraded to Drupal 6.19 and didn't find the offending code per comment #3:
if (!isset($obj->$key)) {The code is now:
if (!empty($key) && !isset($obj->$key)) {I am able to login as users other than user1, so all seems OK. FWIW, I wasn't using this module at all, but was having problems.