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
582 stars 253 forks source link

When trying to edit a category in 4.0 I get an error #3039

Closed c1972 closed 2 days ago

c1972 commented 4 days ago

When trying to edit a category in 4.0

sc1

I get following error

sc2

Code:

phpMyFAQ Fatal error
Uncaught exception: 'Error'

Message: 'Call to undefined method phpMyFAQ\Permission\BasicPermission::getAllGroupsOptions()'

Stack trace:

#0 /home/www/cc10.de/admin/index.php(297): require()
#1 {main}
Thrown in '/home/www/cc10.de/admin/category.edit.php' on line 95

OS: Windows Browser: Chrome 126.0.6478.127 phpMyFAQ Version: 4.0 PHP-Version: 8.2 Database: MariaDB 10.11.4 Elasticsearch: No

Regards Christian

(Is this the right place for 4.0 bugs?)

thorsten commented 3 days ago

@c1972 you only have the "basic permissions" enabled, right?

c1972 commented 3 days ago

I at least did not change any permission so I think yes.

c1972 commented 3 days ago

Do I have to give myself higher permissions first? After I set it up myself?

c1972 commented 1 day ago

Right after fresh installation I have superuser rights (all rights).