Skip to main content
fatal error with link activation Started by Jorin · · Read 2907 times 0 Members and 1 Guest are viewing this topic. previous topic - next topic

fatal error with link activation

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 before I tried to register as new member, so it seems that's the problem.  :(

Re: fatal error with link activation

Reply #1

My fault. :P

Open that file, go line 101 and just before add:
Code: [Select]
require_once(SUBSDIR . '/Members.subs.php');
I'll fix the package this evening... sorry. :-[
Bugs creator.
Features destroyer.
Template killer.

Re: fatal error with link activation

Reply #2

Now I get:

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

 ;D

Re: fatal error with link activation

Reply #3

Ooohhh!!! Dammit! :P
Bugs creator.
Features destroyer.
Template killer.

Re: fatal error with link activation

Reply #4

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

 

Re: fatal error with link activation

Reply #5

Thanks, it worked!