thorsten / phpMyFAQ

phpMyFAQ - Open Source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases
https://www.phpmyfaq.de
Mozilla Public License 2.0
585 stars 254 forks source link

3.2.7: TypeError on admin page after login #3060

Closed AEhlers27 closed 3 months ago

AEhlers27 commented 3 months ago

On fresh installation of version 3.2.7 on admin page after login

Uncaught exception: 'TypeError' Message: 'phpMyFAQ\User\CurrentUser::setAuthSource(): Return value must be of type bool, resource returned'

Stack trace:

0 C:...\src\phpMyFAQ\User\CurrentUser.php(207): phpMyFAQ\User\CurrentUser->setAuthSource('local')

1 C:...\src\phpMyFAQ\User\UserAuthentication.php(84): phpMyFAQ\User\CurrentUser->login('xxx', 'xxx')

2 C:...\admin\index.php(187): phpMyFAQ\User\UserAuthentication->authenticate('xxx', 'xxx')

3 {main}

Thrown in 'C:\inetpub\wwwroot\faq\arge-faq\src\phpMyFAQ\User\CurrentUser.php' on line 613

Regards Andreas