thekordy / ticketit

A simple helpdesk tickets system for Laravel 5.1+ which integrates smoothly with Laravel default users and auth system, demo is available at: http://ticketit.kordy.info/tickets
MIT License
875 stars 386 forks source link

Proposal & help needed: Database Settings #63

Closed fusiondesign closed 9 years ago

fusiondesign commented 9 years ago

This is for tracking, please do not merge.

I need help with figuring out routes.php. Everything else seems to work perfect.

thekordy commented 9 years ago

@FusionDesign now it works I had to use the cache::forget as you said

Cache::forget('settings');

        $settings = Cache::remember('settings', 60, function () {
            return Table::all();
        });
fishmad commented 9 years ago

my routes.php is right.

$router = $this->app['router'];

$main_route = 'tickets'; $admin_route = 'dashboard';

fusiondesign commented 9 years ago

Yeah but we need to be able to have $main_route = Setting::grab('main_route')

fusiondesign commented 9 years ago

But I can't get that to work. It should be an instance of the cached DB

fishmad commented 9 years ago

that worked for me too.

commenting out

Cache::forget('settings');

fusiondesign commented 9 years ago

Yeah I can fix the cache::forget issue with a simple check to see if $settings is an empty object.

fishmad commented 9 years ago

can your force null values on $admin_route and $main_route for install?

fusiondesign commented 9 years ago

I could easily yeah. Maybe we should default admin_route and main_route to be config values and everything else to be database values?

thekordy commented 9 years ago

When I go to the active tickets (or complete) I get a Datatables error

DataTables warning: table id=DataTables_Table_0 - Ajax error. For more information about this error, please see http://datatables.net/tn/7

fusiondesign commented 9 years ago

Can you tell me what what the "GET" request says for a reply to /data? on your Google Chrome console?

fusiondesign commented 9 years ago

or Firefox w/e

fishmad commented 9 years ago

I had that error when I for got to migrate to datatables migration

fusiondesign commented 9 years ago

Oh yeah, you are probably missing the completed_at column maybe?

fusiondesign commented 9 years ago

That's why I always got that error

fishmad commented 9 years ago

Its working fine on my end, must be migration issue

fusiondesign commented 9 years ago

Same here. Working fine after uncommenting Cache::forget on a new install

fishmad commented 9 years ago

migrate this @thekordy and see if error disappears 2015_09_29_123456_add_completed_at_column_to_ticketit_table.php

fusiondesign commented 9 years ago

I'm not sure why his full migration run didn't migrate everything though. So odd.

fusiondesign commented 9 years ago

Thanks for all the help testing this @fishmad and @thekordy -- We are going to have a smooth transition to a full Admin Backend :)

fishmad commented 9 years ago

I didnt do a new install just replace the vendor/kordy/ticketit folder with pull request my database was already migrated from past - I just needed to seed the new settings.

fusiondesign commented 9 years ago

That's even better! It's good to know my seeder is decently robust at such an early phase @fishmad

fishmad commented 9 years ago

Yeah very nice work, scraping settings from config.php and dynamically populating db on the fly, thats above my skill level.

thekordy commented 9 years ago

I have the migration .. even I created a new database, did all migrations, created new fresh ticket, and I get this error

fishmad commented 9 years ago

did you clear cache views? php artisan view:clear

fusiondesign commented 9 years ago

@thekordy Do you know how to paste the "reply from server"? Like the detailed reply in your Developer Tools?

fusiondesign commented 9 years ago

http://laravel.io/bin/VP931 - If you think that scraping is hardcore. This was written in Laravel 4 for my main employer to import gift cards from a 10yr old excel doc.

thekordy commented 9 years ago

@FusionDesign Sorry i forgot to past the console error

http://ticket.app/tickets/data?draw=1&columns%5B0%5D%5Bdata%5D=id&columns%5…art=0&length=10&search%5Bvalue%5D=&search%5Bregex%5D=false&_=1444399185185 Failed to load resource: the server responded with a status of 500 (Internal Server Error)

fusiondesign commented 9 years ago

What happens when you visit ticket.app/tickets/data?

fishmad commented 9 years ago

Gents I need to got to bed otherwise my kids will annoy me too early tomorrow morning, cya.

fusiondesign commented 9 years ago

Gnite!

fusiondesign commented 9 years ago

Thanks again @fishmad

fusiondesign commented 9 years ago

I'll have a much better build after all this help tonight

thekordy commented 9 years ago

@FusionDesign ticket.app/tickets/data

{"draw":0,"recordsTotal":1,"recordsFiltered":1,"data":[{"id":"1","subject":"<a href=\"http:\/\/ticket.app\/tickets\/1\">Technical support needed<\/a>","status":"<div style='color: #f51414'>Pending<\/div>","color_status":"#f51414","color_priority":"#0d11d6","color_category":"#000000","last_responder":"No replies.","updated_at":"27 minutes ago","priority":"<div style='color: #0d11d6'>Low<\/div>","name":"Ahmed Kordy","agent_id":"1","category":"<div style='color: #000000'>Billing<\/div>"}],"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":1},{"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 \"last_responder\", \"ticketit\".\"updated_at\" as \"updated_at\", \"ticketit_priorities\".\"name\" as \"priority\", \"users\".\"name\", \"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.69},{"query":"select * from \"ticketit_settings\"","bindings":[],"time":0.72},{"query":"select * from \"ticketit\" where \"ticketit\".\"id\" = ? limit 1","bindings":["1"],"time":0.69},{"query":"select * from \"ticketit_comments\" where \"ticketit_comments\".\"ticket_id\" = ? and \"ticketit_comments\".\"ticket_id\" is not null","bindings":["1"],"time":0.74}],"input":[]}
thekordy commented 9 years ago

@fishmad Sweet dreams :)

fusiondesign commented 9 years ago

Lol so ticket.app/tickets/data works great but when the View asks for it, it doesn't respond? I suggest pressing "Ctrl + F5" and to delete storage/framework/views iirc

fusiondesign commented 9 years ago

I can literally see your ticket in that response. No idea why Datatables says it doesn't like the url. If I saw your pc I would push a few buttons and get the exact error. But it's burried in Developer Console under XHR Requests and "Preview Response"

thekordy commented 9 years ago

@FusionDesign This XHR response

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta name="robots" content="noindex,nofollow" />
        <style>
            /* Copyright (c) 2010, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html */
            html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}

            html { background: #eee; padding: 10px }
            img { border: 0; }
            #sf-resetcontent { width:970px; margin:0 auto; }
                        .sf-reset { font: 11px Verdana, Arial, sans-serif; color: #333 }
            .sf-reset .clear { clear:both; height:0; font-size:0; line-height:0; }
            .sf-reset .clear_fix:after { display:block; height:0; clear:both; visibility:hidden; }
            .sf-reset .clear_fix { display:inline-block; }
            .sf-reset * html .clear_fix { height:1%; }
            .sf-reset .clear_fix { display:block; }
            .sf-reset, .sf-reset .block { margin: auto }
            .sf-reset abbr { border-bottom: 1px dotted #000; cursor: help; }
            .sf-reset p { font-size:14px; line-height:20px; color:#868686; padding-bottom:20px }
            .sf-reset strong { font-weight:bold; }
            .sf-reset a { color:#6c6159; cursor: default; }
            .sf-reset a img { border:none; }
            .sf-reset a:hover { text-decoration:underline; }
            .sf-reset em { font-style:italic; }
            .sf-reset h1, .sf-reset h2 { font: 20px Georgia, "Times New Roman", Times, serif }
            .sf-reset .exception_counter { background-color: #fff; color: #333; padding: 6px; float: left; margin-right: 10px; float: left; display: block; }
            .sf-reset .exception_title { margin-left: 3em; margin-bottom: 0.7em; display: block; }
            .sf-reset .exception_message { margin-left: 3em; display: block; }
            .sf-reset .traces li { font-size:12px; padding: 2px 4px; list-style-type:decimal; margin-left:20px; }
            .sf-reset .block { background-color:#FFFFFF; padding:10px 28px; margin-bottom:20px;
                -webkit-border-bottom-right-radius: 16px;
                -webkit-border-bottom-left-radius: 16px;
                -moz-border-radius-bottomright: 16px;
                -moz-border-radius-bottomleft: 16px;
                border-bottom-right-radius: 16px;
                border-bottom-left-radius: 16px;
                border-bottom:1px solid #ccc;
                border-right:1px solid #ccc;
                border-left:1px solid #ccc;
            }
            .sf-reset .block_exception { background-color:#ddd; color: #333; padding:20px;
                -webkit-border-top-left-radius: 16px;
                -webkit-border-top-right-radius: 16px;
                -moz-border-radius-topleft: 16px;
                -moz-border-radius-topright: 16px;
                border-top-left-radius: 16px;
                border-top-right-radius: 16px;
                border-top:1px solid #ccc;
                border-right:1px solid #ccc;
                border-left:1px solid #ccc;
                overflow: hidden;
                word-wrap: break-word;
            }
            .sf-reset a { background:none; color:#868686; text-decoration:none; }
            .sf-reset a:hover { background:none; color:#313131; text-decoration:underline; }
            .sf-reset ol { padding: 10px 0; }
            .sf-reset h1 { background-color:#FFFFFF; padding: 15px 28px; margin-bottom: 20px;
                -webkit-border-radius: 10px;
                -moz-border-radius: 10px;
                border-radius: 10px;
                border: 1px solid #ccc;
            }
        </style>
    </head>
    <body>
                    <div id="sf-resetcontent" class="sf-reset">
                <h1>Whoops, looks like something went wrong.</h1>
                                        <h2 class="block_exception clear_fix">
                            <span class="exception_counter">2/2</span>
                            <span class="exception_title"><abbr title="Illuminate\Database\QueryException">QueryException</abbr> in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Connection.php line 651" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Connection.php line 651</a>:</span>
                            <span class="exception_message">SQLSTATE[HY000]: General error: 1 ambiguous column name: id (SQL: select &quot;ticketit&quot;.&quot;id&quot;, &quot;ticketit&quot;.&quot;subject&quot; as &quot;subject&quot;, &quot;ticketit_statuses&quot;.&quot;name&quot; as &quot;status&quot;, &quot;ticketit_statuses&quot;.&quot;color&quot; as &quot;color_status&quot;, &quot;ticketit_priorities&quot;.&quot;color&quot; as &quot;color_priority&quot;, &quot;ticketit_categories&quot;.&quot;color&quot; as &quot;color_category&quot;, &quot;ticketit&quot;.&quot;id&quot; as &quot;last_responder&quot;, &quot;ticketit&quot;.&quot;updated_at&quot; as &quot;updated_at&quot;, &quot;ticketit_priorities&quot;.&quot;name&quot; as &quot;priority&quot;, &quot;users&quot;.&quot;name&quot;, &quot;ticketit&quot;.&quot;agent_id&quot;, &quot;ticketit_categories&quot;.&quot;name&quot; as &quot;category&quot; from &quot;ticketit&quot; inner join &quot;users&quot; on &quot;users&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;user_id&quot; inner join &quot;ticketit_statuses&quot; on &quot;ticketit_statuses&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;status_id&quot; inner join &quot;ticketit_priorities&quot; on &quot;ticketit_priorities&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;priority_id&quot; inner join &quot;ticketit_categories&quot; on &quot;ticketit_categories&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;category_id&quot; where &quot;completed_at&quot; is null order by &quot;id&quot; asc limit 10 offset 0)</span>
                        </h2>
                        <div class="block">
                            <ol class="traces list_exception">
       <li> in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Connection.php line 651" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Connection.php line 651</a></li>
       <li>at <abbr title="Illuminate\Database\Connection">Connection</abbr>->runQueryCallback('select &quot;ticketit&quot;.&quot;id&quot;, &quot;ticketit&quot;.&quot;subject&quot; as &quot;subject&quot;, &quot;ticketit_statuses&quot;.&quot;name&quot; as &quot;status&quot;, &quot;ticketit_statuses&quot;.&quot;color&quot; as &quot;color_status&quot;, &quot;ticketit_priorities&quot;.&quot;color&quot; as &quot;color_priority&quot;, &quot;ticketit_categories&quot;.&quot;color&quot; as &quot;color_category&quot;, &quot;ticketit&quot;.&quot;id&quot; as &quot;last_responder&quot;, &quot;ticketit&quot;.&quot;updated_at&quot; as &quot;updated_at&quot;, &quot;ticketit_priorities&quot;.&quot;name&quot; as &quot;priority&quot;, &quot;users&quot;.&quot;name&quot;, &quot;ticketit&quot;.&quot;agent_id&quot;, &quot;ticketit_categories&quot;.&quot;name&quot; as &quot;category&quot; from &quot;ticketit&quot; inner join &quot;users&quot; on &quot;users&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;user_id&quot; inner join &quot;ticketit_statuses&quot; on &quot;ticketit_statuses&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;status_id&quot; inner join &quot;ticketit_priorities&quot; on &quot;ticketit_priorities&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;priority_id&quot; inner join &quot;ticketit_categories&quot; on &quot;ticketit_categories&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;category_id&quot; where &quot;completed_at&quot; is null order by &quot;id&quot; asc limit 10 offset 0', <em>array</em>(), <em>object</em>(<abbr title="Closure">Closure</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Connection.php line 611" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Connection.php line 611</a></li>
       <li>at <abbr title="Illuminate\Database\Connection">Connection</abbr>->run('select &quot;ticketit&quot;.&quot;id&quot;, &quot;ticketit&quot;.&quot;subject&quot; as &quot;subject&quot;, &quot;ticketit_statuses&quot;.&quot;name&quot; as &quot;status&quot;, &quot;ticketit_statuses&quot;.&quot;color&quot; as &quot;color_status&quot;, &quot;ticketit_priorities&quot;.&quot;color&quot; as &quot;color_priority&quot;, &quot;ticketit_categories&quot;.&quot;color&quot; as &quot;color_category&quot;, &quot;ticketit&quot;.&quot;id&quot; as &quot;last_responder&quot;, &quot;ticketit&quot;.&quot;updated_at&quot; as &quot;updated_at&quot;, &quot;ticketit_priorities&quot;.&quot;name&quot; as &quot;priority&quot;, &quot;users&quot;.&quot;name&quot;, &quot;ticketit&quot;.&quot;agent_id&quot;, &quot;ticketit_categories&quot;.&quot;name&quot; as &quot;category&quot; from &quot;ticketit&quot; inner join &quot;users&quot; on &quot;users&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;user_id&quot; inner join &quot;ticketit_statuses&quot; on &quot;ticketit_statuses&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;status_id&quot; inner join &quot;ticketit_priorities&quot; on &quot;ticketit_priorities&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;priority_id&quot; inner join &quot;ticketit_categories&quot; on &quot;ticketit_categories&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;category_id&quot; where &quot;completed_at&quot; is null order by &quot;id&quot; asc limit 10 offset 0', <em>array</em>(), <em>object</em>(<abbr title="Closure">Closure</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Connection.php line 324" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Connection.php line 324</a></li>
       <li>at <abbr title="Illuminate\Database\Connection">Connection</abbr>->select('select &quot;ticketit&quot;.&quot;id&quot;, &quot;ticketit&quot;.&quot;subject&quot; as &quot;subject&quot;, &quot;ticketit_statuses&quot;.&quot;name&quot; as &quot;status&quot;, &quot;ticketit_statuses&quot;.&quot;color&quot; as &quot;color_status&quot;, &quot;ticketit_priorities&quot;.&quot;color&quot; as &quot;color_priority&quot;, &quot;ticketit_categories&quot;.&quot;color&quot; as &quot;color_category&quot;, &quot;ticketit&quot;.&quot;id&quot; as &quot;last_responder&quot;, &quot;ticketit&quot;.&quot;updated_at&quot; as &quot;updated_at&quot;, &quot;ticketit_priorities&quot;.&quot;name&quot; as &quot;priority&quot;, &quot;users&quot;.&quot;name&quot;, &quot;ticketit&quot;.&quot;agent_id&quot;, &quot;ticketit_categories&quot;.&quot;name&quot; as &quot;category&quot; from &quot;ticketit&quot; inner join &quot;users&quot; on &quot;users&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;user_id&quot; inner join &quot;ticketit_statuses&quot; on &quot;ticketit_statuses&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;status_id&quot; inner join &quot;ticketit_priorities&quot; on &quot;ticketit_priorities&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;priority_id&quot; inner join &quot;ticketit_categories&quot; on &quot;ticketit_categories&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;category_id&quot; where &quot;completed_at&quot; is null order by &quot;id&quot; asc limit 10 offset 0', <em>array</em>(), <em>true</em>) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php line 1398" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Builder.php line 1398</a></li>
       <li>at <abbr title="Illuminate\Database\Query\Builder">Builder</abbr>->runSelect() in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php line 1388" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Builder.php line 1388</a></li>
       <li>at <abbr title="Illuminate\Database\Query\Builder">Builder</abbr>->getFresh(<em>array</em>('*')) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php line 1373" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Builder.php line 1373</a></li>
       <li>at <abbr title="Illuminate\Database\Query\Builder">Builder</abbr>->get(<em>array</em>('*')) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php line 409" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Builder.php line 409</a></li>
       <li>at <abbr title="Illuminate\Database\Eloquent\Builder">Builder</abbr>->getModels(<em>array</em>('*')) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php line 168" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Builder.php line 168</a></li>
       <li>at <abbr title="Illuminate\Database\Eloquent\Builder">Builder</abbr>->get() in <a title="/home/vagrant/Code/ticketit/vendor/yajra/laravel-datatables-oracle/src/yajra/Datatables/Engines/QueryBuilderEngine.php line 280" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">QueryBuilderEngine.php line 280</a></li>
       <li>at <abbr title="yajra\Datatables\Engines\QueryBuilderEngine">QueryBuilderEngine</abbr>->results() in <a title="/home/vagrant/Code/ticketit/vendor/yajra/laravel-datatables-oracle/src/yajra/Datatables/Engines/BaseEngine.php line 710" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">BaseEngine.php line 710</a></li>
       <li>at <abbr title="yajra\Datatables\Engines\BaseEngine">BaseEngine</abbr>->getProcessedData(<em>true</em>) in <a title="/home/vagrant/Code/ticketit/vendor/yajra/laravel-datatables-oracle/src/yajra/Datatables/Engines/BaseEngine.php line 684" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">BaseEngine.php line 684</a></li>
       <li>at <abbr title="yajra\Datatables\Engines\BaseEngine">BaseEngine</abbr>->render(<em>true</em>) in <a title="/home/vagrant/Code/ticketit/vendor/yajra/laravel-datatables-oracle/src/yajra/Datatables/Engines/BaseEngine.php line 566" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">BaseEngine.php line 566</a></li>
       <li>at <abbr title="yajra\Datatables\Engines\BaseEngine">BaseEngine</abbr>->make(<em>true</em>, <em>false</em>) in <a title="/home/vagrant/Code/ticketit/vendor/yajra/laravel-datatables-oracle/src/yajra/Datatables/Engines/QueryBuilderEngine.php line 67" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">QueryBuilderEngine.php line 67</a></li>
       <li>at <abbr title="yajra\Datatables\Engines\QueryBuilderEngine">QueryBuilderEngine</abbr>->make(<em>true</em>) in <a title="/home/vagrant/Code/ticketit/vendor/kordy/ticketit/src/Controllers/TicketsController.php line 70" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">TicketsController.php line 70</a></li>
       <li>at <abbr title="Kordy\Ticketit\Controllers\TicketsController">TicketsController</abbr>->data(<em>object</em>(<abbr title="yajra\Datatables\Datatables">Datatables</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func_array(<em>array</em>(<em>object</em>(<abbr title="Kordy\Ticketit\Controllers\TicketsController">TicketsController</abbr>), 'data'), <em>array</em>(<em>object</em>(<abbr title="yajra\Datatables\Datatables">Datatables</abbr>))) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/Controller.php line 256" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Controller.php line 256</a></li>
       <li>at <abbr title="Illuminate\Routing\Controller">Controller</abbr>->callAction('data', <em>array</em>(<em>object</em>(<abbr title="yajra\Datatables\Datatables">Datatables</abbr>))) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php line 164" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">ControllerDispatcher.php line 164</a></li>
       <li>at <abbr title="Illuminate\Routing\ControllerDispatcher">ControllerDispatcher</abbr>->call(<em>object</em>(<abbr title="Kordy\Ticketit\Controllers\TicketsController">TicketsController</abbr>), <em>object</em>(<abbr title="Illuminate\Routing\Route">Route</abbr>), 'data') in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php line 112" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">ControllerDispatcher.php line 112</a></li>
       <li>at <abbr title="Illuminate\Routing\ControllerDispatcher">ControllerDispatcher</abbr>->Illuminate\Routing\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func(<em>object</em>(<abbr title="Closure">Closure</abbr>), <em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 139" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 139</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func(<em>object</em>(<abbr title="Closure">Closure</abbr>), <em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 103" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 103</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->then(<em>object</em>(<abbr title="Closure">Closure</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php line 114" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">ControllerDispatcher.php line 114</a></li>
       <li>at <abbr title="Illuminate\Routing\ControllerDispatcher">ControllerDispatcher</abbr>->callWithinStack(<em>object</em>(<abbr title="Kordy\Ticketit\Controllers\TicketsController">TicketsController</abbr>), <em>object</em>(<abbr title="Illuminate\Routing\Route">Route</abbr>), <em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), 'data') in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php line 69" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">ControllerDispatcher.php line 69</a></li>
       <li>at <abbr title="Illuminate\Routing\ControllerDispatcher">ControllerDispatcher</abbr>->dispatch(<em>object</em>(<abbr title="Illuminate\Routing\Route">Route</abbr>), <em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), 'Kordy\Ticketit\Controllers\TicketsController', 'data') in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/Route.php line 201" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Route.php line 201</a></li>
       <li>at <abbr title="Illuminate\Routing\Route">Route</abbr>->runWithCustomDispatcher(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/Route.php line 134" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Route.php line 134</a></li>
       <li>at <abbr title="Illuminate\Routing\Route">Route</abbr>->run(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/Router.php line 704" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Router.php line 704</a></li>
       <li>at <abbr title="Illuminate\Routing\Router">Router</abbr>->Illuminate\Routing\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func(<em>object</em>(<abbr title="Closure">Closure</abbr>), <em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 139" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 139</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/app/Http/Middleware/Authenticate.php line 45" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Authenticate.php line 45</a></li>
       <li>at <abbr title="App\Http\Middleware\Authenticate">Authenticate</abbr>->handle(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func_array(<em>array</em>(<em>object</em>(<abbr title="App\Http\Middleware\Authenticate">Authenticate</abbr>), 'handle'), <em>array</em>(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 124" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 124</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func(<em>object</em>(<abbr title="Closure">Closure</abbr>), <em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 103" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 103</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->then(<em>object</em>(<abbr title="Closure">Closure</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/Router.php line 706" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Router.php line 706</a></li>
       <li>at <abbr title="Illuminate\Routing\Router">Router</abbr>->runRouteWithinStack(<em>object</em>(<abbr title="Illuminate\Routing\Route">Route</abbr>), <em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/Router.php line 671" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Router.php line 671</a></li>
       <li>at <abbr title="Illuminate\Routing\Router">Router</abbr>->dispatchToRoute(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/Router.php line 631" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Router.php line 631</a></li>
       <li>at <abbr title="Illuminate\Routing\Router">Router</abbr>->dispatch(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php line 236" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Kernel.php line 236</a></li>
       <li>at <abbr title="Illuminate\Foundation\Http\Kernel">Kernel</abbr>->Illuminate\Foundation\Http\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func(<em>object</em>(<abbr title="Closure">Closure</abbr>), <em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 139" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 139</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php line 50" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">VerifyCsrfToken.php line 50</a></li>
       <li>at <abbr title="Illuminate\Foundation\Http\Middleware\VerifyCsrfToken">VerifyCsrfToken</abbr>->handle(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func_array(<em>array</em>(<em>object</em>(<abbr title="App\Http\Middleware\VerifyCsrfToken">VerifyCsrfToken</abbr>), 'handle'), <em>array</em>(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 124" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 124</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php line 49" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">ShareErrorsFromSession.php line 49</a></li>
       <li>at <abbr title="Illuminate\View\Middleware\ShareErrorsFromSession">ShareErrorsFromSession</abbr>->handle(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func_array(<em>array</em>(<em>object</em>(<abbr title="Illuminate\View\Middleware\ShareErrorsFromSession">ShareErrorsFromSession</abbr>), 'handle'), <em>array</em>(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 124" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 124</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php line 62" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">StartSession.php line 62</a></li>
       <li>at <abbr title="Illuminate\Session\Middleware\StartSession">StartSession</abbr>->handle(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func_array(<em>array</em>(<em>object</em>(<abbr title="Illuminate\Session\Middleware\StartSession">StartSession</abbr>), 'handle'), <em>array</em>(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 124" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 124</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php line 37" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">AddQueuedCookiesToResponse.php line 37</a></li>
       <li>at <abbr title="Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse">AddQueuedCookiesToResponse</abbr>->handle(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func_array(<em>array</em>(<em>object</em>(<abbr title="Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse">AddQueuedCookiesToResponse</abbr>), 'handle'), <em>array</em>(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 124" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 124</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php line 59" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">EncryptCookies.php line 59</a></li>
       <li>at <abbr title="Illuminate\Cookie\Middleware\EncryptCookies">EncryptCookies</abbr>->handle(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func_array(<em>array</em>(<em>object</em>(<abbr title="App\Http\Middleware\EncryptCookies">EncryptCookies</abbr>), 'handle'), <em>array</em>(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 124" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 124</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php line 42" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">CheckForMaintenanceMode.php line 42</a></li>
       <li>at <abbr title="Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode">CheckForMaintenanceMode</abbr>->handle(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func_array(<em>array</em>(<em>object</em>(<abbr title="Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode">CheckForMaintenanceMode</abbr>), 'handle'), <em>array</em>(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 124" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 124</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func(<em>object</em>(<abbr title="Closure">Closure</abbr>), <em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 103" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 103</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->then(<em>object</em>(<abbr title="Closure">Closure</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php line 122" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Kernel.php line 122</a></li>
       <li>at <abbr title="Illuminate\Foundation\Http\Kernel">Kernel</abbr>->sendRequestThroughRouter(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php line 87" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Kernel.php line 87</a></li>
       <li>at <abbr title="Illuminate\Foundation\Http\Kernel">Kernel</abbr>->handle(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/public/index.php line 54" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">index.php line 54</a></li>
    </ol>
</div>
                        <h2 class="block_exception clear_fix">
                            <span class="exception_counter">1/2</span>
                            <span class="exception_title"><abbr title="PDOException">PDOException</abbr> in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Connection.php line 319" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Connection.php line 319</a>:</span>
                            <span class="exception_message">SQLSTATE[HY000]: General error: 1 ambiguous column name: id</span>
                        </h2>
                        <div class="block">
                            <ol class="traces list_exception">
       <li> in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Connection.php line 319" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Connection.php line 319</a></li>
       <li>at <abbr title="PDO">PDO</abbr>->prepare('select &quot;ticketit&quot;.&quot;id&quot;, &quot;ticketit&quot;.&quot;subject&quot; as &quot;subject&quot;, &quot;ticketit_statuses&quot;.&quot;name&quot; as &quot;status&quot;, &quot;ticketit_statuses&quot;.&quot;color&quot; as &quot;color_status&quot;, &quot;ticketit_priorities&quot;.&quot;color&quot; as &quot;color_priority&quot;, &quot;ticketit_categories&quot;.&quot;color&quot; as &quot;color_category&quot;, &quot;ticketit&quot;.&quot;id&quot; as &quot;last_responder&quot;, &quot;ticketit&quot;.&quot;updated_at&quot; as &quot;updated_at&quot;, &quot;ticketit_priorities&quot;.&quot;name&quot; as &quot;priority&quot;, &quot;users&quot;.&quot;name&quot;, &quot;ticketit&quot;.&quot;agent_id&quot;, &quot;ticketit_categories&quot;.&quot;name&quot; as &quot;category&quot; from &quot;ticketit&quot; inner join &quot;users&quot; on &quot;users&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;user_id&quot; inner join &quot;ticketit_statuses&quot; on &quot;ticketit_statuses&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;status_id&quot; inner join &quot;ticketit_priorities&quot; on &quot;ticketit_priorities&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;priority_id&quot; inner join &quot;ticketit_categories&quot; on &quot;ticketit_categories&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;category_id&quot; where &quot;completed_at&quot; is null order by &quot;id&quot; asc limit 10 offset 0') in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Connection.php line 319" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Connection.php line 319</a></li>
       <li>at <abbr title="Illuminate\Database\Connection">Connection</abbr>->Illuminate\Database\{closure}(<em>object</em>(<abbr title="Illuminate\Database\SQLiteConnection">SQLiteConnection</abbr>), 'select &quot;ticketit&quot;.&quot;id&quot;, &quot;ticketit&quot;.&quot;subject&quot; as &quot;subject&quot;, &quot;ticketit_statuses&quot;.&quot;name&quot; as &quot;status&quot;, &quot;ticketit_statuses&quot;.&quot;color&quot; as &quot;color_status&quot;, &quot;ticketit_priorities&quot;.&quot;color&quot; as &quot;color_priority&quot;, &quot;ticketit_categories&quot;.&quot;color&quot; as &quot;color_category&quot;, &quot;ticketit&quot;.&quot;id&quot; as &quot;last_responder&quot;, &quot;ticketit&quot;.&quot;updated_at&quot; as &quot;updated_at&quot;, &quot;ticketit_priorities&quot;.&quot;name&quot; as &quot;priority&quot;, &quot;users&quot;.&quot;name&quot;, &quot;ticketit&quot;.&quot;agent_id&quot;, &quot;ticketit_categories&quot;.&quot;name&quot; as &quot;category&quot; from &quot;ticketit&quot; inner join &quot;users&quot; on &quot;users&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;user_id&quot; inner join &quot;ticketit_statuses&quot; on &quot;ticketit_statuses&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;status_id&quot; inner join &quot;ticketit_priorities&quot; on &quot;ticketit_priorities&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;priority_id&quot; inner join &quot;ticketit_categories&quot; on &quot;ticketit_categories&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;category_id&quot; where &quot;completed_at&quot; is null order by &quot;id&quot; asc limit 10 offset 0', <em>array</em>()) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Connection.php line 644" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Connection.php line 644</a></li>
       <li>at <abbr title="Illuminate\Database\Connection">Connection</abbr>->runQueryCallback('select &quot;ticketit&quot;.&quot;id&quot;, &quot;ticketit&quot;.&quot;subject&quot; as &quot;subject&quot;, &quot;ticketit_statuses&quot;.&quot;name&quot; as &quot;status&quot;, &quot;ticketit_statuses&quot;.&quot;color&quot; as &quot;color_status&quot;, &quot;ticketit_priorities&quot;.&quot;color&quot; as &quot;color_priority&quot;, &quot;ticketit_categories&quot;.&quot;color&quot; as &quot;color_category&quot;, &quot;ticketit&quot;.&quot;id&quot; as &quot;last_responder&quot;, &quot;ticketit&quot;.&quot;updated_at&quot; as &quot;updated_at&quot;, &quot;ticketit_priorities&quot;.&quot;name&quot; as &quot;priority&quot;, &quot;users&quot;.&quot;name&quot;, &quot;ticketit&quot;.&quot;agent_id&quot;, &quot;ticketit_categories&quot;.&quot;name&quot; as &quot;category&quot; from &quot;ticketit&quot; inner join &quot;users&quot; on &quot;users&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;user_id&quot; inner join &quot;ticketit_statuses&quot; on &quot;ticketit_statuses&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;status_id&quot; inner join &quot;ticketit_priorities&quot; on &quot;ticketit_priorities&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;priority_id&quot; inner join &quot;ticketit_categories&quot; on &quot;ticketit_categories&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;category_id&quot; where &quot;completed_at&quot; is null order by &quot;id&quot; asc limit 10 offset 0', <em>array</em>(), <em>object</em>(<abbr title="Closure">Closure</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Connection.php line 611" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Connection.php line 611</a></li>
       <li>at <abbr title="Illuminate\Database\Connection">Connection</abbr>->run('select &quot;ticketit&quot;.&quot;id&quot;, &quot;ticketit&quot;.&quot;subject&quot; as &quot;subject&quot;, &quot;ticketit_statuses&quot;.&quot;name&quot; as &quot;status&quot;, &quot;ticketit_statuses&quot;.&quot;color&quot; as &quot;color_status&quot;, &quot;ticketit_priorities&quot;.&quot;color&quot; as &quot;color_priority&quot;, &quot;ticketit_categories&quot;.&quot;color&quot; as &quot;color_category&quot;, &quot;ticketit&quot;.&quot;id&quot; as &quot;last_responder&quot;, &quot;ticketit&quot;.&quot;updated_at&quot; as &quot;updated_at&quot;, &quot;ticketit_priorities&quot;.&quot;name&quot; as &quot;priority&quot;, &quot;users&quot;.&quot;name&quot;, &quot;ticketit&quot;.&quot;agent_id&quot;, &quot;ticketit_categories&quot;.&quot;name&quot; as &quot;category&quot; from &quot;ticketit&quot; inner join &quot;users&quot; on &quot;users&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;user_id&quot; inner join &quot;ticketit_statuses&quot; on &quot;ticketit_statuses&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;status_id&quot; inner join &quot;ticketit_priorities&quot; on &quot;ticketit_priorities&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;priority_id&quot; inner join &quot;ticketit_categories&quot; on &quot;ticketit_categories&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;category_id&quot; where &quot;completed_at&quot; is null order by &quot;id&quot; asc limit 10 offset 0', <em>array</em>(), <em>object</em>(<abbr title="Closure">Closure</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Connection.php line 324" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Connection.php line 324</a></li>
       <li>at <abbr title="Illuminate\Database\Connection">Connection</abbr>->select('select &quot;ticketit&quot;.&quot;id&quot;, &quot;ticketit&quot;.&quot;subject&quot; as &quot;subject&quot;, &quot;ticketit_statuses&quot;.&quot;name&quot; as &quot;status&quot;, &quot;ticketit_statuses&quot;.&quot;color&quot; as &quot;color_status&quot;, &quot;ticketit_priorities&quot;.&quot;color&quot; as &quot;color_priority&quot;, &quot;ticketit_categories&quot;.&quot;color&quot; as &quot;color_category&quot;, &quot;ticketit&quot;.&quot;id&quot; as &quot;last_responder&quot;, &quot;ticketit&quot;.&quot;updated_at&quot; as &quot;updated_at&quot;, &quot;ticketit_priorities&quot;.&quot;name&quot; as &quot;priority&quot;, &quot;users&quot;.&quot;name&quot;, &quot;ticketit&quot;.&quot;agent_id&quot;, &quot;ticketit_categories&quot;.&quot;name&quot; as &quot;category&quot; from &quot;ticketit&quot; inner join &quot;users&quot; on &quot;users&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;user_id&quot; inner join &quot;ticketit_statuses&quot; on &quot;ticketit_statuses&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;status_id&quot; inner join &quot;ticketit_priorities&quot; on &quot;ticketit_priorities&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;priority_id&quot; inner join &quot;ticketit_categories&quot; on &quot;ticketit_categories&quot;.&quot;id&quot; = &quot;ticketit&quot;.&quot;category_id&quot; where &quot;completed_at&quot; is null order by &quot;id&quot; asc limit 10 offset 0', <em>array</em>(), <em>true</em>) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php line 1398" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Builder.php line 1398</a></li>
       <li>at <abbr title="Illuminate\Database\Query\Builder">Builder</abbr>->runSelect() in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php line 1388" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Builder.php line 1388</a></li>
       <li>at <abbr title="Illuminate\Database\Query\Builder">Builder</abbr>->getFresh(<em>array</em>('*')) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php line 1373" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Builder.php line 1373</a></li>
       <li>at <abbr title="Illuminate\Database\Query\Builder">Builder</abbr>->get(<em>array</em>('*')) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php line 409" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Builder.php line 409</a></li>
       <li>at <abbr title="Illuminate\Database\Eloquent\Builder">Builder</abbr>->getModels(<em>array</em>('*')) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php line 168" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Builder.php line 168</a></li>
       <li>at <abbr title="Illuminate\Database\Eloquent\Builder">Builder</abbr>->get() in <a title="/home/vagrant/Code/ticketit/vendor/yajra/laravel-datatables-oracle/src/yajra/Datatables/Engines/QueryBuilderEngine.php line 280" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">QueryBuilderEngine.php line 280</a></li>
       <li>at <abbr title="yajra\Datatables\Engines\QueryBuilderEngine">QueryBuilderEngine</abbr>->results() in <a title="/home/vagrant/Code/ticketit/vendor/yajra/laravel-datatables-oracle/src/yajra/Datatables/Engines/BaseEngine.php line 710" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">BaseEngine.php line 710</a></li>
       <li>at <abbr title="yajra\Datatables\Engines\BaseEngine">BaseEngine</abbr>->getProcessedData(<em>true</em>) in <a title="/home/vagrant/Code/ticketit/vendor/yajra/laravel-datatables-oracle/src/yajra/Datatables/Engines/BaseEngine.php line 684" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">BaseEngine.php line 684</a></li>
       <li>at <abbr title="yajra\Datatables\Engines\BaseEngine">BaseEngine</abbr>->render(<em>true</em>) in <a title="/home/vagrant/Code/ticketit/vendor/yajra/laravel-datatables-oracle/src/yajra/Datatables/Engines/BaseEngine.php line 566" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">BaseEngine.php line 566</a></li>
       <li>at <abbr title="yajra\Datatables\Engines\BaseEngine">BaseEngine</abbr>->make(<em>true</em>, <em>false</em>) in <a title="/home/vagrant/Code/ticketit/vendor/yajra/laravel-datatables-oracle/src/yajra/Datatables/Engines/QueryBuilderEngine.php line 67" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">QueryBuilderEngine.php line 67</a></li>
       <li>at <abbr title="yajra\Datatables\Engines\QueryBuilderEngine">QueryBuilderEngine</abbr>->make(<em>true</em>) in <a title="/home/vagrant/Code/ticketit/vendor/kordy/ticketit/src/Controllers/TicketsController.php line 70" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">TicketsController.php line 70</a></li>
       <li>at <abbr title="Kordy\Ticketit\Controllers\TicketsController">TicketsController</abbr>->data(<em>object</em>(<abbr title="yajra\Datatables\Datatables">Datatables</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func_array(<em>array</em>(<em>object</em>(<abbr title="Kordy\Ticketit\Controllers\TicketsController">TicketsController</abbr>), 'data'), <em>array</em>(<em>object</em>(<abbr title="yajra\Datatables\Datatables">Datatables</abbr>))) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/Controller.php line 256" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Controller.php line 256</a></li>
       <li>at <abbr title="Illuminate\Routing\Controller">Controller</abbr>->callAction('data', <em>array</em>(<em>object</em>(<abbr title="yajra\Datatables\Datatables">Datatables</abbr>))) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php line 164" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">ControllerDispatcher.php line 164</a></li>
       <li>at <abbr title="Illuminate\Routing\ControllerDispatcher">ControllerDispatcher</abbr>->call(<em>object</em>(<abbr title="Kordy\Ticketit\Controllers\TicketsController">TicketsController</abbr>), <em>object</em>(<abbr title="Illuminate\Routing\Route">Route</abbr>), 'data') in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php line 112" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">ControllerDispatcher.php line 112</a></li>
       <li>at <abbr title="Illuminate\Routing\ControllerDispatcher">ControllerDispatcher</abbr>->Illuminate\Routing\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func(<em>object</em>(<abbr title="Closure">Closure</abbr>), <em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 139" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 139</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func(<em>object</em>(<abbr title="Closure">Closure</abbr>), <em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 103" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 103</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->then(<em>object</em>(<abbr title="Closure">Closure</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php line 114" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">ControllerDispatcher.php line 114</a></li>
       <li>at <abbr title="Illuminate\Routing\ControllerDispatcher">ControllerDispatcher</abbr>->callWithinStack(<em>object</em>(<abbr title="Kordy\Ticketit\Controllers\TicketsController">TicketsController</abbr>), <em>object</em>(<abbr title="Illuminate\Routing\Route">Route</abbr>), <em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), 'data') in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php line 69" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">ControllerDispatcher.php line 69</a></li>
       <li>at <abbr title="Illuminate\Routing\ControllerDispatcher">ControllerDispatcher</abbr>->dispatch(<em>object</em>(<abbr title="Illuminate\Routing\Route">Route</abbr>), <em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), 'Kordy\Ticketit\Controllers\TicketsController', 'data') in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/Route.php line 201" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Route.php line 201</a></li>
       <li>at <abbr title="Illuminate\Routing\Route">Route</abbr>->runWithCustomDispatcher(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/Route.php line 134" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Route.php line 134</a></li>
       <li>at <abbr title="Illuminate\Routing\Route">Route</abbr>->run(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/Router.php line 704" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Router.php line 704</a></li>
       <li>at <abbr title="Illuminate\Routing\Router">Router</abbr>->Illuminate\Routing\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func(<em>object</em>(<abbr title="Closure">Closure</abbr>), <em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 139" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 139</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/app/Http/Middleware/Authenticate.php line 45" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Authenticate.php line 45</a></li>
       <li>at <abbr title="App\Http\Middleware\Authenticate">Authenticate</abbr>->handle(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func_array(<em>array</em>(<em>object</em>(<abbr title="App\Http\Middleware\Authenticate">Authenticate</abbr>), 'handle'), <em>array</em>(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 124" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 124</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func(<em>object</em>(<abbr title="Closure">Closure</abbr>), <em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 103" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 103</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->then(<em>object</em>(<abbr title="Closure">Closure</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/Router.php line 706" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Router.php line 706</a></li>
       <li>at <abbr title="Illuminate\Routing\Router">Router</abbr>->runRouteWithinStack(<em>object</em>(<abbr title="Illuminate\Routing\Route">Route</abbr>), <em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/Router.php line 671" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Router.php line 671</a></li>
       <li>at <abbr title="Illuminate\Routing\Router">Router</abbr>->dispatchToRoute(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Routing/Router.php line 631" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Router.php line 631</a></li>
       <li>at <abbr title="Illuminate\Routing\Router">Router</abbr>->dispatch(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php line 236" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Kernel.php line 236</a></li>
       <li>at <abbr title="Illuminate\Foundation\Http\Kernel">Kernel</abbr>->Illuminate\Foundation\Http\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func(<em>object</em>(<abbr title="Closure">Closure</abbr>), <em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 139" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 139</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php line 50" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">VerifyCsrfToken.php line 50</a></li>
       <li>at <abbr title="Illuminate\Foundation\Http\Middleware\VerifyCsrfToken">VerifyCsrfToken</abbr>->handle(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func_array(<em>array</em>(<em>object</em>(<abbr title="App\Http\Middleware\VerifyCsrfToken">VerifyCsrfToken</abbr>), 'handle'), <em>array</em>(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 124" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 124</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php line 49" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">ShareErrorsFromSession.php line 49</a></li>
       <li>at <abbr title="Illuminate\View\Middleware\ShareErrorsFromSession">ShareErrorsFromSession</abbr>->handle(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func_array(<em>array</em>(<em>object</em>(<abbr title="Illuminate\View\Middleware\ShareErrorsFromSession">ShareErrorsFromSession</abbr>), 'handle'), <em>array</em>(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 124" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 124</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php line 62" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">StartSession.php line 62</a></li>
       <li>at <abbr title="Illuminate\Session\Middleware\StartSession">StartSession</abbr>->handle(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func_array(<em>array</em>(<em>object</em>(<abbr title="Illuminate\Session\Middleware\StartSession">StartSession</abbr>), 'handle'), <em>array</em>(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 124" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 124</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php line 37" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">AddQueuedCookiesToResponse.php line 37</a></li>
       <li>at <abbr title="Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse">AddQueuedCookiesToResponse</abbr>->handle(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func_array(<em>array</em>(<em>object</em>(<abbr title="Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse">AddQueuedCookiesToResponse</abbr>), 'handle'), <em>array</em>(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 124" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 124</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php line 59" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">EncryptCookies.php line 59</a></li>
       <li>at <abbr title="Illuminate\Cookie\Middleware\EncryptCookies">EncryptCookies</abbr>->handle(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func_array(<em>array</em>(<em>object</em>(<abbr title="App\Http\Middleware\EncryptCookies">EncryptCookies</abbr>), 'handle'), <em>array</em>(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 124" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 124</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php line 42" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">CheckForMaintenanceMode.php line 42</a></li>
       <li>at <abbr title="Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode">CheckForMaintenanceMode</abbr>->handle(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func_array(<em>array</em>(<em>object</em>(<abbr title="Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode">CheckForMaintenanceMode</abbr>), 'handle'), <em>array</em>(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>), <em>object</em>(<abbr title="Closure">Closure</abbr>))) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 124" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 124</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->Illuminate\Pipeline\{closure}(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>))</li>
       <li>at <abbr title=""></abbr>call_user_func(<em>object</em>(<abbr title="Closure">Closure</abbr>), <em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line 103" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Pipeline.php line 103</a></li>
       <li>at <abbr title="Illuminate\Pipeline\Pipeline">Pipeline</abbr>->then(<em>object</em>(<abbr title="Closure">Closure</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php line 122" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Kernel.php line 122</a></li>
       <li>at <abbr title="Illuminate\Foundation\Http\Kernel">Kernel</abbr>->sendRequestThroughRouter(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php line 87" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Kernel.php line 87</a></li>
       <li>at <abbr title="Illuminate\Foundation\Http\Kernel">Kernel</abbr>->handle(<em>object</em>(<abbr title="Illuminate\Http\Request">Request</abbr>)) in <a title="/home/vagrant/Code/ticketit/public/index.php line 54" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">index.php line 54</a></li>
    </ol>
</div>

            </div>
    </body>
</html>
fusiondesign commented 9 years ago

It says "SQLSTATE[HY000]: General error: 1 ambiguous column name: id"

fusiondesign commented 9 years ago

Which means your datatables JS is wrong.

fusiondesign commented 9 years ago
        columns: [
            { data: 'id', name: 'id' },
            { data: 'subject', name: 'subject' },
            { data: 'status', name: 'ticketit_statuses.name' },
            { data: 'updated_at', name: 'updated_at' },
            { data: 'last_responder', name: 'users.name' },
            @if( $u->isAgent() || $u->isAdmin() )
                { data: 'priority', name: 'ticketit_priorities.name' },
                { data: 'name', name: 'users.name' },
                { data: 'category', name: 'ticketit_categories.name' }
            @endif
fusiondesign commented 9 years ago

change name to ticketit.id

fusiondesign commented 9 years ago

Tell me if that fixes it.

fusiondesign commented 9 years ago

On line 2 data: {id} name: {ticketit.id}

fusiondesign commented 9 years ago

Keep data as id, just change name to ticketit.id

fusiondesign commented 9 years ago

I don't know why I never ran into this error??

thekordy commented 9 years ago

Which file?

fusiondesign commented 9 years ago

Views/index.blade.php

fusiondesign commented 9 years ago

Sorry

thekordy commented 9 years ago

Works :+1:

fusiondesign commented 9 years ago

YES! If you are ever curious about datatables errors, check out under "Whoops something went wrong" in that long text you just sent :)