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

4.0 Error Undefined Array Key when trying to add new FAQ #3051

Closed c1972 closed 6 days ago

c1972 commented 1 week ago

I wanted to add an english FAQ to test another issue. So first added a first english category and after that tried to add a first english FAQ. Trying to save the entry resulted in this issue "Undefined array key 3".

undefined-key

This category now says it includes 2 FAQ's. But they are invisible whatever filtering options I try.

undef3

(I was able to reproduce "Undefined array key 3" and invisible entries after a fresh install of 4.0.)

One moment the system shows the entries:

faq-uebersicht-mit-beitraegen

Seconds later after switching forth and back between languages and hitting F5 it again does not show the entries.

faq-uebersicht-leer

BTW the to options sticky and active if deactivated come back active by them self.

Site: cc10.de OS: Windows 11 Pro 23H2 Browser: Chrome 126.0.6478.127 phpMyFAQ Version: 4.0 PHP-Version: 8.2 Database: MariaDB 10.11.4 Elasticsearch: No

Regards Christian