Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by

I'm getting this issue while any user registers!


Question2Answer fatal error:

The logged in user cannot be found

Stack trace:

require() in index.php:31
require() in qa-index.php:175
qa_get_request_content() in qa-page.php:789
require() in qa-page.php:219
qa_q_list_page_content() in qa-page-default.php:167
qa_content_prepare() in qa-app-q-list.php:68
qa_user_maximum_permit_error() in qa-page.php:578
qa_user_level_maximum() in qa-app-users.php:767
qa_get_logged_in_level() in qa-app-users.php:741
qa_get_logged_in_user_field() in qa-app-users.php:589


1 Answer

+2 votes
Check out your webserver's error log file for more infos, and with Phpadmin access to your database and check if the user (for which the registration fails) has been inserted in the qa_users table.

You could have a db permission issue
IMO there would be some other issue (though not sure) . Because the registration page itself wont come if there is db permission issue .
Yes... probably. I've seen many times this error in the q2a demo instance. I'm logged in and working. But when the scheduled offline job runs and "resets" the db (every hour), and I access to another page (sending my "old cookies"), I see this behaviour.
It looks like the user identified by the cookies in the browser is not anymore on the db...
Yah correct Maxj . That also could be a reason . :)