mybb2 icon indicating copy to clipboard operation
mybb2 copied to clipboard

QueryException

Open Hackmastr opened this issue 9 years ago • 1 comments

Signing up bug, it throws an error:

QueryException in Connection.php line 673: 
SQLSTATE[42S22]: Column not found: 1054 Unknown column '0' in 'field list' (SQL: insert into `role_user` (`is_display`, `0`, `role_id`, `user_id`) values (1, 2, *items, 5))

however, the user is registered, but not given a group(user), but if You go back(without login in), and press the members link, an error is thrown:

ErrorException in list.twig line 27:
 An exception has been thrown during the rendering of a template ("The method 'last_visit' was not found on the presenter class 'MyBB\Core\Presenters\User'.") in "C:\xampp\htdocs\mybbv2\resources\views/member/list.twig" at line 27.


... scrolling down:
MethodNotFoundException in BasePresenter.php line 103: 
The method 'last_visit' was not found on the presenter class 'MyBB\Core\Presenters\User'.

Hackmastr avatar Apr 10 '16 20:04 Hackmastr

Very interesting, thanks for the report. I've not looked at registration in a while.

On 10 Apr 2016, at 21:40, Hackmastr [email protected] wrote:

Signing up bug, it throws an error:

QueryException in Connection.php line 673: SQLSTATE[42S22]: Column not found: 1054 Unknown column '0' in 'field list' (SQL: insert into role_user (is_display, 0, role_id, user_id) values (1, 2, *items, 5)) however, the user is registered, but not given a group(user), but if You go back(without login in), and press the members link, an error is thrown:

ErrorException in list.twig line 27: An exception has been thrown during the rendering of a template ("The method 'last_visit' was not found on the presenter class 'MyBB\Core\Presenters\User'.") in "C:\xampp\htdocs\mybbv2\resources\views/member/list.twig" at line 27.

... scrolling down: MethodNotFoundException in BasePresenter.php line 103: The method 'last_visit' was not found on the presenter class 'MyBB\Core\Presenters\User'. — You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub

euantorano avatar Apr 10 '16 20:04 euantorano