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

[L5.4] seems like last two days you and laravel both released new package and by that some error was occured, so kindly check it out. #236

Closed
harshad-concetto opened this issue Apr 17, 2017 · 7 comments

Comments

@harshad-concetto
Copy link

harshad-concetto commented Apr 17, 2017

current im facing the error like,

array_key_exists() expects parameter 2 to be array, boolean given (View page)

e224f8ee76596b2258cb400823fb9965eefe2516fc09322a75 pimgpsh_fullsize_distr

@harshad-concetto
Copy link
Author

i have latest version of laravel 5.4.19

@panttojo
Copy link

I have the same problem

@mohanmunusamy
Copy link

I'm having the same problem. It's fine with Laravel 5.3 but getting the "array_key_exists() expects parameter 2 to be array, boolean given" error in Laravel 5.4.

@gregc88
Copy link

gregc88 commented Apr 20, 2017

you could add some small workaround. I changed one line in file "vendor/proengsoft/laravel-jsvalidation/src/JsValidatorFactory.php" on line 157 from:
$formRequest = $this->app->build($class, $params);
to:
$formRequest = new $class;
it seems to work on all my projects that use Laravel 5.4.19 but that's probably not the best solution, but it works :)
of course for Laravel 5.4 I also using this patch: Add Support For Laravel 5.4

@harshad-concetto
Copy link
Author

great @gregc88

@antonkomarev
Copy link
Contributor

antonkomarev commented May 11, 2017

You can use my temporary repository.

  1. In composer.json change proengsoft/laravel-jsvalidation in require section to this one:
"proengsoft/laravel-jsvalidation": "dev-dev-laravel54",
  1. Add repositories section with following content:
    "repositories": [
        {
            "type": "git",
            "url": "https://github.com/cybercog/laravel-jsvalidation"
        }
    ],
  1. Execute composer update.

When fix will be published in official repository just revert proengsoft/laravel-jsvalidation to previous value and remove custom repository from repositories section.

@antonkomarev
Copy link
Contributor

antonkomarev commented May 11, 2017

Laravel Container was fixed in recent PR. It will be included in next Laravel release.

@antonkomarev antonkomarev changed the title seems like last two days you and laravel both released new package and by that some error was occured, so kindly check it out. [L5.4] seems like last two days you and laravel both released new package and by that some error was occured, so kindly check it out. Jul 9, 2017
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

5 participants