ElkArte Community

Project Support => Support => Topic started by: Jorin on May 22, 2015, 02:19:41 am

Title: fatal error with link activation
Post by: Jorin on May 22, 2015, 02:19:41 am
I tried to register a new member. When I click on the activation link in the e-mail I get this error message:

Code: [Select]
Fatal error: Call to undefined function membersBy() in /www/htdocs/xyz/hp_elkarte/sources/subs/MessageNewMembers.integrate.php on line 101

The latest member registered yesterday. I installed the message on registration addon (http://www.elkarte.net/community/index.php?topic=2626.msg17849#msg17849) before I tried to register as new member, so it seems that's the problem.  :(
Title: Re: fatal error with link activation
Post by: emanuele on May 22, 2015, 02:28:39 am
My fault. :P

Open that file, go line 101 and just before add:
require_once(SUBSDIR . '/Members.subs.php');
I'll fix the package this evening... sorry. :-[
Title: Re: fatal error with link activation
Post by: Jorin on May 22, 2015, 02:36:15 am
Now I get:

Code: [Select]
Wrong value type sent to the database. Array of integers expected. (member_ids)

 ;D
Title: Re: fatal error with link activation
Post by: emanuele on May 22, 2015, 11:19:01 am
Ooohhh!!! Dammit! :P
Title: Re: fatal error with link activation
Post by: emanuele on May 22, 2015, 11:39:39 am
That actually allowed me to find something that is a huge inconsistency and likely a bug.
I put the new package in the other topic (http://www.elkarte.net/community/index.php?topic=2626.msg17871#msg17871), if you want you can just replace the file with the attached one if you don't want to uninstall and install again.

I'll track the inconsistency at github.
Title: Re: fatal error with link activation
Post by: Jorin on May 22, 2015, 01:36:29 pm
Thanks, it worked!