Hello,
I'm currently setting up Q2A for my organization. Until now, everything was working correctly except for 1 error that I got when I tried to add new category. The site is new so I don't have any category yet.
I got the error whenever I click the "Add Category" button.
Here is the error message:
Fatal error: Uncaught ValueError: max(): Argument #1 ($value) must contain at least one element in C:\xampp\htdocs\test\qa-include\pages\admin\admin-categories.php:483 Stack trace: #0 C:\xampp\htdocs\test\qa-include\pages\admin\admin-categories.php(483): max(Array) #1 C:\xampp\htdocs\test\qa-include\app\page.php(183): require('C:\\xampp\\htdocs...') #2 C:\xampp\htdocs\test\qa-include\qa-page.php(47): qa_get_request_content() #3 C:\xampp\htdocs\test\qa-include\qa-index.php(188): require('C:\\xampp\\htdocs...') #4 C:\xampp\htdocs\test\index.php(27): require('C:\\xampp\\htdocs...') #5 {main} thrown in C:\xampp\htdocs\test\qa-include\pages\admin\admin-categories.php on line 483
What should I do to fix this?