After enabling the legal module, and setting some terms and conditions, all users who try to log in, and haven't accepted the latest terms, will get an error popup message with the contents of the legal terms page.

Comments

burgs’s picture

Project: Ajax Login/Register » Legal
Version: 7.x-3.x-dev » 7.x-1.2

Ok, after looking a bit closer, the legal module does some funky things, logging users out, then redirecting them. I'm moving this to the legal queue, which might be more appropriate.

manicato’s picture

Same problem

vegantriathlete’s picture

The user also gets an AJAX error when using modal_forms. I am betting that the issue is how legal is handling the redirect. See this issue and more specifically, my comments about how drupal_goto seemed to break things.

keywords: AJAX, modal, login

tasc’s picture

Issue summary: View changes

Problem persist 2.5 years later.

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /system/ajax
StatusText: OK
ResponseText:
Fatal error: Cannot use object of type stdClass as array in .../modules/contrib/asaf/asaf.module on line 634

duplicate? https://www.drupal.org/node/1644018

avpaderno’s picture

Version: 7.x-1.2 » 7.x-1.x-dev

Bugs are fixed in the development snapshot.