marocnl
01-29-2009, 07:34 PM
Hi All,
I placed a very simple code as hook in location userdata_postsave
$db->query_write('INSERT INTO pl_usr_user_attribute2 (log_txt) VALUES ("stvbart");');
I got the following error
Fatal error: Call to a member function query_write() on a non-object in C:\wamp\www\etnoselect\forums\includes\class_dm_us er.php(1938) : eval()'d code on line 50
Looks like similar to this bug :
http://www.vbulletin.com/forum/showthread.php?t=290637
But I check files and no DB instead of db was found.
I am using vBulletin 3.8.0
Thanks for your help.
I placed a very simple code as hook in location userdata_postsave
$db->query_write('INSERT INTO pl_usr_user_attribute2 (log_txt) VALUES ("stvbart");');
I got the following error
Fatal error: Call to a member function query_write() on a non-object in C:\wamp\www\etnoselect\forums\includes\class_dm_us er.php(1938) : eval()'d code on line 50
Looks like similar to this bug :
http://www.vbulletin.com/forum/showthread.php?t=290637
But I check files and no DB instead of db was found.
I am using vBulletin 3.8.0
Thanks for your help.