1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Holidays period: Clément aka. Mtor is going to be away between the 16/08 and the 25/08 with rather limited access to xen-factory. Please be patient, he will answer when he gets back.
    Dismiss Notice

Bug Fixed JS Console Error: trying to save User Profile in ACP with empty location field

Discussion in 'Members Map' started by Freelancer, Jul 31, 2017.

  1. Freelancer

    Freelancer Member

    Joined:
    Nov 17, 2015
    Messages:
    244
    Likes Received:
    18
    It just occurred after I made the update to Members Map 1.5.2...

    I delete the location field's content and then try to save the user profile.

    error_message.jpg

    In the console I see this...

    console_error.jpg

    Never saw anything like this... especially with swearing words... o_O
     
  2. Fredxd

    Fredxd Administrator
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    1,644
    Likes Received:
    359
    Adress:
    France
    Country:
    Location on Map:
    i have forgot to remove debug code sorry :oops:

    in XFA/MembersMap/Extends/XenForo/DataWriter/User.php

    Find and remove

    PHP:
    var_dump('fuck');
     
    Freelancer likes this.
  3. Freelancer

    Freelancer Member

    Joined:
    Nov 17, 2015
    Messages:
    244
    Likes Received:
    18
    Check. Error is gone.
     
  4. Fredxd

    Fredxd Administrator
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    1,644
    Likes Received:
    359
    Adress:
    France
    Country:
    Location on Map:
    Fixed in 1.5.3
     

Share This Page