Giter VIP home page Giter VIP logo

Comments (11)

barryvdh avatar barryvdh commented on July 2, 2024

Not actively for now, but open for PR. Whats the problem?

from laravel-async-queue.

CBox avatar CBox commented on July 2, 2024

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.

mohank28 avatar mohank28 commented on July 2, 2024

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.

CBox avatar CBox commented on July 2, 2024

Change your composer:
"barryvdh/laravel-async-queue": "dev-master"

But I'm still heaving the same issue :/

from laravel-async-queue.

barryvdh avatar barryvdh commented on July 2, 2024

Can you try with v0.6.0?

from laravel-async-queue.

mohank28 avatar mohank28 commented on July 2, 2024

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.

barryvdh avatar barryvdh commented on July 2, 2024

You usually don't need binary and binary_args at all. Do you have any errors in your logs?

from laravel-async-queue.

mohank28 avatar mohank28 commented on July 2, 2024

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.

barryvdh avatar barryvdh commented on July 2, 2024

Can you also update Laravel to the latest 5.4 version? (.17 I think)

from laravel-async-queue.

mohank28 avatar mohank28 commented on July 2, 2024

@barryvdh Thanks! It works with Laravel 5.4.17.

from laravel-async-queue.

CBox avatar CBox commented on July 2, 2024

@barryvdh thanks man! working for me too.

from laravel-async-queue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.