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

Laravel Error #225

Open
gokhan17 opened this issue Dec 10, 2017 · 5 comments
Open

Laravel Error #225

gokhan17 opened this issue Dec 10, 2017 · 5 comments

Comments

@gokhan17
Copy link

Hello,
I'm getting an error message. (Version : Laravel 5.4)

"Declaration of JonnyW\PhantomJs\DependencyInjection\ServiceContainer::load() should be compatible with Symfony\Component\DependencyInjection\Container::load($file)"

How can I fix?

@szabizs
Copy link

szabizs commented Dec 13, 2017

\vendor\jonnyw\php-phantomjs\src\JonnyW\PhantomJs\DependencyInjection\ServiceContainer.php at your load() function change it to load($file = null)

@nicgutierrez
Copy link

hey @szabizs .. you are suggesting to update the vendor library? Is there a proper fix for this?

Thanks

@szabizs
Copy link

szabizs commented Mar 22, 2018

If no new release was made, yes, this is your fix.

@nicgutierrez
Copy link

Alright.. Well I pulled the latest copy and the error is still there so.. Unfortunately updating the vendor folder doesn't work for me or anyone using a deployment tool. I'll see if I can work something out.

Thanks

@szabizs
Copy link

szabizs commented Mar 22, 2018

@nicgutierrez sorry to hear that...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants