Closed schuesslerf closed 7 years ago
PS: I also realized, that the button for Settings isn't called just settings, but saying ticketit::admin.nav-settings, also the subsetting is called ticketit::admin.nav-administrator... Maybe this might give you a hint for my problem?
Relating the second problem I found this in your wiki now: https://github.com/thekordy/ticketit/wiki/Common-problems
But the default_status_id seems to be correct (table entry holds status_id 1) and in SettingsTableSeeder.php I can find this line:
/*
* The default status for new created tickets
* Default: 1
*/
'default_status_id' => 1,
/*
So this should be okay...
well, we need some clarification from the log, could you paste here the error log from storage/logs/laravel.log
?
also it might help if you can use the browser inspection tool to trace the network ajax call of the datatables to see the server error response
This are the last entries in the log:
[2016-11-15 19:49:57] local.ERROR: ErrorException: Trying to get property of non-object in D:\xamppShoppingPortal\htdocs\ShoppingPortal\storage\framework\views\dc81073f31b304a589fe02cb835417b554e048bd.php:22
Stack trace:
#0 D:\xamppShoppingPortal\htdocs\ShoppingPortal\storage\framework\views\dc81073f31b304a589fe02cb835417b554e048bd.php(22): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Trying to get p...', 'D:\\xamppShoppin...', 22, Array)
#1 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\View\Engines\PhpEngine.php(42): include('D:\\xamppShoppin...')
#2 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\View\Engines\CompilerEngine.php(59): Illuminate\View\Engines\PhpEngine->evaluatePath('D:\\xamppShoppin...', Array)
#3 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\View\View.php(149): Illuminate\View\Engines\CompilerEngine->get('D:\\xamppShoppin...', Array)
#4 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\View\View.php(120): Illuminate\View\View->getContents()
#5 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\View\View.php(85): Illuminate\View\View->renderContents()
#6 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Mail\Mailer.php(430): Illuminate\View\View->render()
#7 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Mail\Mailer.php(310): Illuminate\Mail\Mailer->getView('ticketit::email...', Array)
#8 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Mail\Mailer.php(186): Illuminate\Mail\Mailer->addContent(Object(Illuminate\Mail\Message), 'ticketit::email...', NULL, NULL, Array)
#9 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php(237): Illuminate\Mail\Mailer->send('ticketit::email...', Array, Object(Closure))
#10 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\kordy\ticketit\src\Controllers\NotificationsController.php(103): Illuminate\Support\Facades\Facade::__callStatic('send', Array)
#11 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\kordy\ticketit\src\Controllers\NotificationsController.php(67): Kordy\Ticketit\Controllers\NotificationsController->sendNotification('ticketit::email...', Array, Object(Kordy\Ticketit\Models\Ticket), Object(App\User), 'Florian Sch\xC3\xBCss...', 'agent')
#12 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\kordy\ticketit\src\TicketitServiceProvider.php(169): Kordy\Ticketit\Controllers\NotificationsController->newTicketNotifyAgent(Object(Kordy\Ticketit\Models\Ticket))
#13 [internal function]: Kordy\Ticketit\TicketitServiceProvider->Kordy\Ticketit\{closure}(Object(Kordy\Ticketit\Models\Ticket))
#14 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Events\Dispatcher.php(221): call_user_func_array(Object(Closure), Array)
#15 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php(1665): Illuminate\Events\Dispatcher->fire('eloquent.create...', Array)
#16 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php(1593): Illuminate\Database\Eloquent\Model->fireModelEvent('eloquent.create...', false)
#17 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php(1472): Illuminate\Database\Eloquent\Model->performInsert(Object(Illuminate\Database\Eloquent\Builder))
#18 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\kordy\ticketit\src\Controllers\TicketsController.php(195): Illuminate\Database\Eloquent\Model->save()
#19 [internal function]: Kordy\Ticketit\Controllers\TicketsController->store(Object(Illuminate\Http\Request))
#20 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Controller.php(55): call_user_func_array(Array, Array)
#21 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php(44): Illuminate\Routing\Controller->callAction('store', Array)
#22 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Route.php(189): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Kordy\Ticketit\Controllers\TicketsController), 'store')
#23 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Route.php(144): Illuminate\Routing\Route->runController()
#24 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Router.php(642): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))
#25 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#26 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Middleware\SubstituteBindings.php(41): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#27 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(137): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate\Http\Request), Object(Closure))
#28 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#29 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Auth\Middleware\Authenticate.php(43): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#30 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(137): Illuminate\Auth\Middleware\Authenticate->handle(Object(Illuminate\Http\Request), Object(Closure))
#31 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#32 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\VerifyCsrfToken.php(65): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#33 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(137): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure))
#34 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#35 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\View\Middleware\ShareErrorsFromSession.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#36 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(137): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#37 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#38 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Session\Middleware\StartSession.php(64): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#39 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(137): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#40 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#41 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse.php(37): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#42 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(137): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#43 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#44 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Cookie\Middleware\EncryptCookies.php(59): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#45 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(137): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#46 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#47 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#48 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Router.php(644): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#49 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Router.php(618): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#50 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Router.php(596): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#51 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(267): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#52 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#53 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode.php(46): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#54 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(137): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#55 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#56 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#57 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(149): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#58 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#59 D:\xamppShoppingPortal\htdocs\ShoppingPortal\public\index.php(55): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#60 {main}
Next ErrorException: Trying to get property of non-object (View: D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\kordy\ticketit\src\Views\emails\assigned.blade.php) in D:\xamppShoppingPortal\htdocs\ShoppingPortal\storage\framework\views\dc81073f31b304a589fe02cb835417b554e048bd.php:22
Stack trace:
#0 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\View\Engines\PhpEngine.php(44): Illuminate\View\Engines\CompilerEngine->handleViewException(Object(ErrorException), 1)
#1 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\View\Engines\CompilerEngine.php(59): Illuminate\View\Engines\PhpEngine->evaluatePath('D:\\xamppShoppin...', Array)
#2 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\View\View.php(149): Illuminate\View\Engines\CompilerEngine->get('D:\\xamppShoppin...', Array)
#3 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\View\View.php(120): Illuminate\View\View->getContents()
#4 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\View\View.php(85): Illuminate\View\View->renderContents()
#5 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Mail\Mailer.php(430): Illuminate\View\View->render()
#6 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Mail\Mailer.php(310): Illuminate\Mail\Mailer->getView('ticketit::email...', Array)
#7 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Mail\Mailer.php(186): Illuminate\Mail\Mailer->addContent(Object(Illuminate\Mail\Message), 'ticketit::email...', NULL, NULL, Array)
#8 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php(237): Illuminate\Mail\Mailer->send('ticketit::email...', Array, Object(Closure))
#9 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\kordy\ticketit\src\Controllers\NotificationsController.php(103): Illuminate\Support\Facades\Facade::__callStatic('send', Array)
#10 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\kordy\ticketit\src\Controllers\NotificationsController.php(67): Kordy\Ticketit\Controllers\NotificationsController->sendNotification('ticketit::email...', Array, Object(Kordy\Ticketit\Models\Ticket), Object(App\User), 'Florian Sch\xC3\xBCss...', 'agent')
#11 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\kordy\ticketit\src\TicketitServiceProvider.php(169): Kordy\Ticketit\Controllers\NotificationsController->newTicketNotifyAgent(Object(Kordy\Ticketit\Models\Ticket))
#12 [internal function]: Kordy\Ticketit\TicketitServiceProvider->Kordy\Ticketit\{closure}(Object(Kordy\Ticketit\Models\Ticket))
#13 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Events\Dispatcher.php(221): call_user_func_array(Object(Closure), Array)
#14 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php(1665): Illuminate\Events\Dispatcher->fire('eloquent.create...', Array)
#15 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php(1593): Illuminate\Database\Eloquent\Model->fireModelEvent('eloquent.create...', false)
#16 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php(1472): Illuminate\Database\Eloquent\Model->performInsert(Object(Illuminate\Database\Eloquent\Builder))
#17 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\kordy\ticketit\src\Controllers\TicketsController.php(195): Illuminate\Database\Eloquent\Model->save()
#18 [internal function]: Kordy\Ticketit\Controllers\TicketsController->store(Object(Illuminate\Http\Request))
#19 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Controller.php(55): call_user_func_array(Array, Array)
#20 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php(44): Illuminate\Routing\Controller->callAction('store', Array)
#21 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Route.php(189): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Kordy\Ticketit\Controllers\TicketsController), 'store')
#22 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Route.php(144): Illuminate\Routing\Route->runController()
#23 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Router.php(642): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))
#24 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#25 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Middleware\SubstituteBindings.php(41): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#26 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(137): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate\Http\Request), Object(Closure))
#27 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#28 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Auth\Middleware\Authenticate.php(43): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#29 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(137): Illuminate\Auth\Middleware\Authenticate->handle(Object(Illuminate\Http\Request), Object(Closure))
#30 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#31 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\VerifyCsrfToken.php(65): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#32 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(137): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure))
#33 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#34 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\View\Middleware\ShareErrorsFromSession.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#35 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(137): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#36 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#37 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Session\Middleware\StartSession.php(64): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#38 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(137): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#39 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#40 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse.php(37): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#41 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(137): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#42 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#43 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Cookie\Middleware\EncryptCookies.php(59): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#44 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(137): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#45 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#46 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#47 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Router.php(644): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#48 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Router.php(618): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#49 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Router.php(596): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#50 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(267): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#51 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#52 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode.php(46): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#53 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(137): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#54 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#55 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#56 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(149): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#57 D:\xamppShoppingPortal\htdocs\ShoppingPortal\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#58 D:\xamppShoppingPortal\htdocs\ShoppingPortal\public\index.php(55): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#59 {main}
The inspection tool tracing ajax calls is interesting as well, I tried that, and the only network call using XHR is returning Status Code 200 OK, with this response:
<script src="/js/jquery-3.1.1.min.js"></script>
<script src="/js/sweetalert.min.js"></script>
{"draw":1,"recordsTotal":0,"recordsFiltered":0,"data":[],"queries":[{"query":"select count(*) as aggregate from (select '1' as `row_count` from `ticketit` inner join `users` on `users`.`id` = `ticketit`.`user_id` inner join `ticketit_statuses` on `ticketit_statuses`.`id` = `ticketit`.`status_id` inner join `ticketit_priorities` on `ticketit_priorities`.`id` = `ticketit`.`priority_id` inner join `ticketit_categories` on `ticketit_categories`.`id` = `ticketit`.`category_id` where `completed_at` is null) count_row_table","bindings":[],"time":0.72},{"query":"select `ticketit`.`id`, `ticketit`.`subject` as `subject`, `ticketit_statuses`.`name` as `status`, `ticketit_statuses`.`color` as `color_status`, `ticketit_priorities`.`color` as `color_priority`, `ticketit_categories`.`color` as `color_category`, `ticketit`.`id` as `agent`, `ticketit`.`updated_at` as `updated_at`, `ticketit_priorities`.`name` as `priority`, `users`.`name` as `owner`, `ticketit`.`agent_id`, `ticketit_categories`.`name` as `category` from `ticketit` inner join `users` on `users`.`id` = `ticketit`.`user_id` inner join `ticketit_statuses` on `ticketit_statuses`.`id` = `ticketit`.`status_id` inner join `ticketit_priorities` on `ticketit_priorities`.`id` = `ticketit`.`priority_id` inner join `ticketit_categories` on `ticketit_categories`.`id` = `ticketit`.`category_id` where `completed_at` is null","bindings":[],"time":0.65}],"input":{"draw":"1","columns":[{"data":"id","name":"ticketit.id","searchable":"true","orderable":"true","search":{"value":"","regex":"false"}},{"data":"subject","name":"subject","searchable":"true","orderable":"true","search":{"value":"","regex":"false"}},{"data":"status","name":"ticketit_statuses.name","searchable":"true","orderable":"true","search":{"value":"","regex":"false"}},{"data":"updated_at","name":"ticketit.updated_at","searchable":"true","orderable":"true","search":{"value":"","regex":"false"}},{"data":"agent","name":"users.name","searchable":"true","orderable":"true","search":{"value":"","regex":"false"}},{"data":"priority","name":"ticketit_priorities.name","searchable":"true","orderable":"true","search":{"value":"","regex":"false"}},{"data":"owner","name":"users.name","searchable":"true","orderable":"true","search":{"value":"","regex":"false"}},{"data":"category","name":"ticketit_categories.name","searchable":"true","orderable":"true","search":{"value":"","regex":"false"}}],"order":[{"column":"0","dir":"asc"}],"start":"0","length":"10","search":{"value":"","regex":"false"},"_":"1479236795086"}}
But the default_status_id seems to be correct (table entry holds status_id 1) and in SettingsTableSeeder.php I can find this line:
But you have created a status from settings > statuses > create .. right?
Also you can disable email notifications temporary through settings > configuration > notifications (items# 26, 27, and 29)
No I didn't create any status there yet....
I just tried disabling the notifications now, this doesn't throw the 2nd error any more (with the mail), but I still can't see any tickets and getting this json format error, which is the bigger problem... So as I said, there are no tickets at all showing (but they are entered into the db)
also, I find more and more places, where I don't see the right text, for example clicking on dashboard shows var names or something instead of the normal text, here is a screenshot of the dashboard, as well of the error message
Well, you need first to create at least a status, a priority, and a category, and assign an agent to the category.
Did that as well now, but doesn't change anything...
mmm .. you may try to delete old records and create new tickets after you created the above requirements.
for the screenshots, I think this a missing language lines and glyphicon icons files. for the language, do this command php artisan vendor:publish
, find admin.php file at your language dir in resources/lang/vendor/ticketit
, and make sure it has these lines or add them to it
Doesn't help as well... Deleted it from the db, but even without any entries I get this error message....
Your right with the glyphicons, I also get errors in console for those, but the text won't change somehow....I also located the file admin,php, and it doesn't have these lines, but I'm wondering about, that the line
'ticketit::admin.nav-settings' => 'Einstellungen
as well as 'admin.nav-settings'=>'Einstellungen',
doesn't change anything, there's still the old text....(so the var name)
But I'm sure I can get this language thing fixed but I'm still wondering what the problem with the tickets is about...
Okay, got the language things, it's just nav-settings
as I'm already in the admin.php file... But still the ticket problem persists
What I'm also wondering, I double checked the things that are written down in the path that's referenced from this error, and therefore validated the json I got back at http://jsonlint.com/ and it says it is valid json that is returned... The only thing I could think of is, that it's already returning jQuery and sweetAlert...
Yep, that's it. I included jQuery in the index.php file of the whole project, not in the master template... Because in the master template I already expereienced problems that jquery is not found then, even if I have no idea why... But I'll leave it over there and see if I can fix it. Thanks and feel free to write this your common issues part.
same issue here :(
I just installed the ticket system, but am getting an error immediately when accessing the tickets, saying:
DataTables warning: table id=DataTables_Table_0 - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1
Also (because I thought it might be just a warning), I tried to create a ticket, but it seems like I get a problem sending a mail, the message says:
I completed the installation and everything seems to "look" okay, but I still get the error... BTW: It seems like the 2 tickets I tried to create where created, at least I can find two table entries in the table ticketit...