Autocomplete Location I keep having this error

Discussion in 'Resolved Bugs' started by MacSeah, Jun 13, 2016.

  1. MacSeah

    MacSeah New Member Verified User

    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    0
    Sometimes users will get a message like "do not change the location" but we did as were told. We select from the list.

    Now although some users are able to pass the registration process we are receiving the follow error logs.




    Server Error Log

    Error Info
    ErrorException: Undefined property: stdClass::$adminId1 - library/Awedo/ACLocation/Manager/Location.php:853
    Generated By: Unknown Account, A moment ago
    Stack Trace
    #0 /home/undertable99/undertable.net/library/Awedo/ACLocation/Manager/Location.php(853): XenForo_Application::handlePhpError(8, 'Undefined prope...', '/home/undertabl...', 853, Array)
    #1 /home/undertable99/undertable.net/library/Awedo/ACLocation/Manager/Location.php(896): Awedo_ACLocation_Manager_Location->_getStateCode(Object(stdClass))
    #2 /home/undertable99/undertable.net/library/Awedo/ACLocation/Manager/Location.php(962): Awedo_ACLocation_Manager_Location->_prepareLocationData(Object(stdClass))
    #3 /home/undertable99/undertable.net/library/Awedo/ACLocation/Manager/Location.php(512): Awedo_ACLocation_Manager_Location->_getPreparedLocationData(1881948, 'en')
    #4 /home/undertable99/undertable.net/library/Awedo/ACLocation/Manager/Location.php(675): Awedo_ACLocation_Manager_Location->_isValidGeonameId(1881948)
    #5 /home/undertable99/undertable.net/library/Awedo/ACLocation/ControllerPublic/Register.php(46): Awedo_ACLocation_Manager_Location->checkLocationInputData(Object(XenForo_Input))
    #6 /home/undertable99/undertable.net/library/XenForo/FrontController.php(351): Awedo_ACLocation_ControllerPublic_Register->actionRegister()
    #7 /home/undertable99/undertable.net/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #8 /home/undertable99/undertable.net/index.php(13): XenForo_FrontController->run()
    #9 {main}
    Request State
    array(3) {
    ["url"] => string(39) "Sign up | Undertable Swingers Community"
    ["_GET"] => array(0) {
    }
    ["_POST"] => array(16) {
    ["username"] => string(0) ""
    ["bcca257e9ded5747c79e93077d57695d"] => string(10) "B********"
    ["4bebd1f62fd0d8e556c904760aff44fa"] => string(20) "b********@gmail.com"
    ["72a4fea95f4458e755fa7c00ee6b02b2"] => string(9) "b********"
    ["c132a3d16b45c92b42a01d49e689972a"] => string(9) "b********"
    ["0b37d7500d4e8c11503d6213b5675d01"] => string(0) ""
    ["location"] => string(28) "Hougang New Town (Singapore)"
    ["62c963fe4eb964f92b56a27e7c2e7885"] => array(4) {
    ["country"] => string(9) "singapore"
    ["gender"] => string(6) "female"
    ["Who_Should_Contact_Me"] => array(4) {
    ["Couples"] => string(7) "Couples"
    ["Males"] => string(5) "Males"
    ["Females"] => string(7) "Females"
    ["Groups"] => string(6) "Groups"
    }
    ["y291bnryeq"] => string(0) ""
    }
    ["custom_fields_shown"] => array(4) {
    [0] => string(7) "country"
    [1] => string(6) "gender"
    [2] => string(21) "Who_Should_Contact_Me"
    [3] => string(10) "y291bnryeq"
    }
    ["6151825ca564f32b6081170603af4d64"] => string(14) "Asia/Hong_Kong"
    ["g-recaptcha-response"] => string(974) "03AHJ_VutgcGW9F3eT6fnjZDNydbB9XConcQyXahoSfCg9COhpH7dt3-x88CcYlE2QyeOLWi8NEGK7LaGcth4qbbsQo45KlgjfB4Ua_vliw3VcFjN3Me-fk0A0Ub99q8L0dfL8ysGoBuF6w59gM_3nazd7S_yWCgfNc7qAK46P_N3jn0YswWx-KhnxdPQUodMLR9HtKOMusPINvBy1xER0y_C7UdgRDCgNPYy2YTxAhwDzvroI5ru083w4BMGM_icZ_N8QB1eI_BHJhH1tvzclUbTVJSElo_Phc8sf62Of9A1Pe1155NhUVKCGNeGmbTYfbIgcUaZm8yX0UCpdqYKY2AD5ws0KgetG64v6n5eAvBChFqnKm3RWDy0Q_rT-aKFlOL-EORRMR-JI4ugtrcaanEORd2J5Ao7Scfb4jc7bj2tClXDEr5Kj68OZkGBFX7j0aoA_TuH6UBtLjtJ6cBo_RcL95gWgtqfdz_7Ppl3uOxSmKYYOfAoVbcsWsTn93wtNcKID5GT65wC4GepRyTRMGBeNTpNk0jvCavikgDT9PQHLWugnycoYyo7v-3MCO553PPuWHU_7cOqp-QVAaF07_7MXZCereZymIUBG6_zTW9f5VqwfHn2biz7ia-1nClUGwxyoNNMgYm_5PltijvVOQ3k-brr4_wmlpNHznOb-A-qU4d4iRDDbkIGqtZJCueSg8OJuT0qUzd9J17BCeikcbBA3SmHEsNm8gIKCILtWrm7A_xix-O5gyndYQourh6XiXIIK4yAihLAk4CowdRdDTOWsZ3jcPMkqkZ6rli_fTMDX7u5OMxCg39Np4FwHlP2t4EYJW-zFhQFxxMLE8bWL-Aj374rbFgceNvEkGDf689uYk65k7PRP65OOjMMU8Gy8nytUwwSiO7kv6Cdgo7wSCgIi8t8_g3HHqHza1FGSGpC8wQgoCVWo8IXv69kIgytBR3IiyfMjEPFV"
    ["agree"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["reg_key"] => string(32) "4bc57f4dceaea0b385279f418787a52d"
    ["gnid"] => string(7) "1881948"
    ["selectedLocation"] => string(28) "Hougang New Town (Singapore)"
    }
    }

    Do you recommend us to disable "Force user to select a location from the autocomplete list" and " Check the submitted location on the server side"?
     
    Last edited by a moderator: Jun 13, 2016
  2. MacSeah

    MacSeah New Member Verified User

    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    0
    One my old device LG G2 default browsers does not show suggestions of locations and ended up I cannot register. It bounce with errors.
     
  3. Thomas

    Thomas Add-on Developer Staff Member

    Messages:
    52
    Likes Received:
    8
    Trophy Points:
    10
    Do you have any info about when this happens?

    This will be fixed in the next release. I attached a patched file which you can use to replace the corresponding file located in library/Awedo/ACLocation/Manager.

    To identify the bug it would be the best to keep it on until you have at least 1 or 2 people who can tell you under which conditions it happened..

    I created another thread for these kind of issues. Could you please post the corresponding info in this thread?
     

    Attached Files:

    MacSeah likes this.
  4. MacSeah

    MacSeah New Member Verified User

    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    0
    I will check again for the error tonight. I do not have info about this since it was told to me by others.

    Yes i head to the thread and list down the error
     
    Thomas likes this.
  5. Thomas

    Thomas Add-on Developer Staff Member

    Messages:
    52
    Likes Received:
    8
    Trophy Points:
    10
    I replaced the autocomplete plugin in the latest release due to this kind of issue. Please let me know if it still doesn't work.
     
    MacSeah likes this.

Share This Page