1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed 2.8.0 Fatal Error when a User sends in a Join Request

Discussion in 'Resolved Bugs' started by Freelancer, Nov 13, 2017.

  1. Freelancer

    Freelancer Active Member

    Messages:
    551
    Likes Received:
    176
    Trophy Points:
    43
    Code:
    Error Info
    Fatal Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 140729685597220 bytes) - library/Zend/Db/Statement/Mysqli.php:208
    
    Stack Trace
    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}
    
    Request State
    Array
    (
        [url] => https://www.mywebsite.com/groups/members/join
        [_GET] => Array
            (
                [/groups/members/join] => 
            )
    
        [_POST] => Array
            (
                [req_message] => Because I like to join this group.
                [agree] => 1
                [_xfConfirm] => 1
                [_xfToken] => ********
                [team_id] => 58
                [_xfRequestUri] => /groups/
                [_xfNoRedirect] => 1
                [_xfResponseType] => json
            )
    
    )
    
    
     
  2. truonglv

    truonglv Staff Member Tech Support

    Messages:
    3,442
    Likes Received:
    1,334
    Trophy Points:
    113
    Does you have more error stack?
     
  3. Freelancer

    Freelancer Active Member

    Messages:
    551
    Likes Received:
    176
    Trophy Points:
    43
    There where three errors of the same kind I only copied this one and deleted the others.
     
  4. truonglv

    truonglv Staff Member Tech Support

    Messages:
    3,442
    Likes Received:
    1,334
    Trophy Points:
    113
    Does it still occur?
     
  5. Freelancer

    Freelancer Active Member

    Messages:
    551
    Likes Received:
    176
    Trophy Points:
    43
    I have no one that send in a join request rigth now, but I will test it with a test user.
     
  6. Freelancer

    Freelancer Active Member

    Messages:
    551
    Likes Received:
    176
    Trophy Points:
    43
    Now I tried it with myself... I did open a group and in the group menu in the right upper corner clicked "Join" and NOTHING happens beside the JavaScript "loading" spinner. But no modal, nothing.

    In the backend in the Server Errors log there is one Fatal Error PER CLICK...

    This Error looks somewhat different though:

    Code:
    Error Info
    Fatal Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 140729685597274 bytes) - library/Zend/Db/Statement/Mysqli.php:208
    
    Stack Trace
    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}
    
    Request State
    Array
    (
        [url] => https://www.mywebsite.com/groups/members/join?user_id=2&team_id=77&&_xfRequestUri=%2Fgroups%2Fsocial-group.77%2Fmembers&_xfNoRedirect=1&_xfToken=2%2C1510647327%2C082aad8997c586a37762a73228df36e166216f69&_xfResponseType=json
        [_GET] => Array
            (
                [/groups/members/join] => 
                [user_id] => 2
                [team_id] => 77
                [_xfRequestUri] => /groups/social-group.77/members
                [_xfNoRedirect] => 1
                [_xfToken] => 2,1510647327,082aad8997c586a37762a73228df36e166216f69
                [_xfResponseType] => json
            )
    
        [_POST] => Array
            (
            )
    
    )
    
    
     
  7. Freelancer

    Freelancer Active Member

    Messages:
    551
    Likes Received:
    176
    Trophy Points:
    43
    Code:
    tried to allocate 140729685597274 bytes
    holy cow.... :eek:
     
  8. Freelancer

    Freelancer Active Member

    Messages:
    551
    Likes Received:
    176
    Trophy Points:
    43
    FIXED with v2.8.1 :)
     
    alfa1 likes this.