You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed this into a new Laravel installation and followed the command-line method and populated it with the sample data/seeded info. The dashboard loads and the queries execute successfully. (I have the Laravel Debugbar enabled)
However whenever I attempt to navigate to a page that is attempting to I assume list tickets into a DataTable -- they are failing to load with:
DataTables warning: table id=tickets-table - Ajax error. For more information about this error, please see http://datatables.net/tn/7
I had to go into TicketsController.php previous to this error as originally it wasn't even finding Yajra's DataTables class. I modified a line in TicketControllers.php (254) to read as camel-cased as opposed to lowercase:
@btraill Have you tried to delete the demo tickets and test it creating one of your own? I'm not sure if It could be a problem with the actual demo data.
The PR #12 you mentioned is included in current version, v0.18.0 released last 17th November
If you still have trouble with this, please share your software versions:
Laravel version
PanicHD version
Local Installation Operating System (Which distro and version)
I installed this into a new Laravel installation and followed the command-line method and populated it with the sample data/seeded info. The dashboard loads and the queries execute successfully. (I have the Laravel Debugbar enabled)
However whenever I attempt to navigate to a page that is attempting to I assume list tickets into a DataTable -- they are failing to load with:
DataTables warning: table id=tickets-table - Ajax error. For more information about this error, please see http://datatables.net/tn/7
I had to go into TicketsController.php previous to this error as originally it wasn't even finding Yajra's DataTables class. I modified a line in TicketControllers.php (254) to read as camel-cased as opposed to lowercase:
$datatables = app(\Yajra\DataTables\DataTables::class);
Doing that got me passed the "Target class [Yajra\Datatables\Datatables] does not exist." error/stack trace but now I'm stuck with:
ErrorException
Invalid argument supplied for foreach()
Any help is greatly appreciated!
The dashboard loads with the sample data, so I know the SQL interaction is working as expected.
The text was updated successfully, but these errors were encountered: