Code
ErrorException in Datatables.php Zeile 1071:
Aufruf der undefinierten Methode Bllim\Datatables\Datatables::usingeloquent()
Code
$list = Store::select('*')->where('user_id','=',$id);
return Datatables::of($list)
->addColumn('action', function ($list) {
return "
<div class='btn-group pull-right'>
<button type='button' class='btn green btn-sm btn-outline dropdown-toggle' data-toggle='dropdown'
aria-expanded='true'> Actions <i class='fa fa-angle-down'></i>
</button>
<ul class='dropdown-menu pull-right' role='menu'>
<li><a href='".route('stores.view',$list->id)."' > View Store</a></li>
<li><a href='".route('stores.edit',$list->id)."' class='fancybox fancybox.ajax'> Edit Store</a></li>
<li><a href='".route('stores.edit',$list->id)."' class='fancybox fancybox.ajax'> Connect Facebook</a></li>
</ul>
</div>";
})
->removeColumn('updated_at')
->removeColumn('created_at')
->make(true);
sieht aus wie der Konflikt, der durch Laravel Stats Tracker verursacht wurde
at HandleExceptions->handleError('256', 'Call to undefined method Bllim\Datatables\Datatables::usingquerybuilder()', 'D:\wamp\www\mookh\mookh-products\vendor\pragmarx\datatables\src\Bllim \Datatables\Datatables.php', '1071', array('name' => 'usingquerybuilder', 'arguments' => array(object(Builder)), 'this' => object(Datatables)))
Gelöst
Automatisch geladene Dienstanbieter neu anordnen
Yajra unter Pragmarx
und dann bin ich wiedervendor:publish
Danke an https://github.com/antonioribeiro/tracker/issues/140
Hilfreichster Kommentar
Gelöst
Automatisch geladene Dienstanbieter neu anordnen
Yajra unter Pragmarx
und dann bin ich wiedervendor:publish
Danke an https://github.com/antonioribeiro/tracker/issues/140