Laravel-mongodb: Php 7 with laravel 5.5.40 mongo db driver issue

Created on 7 May 2018  ·  7Comments  ·  Source: jenssegers/laravel-mongodb

Any one have idea about the below issue, so please suggest me

composer update jenssegers/mongodb 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 - Conclusion: remove laravel/framework v5.5.40 - Conclusion: don't install laravel/framework v5.5.40 - jenssegers/mongodb v3.4.0 requires illuminate/database ^5.6 -> satisfiable by illuminate/database[v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6 .14, v5.6.15, v5.6.16, v5.6.17, v5.6.19, v5.6.2, v5.6.20, v5.6.3, v5.6.4, v5.6.5 , v5.6.6, v5.6.7, v5.6.8, v5.6.9]

question

Most helpful comment

1- open composer.json file
2- add "jenssegers/mongodb": "^3.3.1" into require
3-open terminal in project directory and composer update

All 7 comments

@stardesign77 you must lock the package to this version
"jenssegers/mongodb": "^3.2",

install this version on your project :
"jenssegers/mongodb": "3.3.1"

I have to install using this command - composer require jenssegers/mongodb 3.3.1 ?

(1/1) ErrorExceptionTrying to get property 'headers' of non-object

in VerifyCsrfToken.php line 158
at HandleExceptions->handleError(8, 'Trying to get property \'headers\' of non-object',

1- open composer.json file
2- add "jenssegers/mongodb": "^3.3.1" into require
3-open terminal in project directory and composer update

(1/1) ErrorExceptionTrying to get property 'headers' of non-object
in VerifyCsrfToken.php line 158
at HandleExceptions->handleError(8, 'Trying to get property 'headers' of non-object',

@hosseinjafari, is it for the above?

(1/1) ErrorExceptionTrying to get property 'headers' of non-object
in VerifyCsrfToken.php line 158
at HandleExceptions->handleError(8, 'Trying to get property 'headers' of
non-object',

@hosseinjafari https://github.com/hosseinjafari, is it for the above?

On Thu, May 10, 2018 at 8:19 PM, Hossein jafari notifications@github.com
wrote:

1- open composer.json file
2- add "jenssegers/mongodb": "^3.3.1" into require
3-open terminal in project directory and composer update


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jenssegers/laravel-mongodb/issues/1514#issuecomment-388076622,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVL6GSg4g8zbHcZ1-1eRqxZZIgXcfwQZks5txFNogaJpZM4T0kxX
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

phuocduy1988 picture phuocduy1988  ·  3Comments

geofflancaster picture geofflancaster  ·  3Comments

naveedyasin picture naveedyasin  ·  3Comments

imrannazirbhat picture imrannazirbhat  ·  3Comments

kschethan picture kschethan  ·  3Comments