CMS MADE SIMPLE FORGE

CGFEURegister

 

[#12123] Cannot re-send verification code from admin

avatar
Created By: Mathieu Muths (airelibre) (airelibre)
Date Submitted: Fri Sep 06 11:56:57 -0400 2019

Assigned To: Robert Campbell (calguy1000)
Version: v1.0.1
CMSMS Version: 2.2.11
Severity: None
Resolution: Fixed
State: Open
Summary:
Cannot re-send verification code from admin
Detailed Description:
On admin panel, when I try to re-send the verification email, I got:
Fatal error: Uncaught Error: Call to a member function save_verification_code()
on null in /home/site/www/modules/CGFEURegister/action.admin_edit_user.php:38

I'm on PHP7.2

Thanks


History

Comments
avatar
Date: 2019-09-06 11:59
Posted By: Mathieu Muths (airelibre) (airelibre)

Seems that the line 38 should be:
$this->regManager()->save_verification_code($code);
      
avatar
Date: 2019-09-06 12:01
Posted By: Mathieu Muths (airelibre) (airelibre)

And 
$this->reg_sender()->execute($fields, $user, $code);

Instead of
$this->processor->execute($fields, $user, $code);
      
avatar
Date: 2019-09-07 16:45
Posted By: Robert Campbell (calguy1000)

fixed in svn
      
Updates

Updated: 2019-09-07 16:45
resolution_id: => 7