Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello
when I tried to add configure the "masquerade as" field in my user setting, I get this ajax error :
mypath/sites/all/modules/masquerade/autocomplete-user
StatutTexte: OK
ReponseTexte: Fatal error: Call to undefined function drupal_json() in mypath/sites/all/modules/masquerade/masquerade.module on line 689
I tried to fix it replacing drupal_json() by drupal_json_output(). I didn't get the error anymore but the auto completion wasn't effective.
Regards,
Liaz
Comments
Comment #1
afreeman CreditAttribution: afreeman commentedThe latest dev commit should resolve this issue. Can you confirm?
Comment #2
Liaz CreditAttribution: Liaz commentedIs there a more recent version of the module than 7.x-1.x-dev ? I'm using the 7.x-1.x-dev and I have this bug.
Comment #3
andypost@Liaz Could you point a URL where this happens?
Comment #4
Liaz CreditAttribution: Liaz commented@andypost
I can't, but you just have to open the module file to see the call to the drupal_json() function that shouldn't be I think...
Comment #5
andypostIf still affected by this just reopen