-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to add FAQ after adding Category - v1.10-rc.2-376-g784184b #3096
Comments
I'm getting this as well... |
BTW I have reverted from 146: if (count($categories)) { to this: 146: if (count($categories)) { and it works. |
same problem :( |
thanks @rbukovansky it works 👍 |
Unable to add FAQ after adding Category - v1.10-rc.2-376-g784184b osTicket#3096 Knowledgebase: Fatal error: Call to a member function sort() on a non-object in (develop) osTicket#3186
I believe this is formally fixed in #3216 |
osTicket Version v1.10-rc.2-376-g784184b (784184b) — Up to date
Web Server Software Apache/2.4.6 (CentOS) PHP/5.4.16
MySQL Version 5.5.47
PHP Version 5.4.16
If I go to the page /scp/kb.php I can see that there are 0 (zero) categories in the drop down. I also see 0 (zero) FAQ entries in that drop down.
Then go to /scp/categories.php and add a category. The category is added correctly.
Then go back to /scp/kb.php to add a FAQ entry into the KB and I am no longer able to activate either of the drop downs, and I see the following in my apache error log:
PHP Fatal error: Call to a member function sort() on a non-object in /var/www/html/include/staff/faq-categories.inc.php on line 147
The text was updated successfully, but these errors were encountered: