Comments (11)
Not actively for now, but open for PR. Whats the problem?
from laravel-async-queue.
I'm getting:
ErrorException in AsyncQueue.php line 12:
Declaration of Barryvdh\Queue\AsyncQueue::pushToDatabase() should be compatible with Illuminate\Queue\DatabaseQueue::pushToDatabase($queue, $payload, $delay = 0, $attempts = 0)
Any idea?
from laravel-async-queue.
Hi im getting this error and iam using Laravel 5.4.16
Using version ^0.5.0 for barryvdh/laravel-async-queue
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for barryvdh/laravel-async-queue ^0.5.0 -> satisfiable by barryvdh/laravel-async-queue[v0.5.0].
- Conclusion: remove laravel/framework v5.4.16
- Conclusion: don't install laravel/framework v5.4.16
- barryvdh/laravel-async-queue v0.5.0 requires illuminate/support 5.3.x -> satisfiable by illuminate/support[v5.3.0, v5.3.16, v5.3.23, v5.3.4].
- don't install illuminate/support v5.3.0|don't install laravel/framework v5.4.16
- don't install illuminate/support v5.3.16|don't install laravel/framework v5.4.16
- don't install illuminate/support v5.3.23|don't install laravel/framework v5.4.16
- don't install illuminate/support v5.3.4|don't install laravel/framework v5.4.16
- Installation request for laravel/framework (locked at v5.4.16, required as 5.4.*) -> satisfiable by laravel/framework[v5.4.16].
from laravel-async-queue.
Change your composer:
"barryvdh/laravel-async-queue": "dev-master"
But I'm still heaving the same issue :/
from laravel-async-queue.
Can you try with v0.6.0
?
from laravel-async-queue.
Hi @barryvdh, thanks for the 5.4 support,
Here is my config,
'async' => [ 'driver' => 'async', 'table' => 'jobs', 'queue' => 'default', 'expire' => 60, 'binary' => '/usr/bin/php7.0', 'binary_args' => '', ],
Still im not getting the queue process in background. Pls tell about binary args.
from laravel-async-queue.
You usually don't need binary and binary_args at all. Do you have any errors in your logs?
from laravel-async-queue.
Yes, here is my log,
[2017-04-04 12:55:11] local.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined method Illuminate\Queue\Worker::getManager() in /home/vagrant/Code/summerside/vendor/barryvdh/laravel-async-queue/src/Console/AsyncCommand.php:72 Stack trace: #0 /home/vagrant/Code/summerside/vendor/barryvdh/laravel-async-queue/src/Console/AsyncCommand.php(59): Barryvdh\Queue\Console\AsyncCommand->processJob('async', '5', Object(Illuminate\Queue\WorkerOptions)) #1 [internal function]: Barryvdh\Queue\Console\AsyncCommand->fire(Object(Illuminate\Queue\WorkerOptions)) #2 /home/vagrant/Code/summerside/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array) #3 /home/vagrant/Code/summerside/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() #4 /home/vagrant/Code/summerside/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure)) #5 /home/vagrant/Code/summerside/vendor/laravel/framework/src/Illuminate/Container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL) #6 /home/vagrant/Code/summerside/vendor/laravel/framework/src/Illuminate/Console/Command.php(182): Illuminate\Container\Container->call(Array) #7 /home/vagrant/Code/summerside/vendor/symfony/console/Command/Command.php(265): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle)) #8 /home/vagrant/Code/summerside/vendor/laravel/framework/src/Illuminate/Console/Command.php(167): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle)) #9 /home/vagrant/Code/summerside/vendor/symfony/console/Application.php(826): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /home/vagrant/Code/summerside/vendor/symfony/console/Application.php(189): Symfony\Component\Console\Application->doRunCommand(Object(Barryvdh\Queue\Console\AsyncCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #11 /home/vagrant/Code/summerside/vendor/symfony/console/Application.php(120): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #12 /home/vagrant/Code/summerside/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(123): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /home/vagrant/Code/summerside/artisan(35): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 {main}
from laravel-async-queue.
Can you also update Laravel to the latest 5.4 version? (.17 I think)
from laravel-async-queue.
@barryvdh Thanks! It works with Laravel 5.4.17.
from laravel-async-queue.
@barryvdh thanks man! working for me too.
from laravel-async-queue.
Related Issues (20)
- Issues with Process class and fromShellCommandline method in Laravel 8
- Notify when Queue ends
- Doesn't work with Laravel 5.6? HOT 2
- Laravel Horizon support? HOT 1
- Please support laravel 5.6.* HOT 2
- symfony/process 4+ error HOT 1
- Documentation HOT 1
- Laravel 5.7 support?
- Jobs freeze
- Prevent to exec a job before finish other
- cron jobed async queue is not working
- Errro Unknown error while connecting
- Laravel 5.8 issue
- Start Process is not compatible with symfony/process 5x
- How can I retry failed jobs?
- Laravel 7 / Synpony 5
- Alternative to the later method
- Suggestion to resolve queue conflict
- Dead lock HOT 1
- Doesn't make a lot of sense HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-async-queue.