August 20, 2015 in Technical Problems
I want to use \IPS\Member::load($idVal, 'ex_id') with my new `ex_id` field.
I hooked the \IPS\Member class and try to overwrite the static variable:
protected static $databaseIdFields = array ( 0 => 'name', 1 => 'email', 2 => 'fb_uid', 3 => 'live_id', 4 => 'google_id', 5 => 'linkedin_id', 6 => 'ipsconnect_id', 7 => 'twitter_id', 8 => 'ex_id' );
After then, the forum gives me ERROR: Call to undefined method IPS\Member::setName() on init.php:432
Can anyone help me? Or should I do it in another way?
oops!!! I found that I used a wrong method, should be set_name.
We can close this topic
This topic is now archived and is closed to further replies.
Started July 31
Started 2 hours ago
Started 21 hours ago