Call to a member function ajax() on string

Laraship QuestionsCategory: TechnicalCall to a member function ajax() on string
mostafa hussein asked 5 years ago
after installing on dev server (bitnami lamp stack) when trying to open any page in dashboard working with datatables this error displayed "Call to a member function ajax() on string" "if ($this->request()->ajax() && $this->request()->wantsJson()) {" "vendor/yajra/laravel-datatables-buttons/src/Services/DataTable.php line 130"
Attachments
1 Answers
laraship Staff answered 5 years ago

Hello

The issue is related to PHP 7.2 and a fix was pushed today, you can downlaod the new package to fix