Open ibrahim-lab95 opened 1 year ago
you can try for the moment with this fork: https://github.com/arm092/livewire-datatables I am working with it and work perfect!
@insulae Thank you very much, but when I tried to use callback(), an error appeared mentioning getValue()
@ibrahim-lab95 you are trying with the last version of arm092? that problem has already been solved. I don't know much, but if you still have a problem copy your composer.json and we can compare a bit. mine;
"require": {
"php": "^8.1",
"arm092/livewire-datatables": "^1.0",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.10",
"laravel/jetstream": "^3.2",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8",
"livewire/livewire": "^2.11",
"openspout/openspout": "^4.15",
"simplesoftwareio/simple-qrcode": "^4.2",
"wire-elements/modal": "^1.0",
"wireui/wireui": "^1.17"
},
"require-dev": {
"fakerphp/faker": "^1.9.1",
"laravel-lang/common": "^3.1",
"laravel/pint": "^1.0",
"laravel/sail": "^1.18",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^7.0",
"phpunit/phpunit": "^10.1",
"spatie/laravel-ignition": "^2.0"
},
@insulae Too few arguments to function Illuminate\Database\Query\Expression::getValue(), 0 passed in E:\xampp\htdocs\school_management\vendor\arm092\livewire-datatables\src\Http\Livewire\LivewireDatatable.php on line 417 and exactly 1 expected
This issue was fixed with the latest commit, but the latest commit didn't get tagged. With a tag, people could get around this problem.
@thyseus thanks a lot 👍
@insulae Thank you very much, but when I tried to use callback(), an error appeared mentioning getValue()
If you have any problems with my forked version please open issue on it and we will try solve it in short time.
BTW As I remember we've fixed this problem. And BTW Livewire 3 support version will be released after a few seconds)
Hi, when i run composer require mediconesystems/livewire-datatables in a new Laravel 10 application i get errors:
Problem 1
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.