Closed muriloelias closed 3 years ago
Hi, the issue is not really aptly named because it describes another issue but there is an similar open issue for it with 2 possible solutions that might work for you:
Try those out and see if it that works for you! Unfortunately we're still not sure why this is happening but with a future update this should be solved.
Hi, the issue is not really aptly named because it describes another issue but there is an similar open issue for it with 2 possible solutions that might work for you:
Try those out and see if it that works for you! Unfortunately we're still not sure why this is happening but with a future update this should be solved.
Thank you stayallive, but the solution did not work here.
This does not work for you (I added the sentry/sentry
dependency)?
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": "^7.1.3",
"doctrine/dbal": "^2.9",
"fideloper/proxy": "^4.0",
"htmlmin/htmlmin": "^5.7",
"laravel/framework": "5.7.*",
"laravel/tinker": "^1.0",
"laravelium/sitemap": "^3.0",
"sentry/sentry": "^3.0.4",
"sentry/sentry-laravel": "^2.2",
"sunra/php-simple-html-dom-parser": "^1.5"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.2",
"beyondcode/laravel-dump-server": "^1.0",
"filp/whoops": "^2.0",
"fzaninotto/faker": "^1.4",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^2.0",
"phpunit/phpunit": "^7.0"
},
"autoload": {
"classmap": [
"database/seeds",
"database/factories"
],
"psr-4": {
"App\\": "app/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"extra": {
"laravel": {
"dont-discover": [
]
}
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate"
],
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover"
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true,
"platform": {"php": "7.2.30"}
},
"minimum-stability": "dev",
"prefer-stable": true
}
Make sure to run composer update
and possibly remove your vendor
folder and/or composer.lock
file to see if that helps.
Edit: Ah, you should also change "php": "^7.1.3",
to "php": "^7.2",
since you are running in 7.2 anyway, and the new SDK is only compatible with 7.2
and up and you 7.1
constraint prevents installing the correct version of the SDK!
This is should have been solved at least starting on version 2.3.0 maybe earlier.
I hope this also is solved for you, if not please re-open so we can investigate further!
Hello people,
I did some research before opening this problem and asking for help.
I'm having the following problem in my environment:
My composer file:
My php version:
Has anyone been through this and managed to solve it? Thanks.