This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

raokean34473
raokean34473

I have error: Class 'yajra\Datatables\DatatablesServiceProvider' not found from October CMS.

  1. composer require yajra/laravel-datatables-oracle:^8.0
  2. include config/app.php file:

'providers' => array_merge(include(base_path('modules/system/providers.php')), [ // 'Illuminate\Html\HtmlServiceProvider', // Example 'System\ServiceProvider', yajra\Datatables\DatatablesServiceProvider::class, ]), 'aliases' => array_merge(include(base_path('modules/system/aliases.php')), [ // 'Str' => 'Illuminate\Support\Str', // Example 'Datatables' => yajra\Datatables\Facades\Datatables::class, ]),

  1. use my plugin component:

use Yajra\Datatables\Facades\Datatables; I tried changing "Yajra" to lower case, but it is still not working.

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.