- 23 Sep 2022, 16:28
#5242
I know very little about coding but I was tasked to test OpenCats on localhost. The problem is any information added to the site results in this:
Fatal error: Uncaught Error: Class 'OpenCATS\Entity\JobOrder' not found in C:\xampp\htdocs\opencats\lib\JobOrders.php:106 Stack trace: #0 C:\xampp\htdocs\opencats\modules\joborders\JobOrdersUI.php(782): JobOrders->add('Data Wizard', '1', '-1', '', '', '', '', 'H', false, true, '12', '', '', 'Chadron', 'Nebraska', '2022-09-30', '1', '1', '1', '', false) #1 C:\xampp\htdocs\opencats\modules\joborders\JobOrdersUI.php(123): JobOrdersUI->onAdd() #2 C:\xampp\htdocs\opencats\lib\ModuleUtility.php(79): JobOrdersUI->handleRequest() #3 C:\xampp\htdocs\opencats\index.php(272): ModuleUtility::loadModule('joborders') #4 {main} thrown in C:\xampp\htdocs\opencats\lib\JobOrders.php on line 106
The same error shows up when we put information in other tabs (Job order, candidates, fields etc). Someobody mentioned the class "Job Order" (and others) are probably missing from the xampp file. I only have highschool level knowledge in coding so I'm not sure how to fix it
Fatal error: Uncaught Error: Class 'OpenCATS\Entity\JobOrder' not found in C:\xampp\htdocs\opencats\lib\JobOrders.php:106 Stack trace: #0 C:\xampp\htdocs\opencats\modules\joborders\JobOrdersUI.php(782): JobOrders->add('Data Wizard', '1', '-1', '', '', '', '', 'H', false, true, '12', '', '', 'Chadron', 'Nebraska', '2022-09-30', '1', '1', '1', '', false) #1 C:\xampp\htdocs\opencats\modules\joborders\JobOrdersUI.php(123): JobOrdersUI->onAdd() #2 C:\xampp\htdocs\opencats\lib\ModuleUtility.php(79): JobOrdersUI->handleRequest() #3 C:\xampp\htdocs\opencats\index.php(272): ModuleUtility::loadModule('joborders') #4 {main} thrown in C:\xampp\htdocs\opencats\lib\JobOrders.php on line 106
The same error shows up when we put information in other tabs (Job order, candidates, fields etc). Someobody mentioned the class "Job Order" (and others) are probably missing from the xampp file. I only have highschool level knowledge in coding so I'm not sure how to fix it