Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'Yajra\Datatables\Services\DataTable' not found #1390

Closed
mirnasamaan opened this issue Sep 14, 2017 · 14 comments
Closed

Class 'Yajra\Datatables\Services\DataTable' not found #1390

mirnasamaan opened this issue Sep 14, 2017 · 14 comments

Comments

@mirnasamaan
Copy link

I'm having a problem when using Yajra datatables with laravel. It gives me an error "Class 'Yajra\Datatables\Services\DataTable' not found"

System details

  • Operating System: Windows 10
  • PHP Version: 5.6.4
  • Laravel Version: 5.4.*
  • Laravel-Datatables Version: 1.0
@the94air
Copy link

the94air commented Sep 14, 2017

Try Yajra\DataTables\Services\DataTable
----------------^
Datatables to DataTables
See the upgrade guide

@waleedyounis
Copy link

Still not working

@the94air
Copy link

the94air commented Sep 15, 2017

@waleedyounis What version are you using?

@yajra
Copy link
Owner

yajra commented Sep 16, 2017

@waleedyounis were you able to install the buttons plugin?
https://github.com/yajra/laravel-datatables-buttons
https://yajrabox.com/docs/laravel-datatables/master/buttons-installation

@waleedyounis
Copy link

Yes. I re-installed the plugin along with the buttons plugin and now it's working.
Thanks a lot for the help

@Hamzeh-Jamalon
Copy link

Hamzeh-Jamalon commented Oct 10, 2017

@the94air Thanks. you are the best.

@the94air
Copy link

the94air commented Oct 10, 2017

@Hamzeh-Jamalon I am glad it helped.

@khaleo
Copy link

khaleo commented Sep 12, 2018

I'm having a same problem when using Yajra datatables with laravel 5.6. project. It gives me an error "Class 'Yajra\Datatables\Services\DataTable' not found"
System details
Operating System: Windows 10
PHP Version: 7.2.4
Laravel Version: 5.6.*

following the guide upgrade I have this other error in my terminal
"Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for yajra/laravel-datatables-oracle 7.0 -> satisfiable by yajra/laravel-datatables-oracle[v7.0.0].
- Conclusion: remove laravel/framework v5.6.38
- Conclusion: don't install laravel/framework v5.6.38
- yajra/laravel-datatables-oracle v7.0.0 requires illuminate/view 5.4.* -> satisfiable by illuminate/view[5.4.x-dev, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9] "

how to resolve it ????

@the94air
Copy link

the94air commented Sep 12, 2018

@khaleo The package name space is not correct
Yajra\Data(t)ables\ to Yajra\Data(T)ables\
Checkout my answer above.

@khaleo
Copy link

khaleo commented Sep 12, 2018

thk u but i don't understand.Explain plz what i have to do in my laravel project (laravel 5.6)

@shah1827
Copy link

same error
ubuntu 16.04 version

@SavanThakkar
Copy link

Try Yajra\DataTables\Services\DataTable
----------------^
Datatables to DataTables
See the upgrade guide

Link doesn't seems to be accessible. Can you please check it?

Copy link

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale label Dec 11, 2023
Copy link

This issue was closed because it has been inactive for 7 days since being marked as stale.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants