Upgrade 1.9 to 1.15 gets Missing CDATA table. Get technical support. Tried to drop ost_ticket__cdata and recreate with php -f /var/www/html/osticket/api/cron.php
PHP Fatal error: Uncaught Error: Call to a member function instanciate() on null in /var/www/html/osticket/include/class.task.php:1740 Stack trace: #0 /var/www/html/osticket/include/class.dynamic_forms.php(434): TaskForm::getInstance() #1 /var/www/html/osticket/include/class.dynamic_forms.php(421): DynamicForm::getDynamicDataViewFields() #2 /var/www/html/osticket/include/class.dynamic_forms.php(336): DynamicForm::getCrossTabQuery() #3 /var/www/html/osticket/include/class.dynamic_forms.php(330): DynamicForm::buildDynamicDataView() #4 /var/www/html/osticket/include/class.dynamic_forms.php(304): DynamicForm::ensureDynamicDataView() #5 /var/www/html/osticket/include/class.dynamic_forms.php(312): DynamicForm::ensureDynamicDataViews() #6 /var/www/html/osticket/include/class.signal.php(98): DynamicForm::ensureCdataTables() #7 /var/www/html/osticket/include/class.cron.php(122): Signal::send() #8 /var/www/html/osticket/include/api.cron.php(19): Cron::run() #9 /var/www/html/osticket/include/api.cron.php(40): CronApiController->run() #1 in /var/www/html/osticket/include/class.task.php on line 1740
geirbakke
Error gennerated in Apache log files.
PHP Fatal error: Uncaught DoesNotExist in /var/www/html/osticket/include/class.orm.php:1361\nStack trace:\n#0 /var/www/html/osticket/include/staff/s>
PHP Fatal error: Uncaught Error: Call to a member function instanciate() on null in /var/www/html/osticket/include/class.task.php:1740\nStack trace:>
@geirbakke
Seems like somehow the Task Form was deleted or the db is corrupted.
Cheers.
KevinTheJedi how do I fix it?
First you need to see if you have the Task Details Form in the UI and/or database. Check to make sure you have all the fields as well:
KevinTheJedi I am missing the Task Details Form, is there a script for adding it to database?
I added the missing line in ost_form
insert into ost_form(type,flags,title,instructions,created,updated) values("A",0,"Task Details","Please Describe The Issue","2017-01-05 14:39:09","2017-01-05 14:39:09");
it seeems to work 😀