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

Fiery_Fenix’s picture

Simple 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 != '') {

seul’s picture

Thanks Fiery_Fenix, that helped. In my bootstrap.inc it was line 677 though.

mak1e’s picture

OR

// if (!isset($obj->$key)) {
if (!isset($obj->key)) {
torgospizza’s picture

Status: Active » Closed (duplicate)

You should *NOT* hack core to get this module to work.

Possibly this is a duplicate of #697318: Needs to call hook_user with login....

capellic’s picture

It 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.