You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i tried to make a pay in palpay express or offline, i have this error:
Compile Error: Cannot use League\Uri\Components\Exception as Exception because the name is already in use.
in vendor\league\uri-components\src\QueryParser.php (line 20)
declare(strict_types=1);
namespace League\Uri;
use League\Uri\Components\EncodingInterface;
use League\Uri\Components\Exception;
use Traversable;
use TypeError;
My code:
public function processPaymentAction(Bookings $booking)
{
$storage = $this->get('payum')->getStorage(Payment::class);
when i tried to make a pay in palpay express or offline, i have this error:
Compile Error: Cannot use League\Uri\Components\Exception as Exception because the name is already in use.
in vendor\league\uri-components\src\QueryParser.php (line 20)
My code:
public function processPaymentAction(Bookings $booking)
{
$storage = $this->get('payum')->getStorage(Payment::class);
My composer.json:
{
"type": "project",
"license": "proprietary",
"require": {
"php": "^7.0.8",
"ext-iconv": "",
"easycorp/easyadmin-bundle": "^1.17",
"egeloen/ckeditor-bundle": "^6.0",
"league/uri-components": "@dev",
"payum/paypal-express-checkout-nvp": "^1.4",
"payum/offline": "^1.5",
"payum/payum-bundle": "^2.2",
"php-http/guzzle6-adapter": "^1.1",
"sensio/framework-extra-bundle": "^5.1",
"stof/doctrine-extensions-bundle": "^1.3",
"symfony/apache-pack": "^1.0",
"symfony/asset": "^3.4",
"symfony/console": "^3.4",
"symfony/debug-pack": "",
"symfony/expression-language": "^3.4",
"symfony/flex": "^1.0",
"symfony/form": "^3.4",
"symfony/framework-bundle": "^3.4",
"symfony/lts": "^3",
"symfony/monolog-bundle": "^3.1",
"symfony/orm-pack": "",
"symfony/process": "^3.4",
"symfony/security-bundle": "^3.4",
"symfony/serializer-pack": "",
"symfony/swiftmailer-bundle": "^3.1",
"symfony/validator": "^3.4",
"symfony/web-link": "^3.4",
"symfony/webpack-encore-pack": "",
"symfony/yaml": "^3.4"
},
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.0",
"symfony/browser-kit": "^3.4",
"symfony/css-selector": "^3.4",
"symfony/dotenv": "^3.4",
"symfony/maker-bundle": "^1.0",
"symfony/phpunit-bridge": "^3.4",
"symfony/profiler-pack": ""
},
"config": {
"preferred-install": {
"": "dist"
},
"sort-packages": true
},
"autoload": {
"psr-4": {
"App\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\Tests\": "tests/"
}
},
"replace": {
"symfony/polyfill-iconv": "",
"symfony/polyfill-php70": "",
"symfony/polyfill-php56": ""
},
"scripts": {
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd"
},
"post-install-cmd": [
"@auto-scripts"
],
"post-update-cmd": [
"@auto-scripts"
]
},
"conflict": {
"symfony/symfony": "*"
},
"extra": {
"symfony": {
"id": "01C80JWP1A032K4AM6DMBNNC57",
"allow-contrib": false
}
}
}
The text was updated successfully, but these errors were encountered: