first of all i want to say thanks for this great piece of software.
I'm using latest stable 2.8.25.
My problem was described earlier in this thread: viewtopic.php?f=2&t=14845&hilit=category+owner
As it is nearly 3 years old my assumption was that this bug is fixed.
My case is slighty different: mails as a reply of new FAQ request are sent to the Administrator everytime, but mixing up the category owner. It means that sometimes mail is not sent, sometimes the category_owner is wrong and the notification is sent to a different user which isn't the owner, and sometimes it works as expected.
The behaviour of a single category doesn't change. If category A is configured with user A then always user B receives a notification mail. Changing the category owner to user C doesnt't change anything. Still user B receives a notfication instead of user A.
I've activated general log in mysql, and see the id of user B but could not verify which sql statement is responsible to took the wrong user_id. Same problem on cases where only the admin is notified.
php debug log gives me this:
Code: Select all
Undefined offset: 16 in /var/www/ebfaq/inc/PMF/Category.php on line 979, referer: https://kb.[i]mydomain.de[/i]/index.php?action=add&cat=0
Can you give me some hint, why on some categories a different owner receives mail, on some other categories no user is notfied and on the third case no category owner receives mail?
btw.: I've resetted my installation and start from scratch. The behaviour is the same but with different constellations.
Thanks in advance