Registration Issue, Unsure of How To Fix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • boxingtalk
    New Member
    • Mar 2013
    • 3
    • 3.8.x

    Registration Issue, Unsure of How To Fix

    I've experienced this issue, on and off, for years.

    I would estimate it happens to a handful of users out of every 30 registrations.

    When users attempt to register they get the following error during the final step.

    Fatal error: Existing data passed is not an array
    Called set_existing in [path]/register.php on line 421
    in [path]/includes/class_dm.php on line 235

    From what I can tell, the user gets added to the database, but he never receives the email to confirm his email and we never get the email to advise of their registration.

    From what I found, this issue was even happening on VB 4.X. It appears to affect sites that use a slave/master combo.

    I'm on 3.8X

    VB staff solved this bug, in the following thread, but for 4.X.



    It's an issue when the functions.php does a call to the slave and that error comes (if I understand it right) because the info for the new user is not there yet on the slave.

    Unsure of how to apply the fix to 3.X.
    Last edited by boxingtalk; Thu 11 May '17, 11:40pm.
  • boxingtalk
    New Member
    • Mar 2013
    • 3
    • 3.8.x

    #2
    I was advised of a fix. I hope this would be sufficient?

    Too early to tell if it's working or not.

    if(THIS_SCRIPT == 'register'){
    $user = $vbulletin->db->query_first($query);
    }else{
    $user = $vbulletin->db->query_first_slave($query);
    }

    Comment

    Related Topics

    Collapse

    Working...