-
Notifications
You must be signed in to change notification settings - Fork 62
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
Too few arguments to function #84
Comments
Yes i get this error: Symfony\Component\Debug\Exception\FatalThrowableError |
My guess is the packagist requirements for buzz are too flexible, and now we're unintentionally using too new a version. |
I can run this package without using any framework like laravel. just try running with a simple php script. this will not work on frameworks. |
@Pedroxam I don't think that's necessary - see this line for instance https://github.com/kleiram/transmission-php/blob/master/composer.json#L14 which allows everything after 0.9. This means if/when Buzz releases breaking changes in a new release (such as their 1.0.0 or 1.0.1 release that followed) transmission-php will no longer work because the dependencies have changed unexpectedly. Try setting this in your composer.json to fix the exceptions being thrown.
The above won't roll forward to 1.0.0, and transmission-php will work with your other code (since IIRC laravel doesn't have any concrete dependency on buzz) |
@afk11 Thanks. it most work. |
Hello!
When i run this php code...
... i get this error.
host: 127.0.0.1
postt: 9091
user and password also correct.
Transmission running (Ubuntu Mate 18.04 64bit).
it's fresh install.
P.S. i tried running this outside class and still the same.
The text was updated successfully, but these errors were encountered: