What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Has anyone been able to update php version from 7.2 to 7.3 in b2b-demo-app and run the app successfu
Has anyone been able to update php version from 7.2 to 7.3 in b2b-demo-app and run the app successfully?
Comments
-
Yes, that should work. What problem are you facing?
0 -
Some modules have missing files: For instance
namespace Pyz\Yves\ContentProductSetWidget
has a fileContentProductSetWidgetFactory
which requires the following dependency:use SprykerShop\Yves\ContentProductSetWidget\Twig\ContentProductSetTwigFunction as SprykerShopContentProductSetTwigFunction;
But after updating php version from 7.2 to 7.3 in composer.json and running composer install
I no longer see this fileContentProductSetTwigFunction
0 -
we're on 7.4 without an issues
0 -
just ran the update myself using spryker/php:7.3-alpine3.12 in the deploy.yml and php 7.3 in composer json and i did not see an issue
0 -
What were of php platform are you using inside this section of your composer.json file:
"config": { "preferred-install": "dist", "platform": { "php": "7.2.15" },
0 -
in other words are you change that as well?
0 -
"php":Β "7.3"
0 -
yes
0 -
silly question. but whats the command youre running for updating?
0 -
there is not really a command for the php update, you change the deploy yml, the composer files
0 -
after that just dont forget to
docker/sdk boot
your deploy file again0 -
thanks. let me try it
0 -
Hi Thomas so these are the steps I am taking and that leads me to an error:
1. Clone b2b-demo-app, docker and run docker/sdk up (after running docker/sdk boot deploy.dev.yml
2. I can open Yves and Zed app.
3. Change php version in composer.json at line no: 6 and line no: 262
4. Then go into docker/sdk cli
5. in cli run the following command:composer require spryker/auth-rest-api:^2.14.0 --with-all-dependencies
6. once the compser has updated dependencies, I try to run Yves and get the following error:YVES Exception InvalidArgumentException - The Router does not support the following options: "matcher_base_class". in /data/vendor/symfony/routing/Router.php (151) Url:/ Trace: #0 /data/vendor/symfony/routing/Router.php(106): Symfony\Component\Routing\Router->setOptions(Array) #1 /data/vendor/spryker/router/src/Spryker/Yves/Router/Router/Router.php(44): Symfony\Component\Routing\Router->__construct(Object(Spryker\Yves\Router\Loader\ClosureLoader), Object(Spryker\Yves\Router\RouterResource\RouterResource), Array) #2 /data/vendor/spryker/router/src/Spryker/Yves/Router/RouterFactory.php(63): Spryker\Yves\Router\Router\Router->__construct(Object(Spryker\Yves\Router\Loader\ClosureLoader), Object(Spryker\Yves\Router\RouterResource\RouterResource), Array, Array) #3 /data/vendor/spryker/router/src/Spryker/Yves/Router/Plugin/Router/YvesRouterPlugin.php(27): Spryker\Yves\Router\RouterFactory->createYvesRouter() #4 /data/vendor/spryker/router/src/Spryker/Yves/Router/Router/ChainRouter.php(38): Spryker\Yves\Router\Plugin\Router\YvesRouterPlugin->getRouter() #5 /data/vendor/spryker/router/src/Spryker/Yves/Router/Router/ChainRouter.php(27): Spryker\Yves\Router\Router\ChainRouter->addRouterPlugins(Array) #6 /data/vendor/spryker/router/src/Spryker/Yves/Router/RouterFactory.php(43): Spryker\Yves\Router\Router\ChainRouter->__construct(Array) #7 /data/vendor/spryker/router/src/Spryker/Yves/Router/Plugin/Application/RouterApplicationPlugin.php(61): Spryker\Yves\Router\RouterFactory->createRouter() #8 /data/vendor/spryker/container/src/Spryker/Service/Container/Container.php(273): Spryker\Yves\Router\Plugin\Application\RouterApplicationPlugin->Spryker\Yves\Router\Plugin\Application\{closure}(Object(Spryker\Yves\Kernel\Application)) #9 /data/vendor/spryker/container/src/Spryker/Service/Container/Container.php(210): Spryker\Service\Container\Container->getService('routers') #10 /data/vendor/spryker/router/src/Spryker/Yves/Router/Plugin/EventDispatcher/RouterListenerEventDispatcherPlugin.php(84): Spryker\Service\Container\Container->get('routers') #11 /data/vendor/spryker/router/src/Spryker/Yves/Router/Plugin/EventDispatcher/RouterListenerEventDispatcherPlugin.php(70): Spryker\Yves\Router\Plugin\EventDispatcher\RouterListenerEventDispatcherPlugin->getChainRouter(Object(Spryker\Yves\Kernel\Application)) #12 /data/vendor/spryker/router/src/Spryker/Yves/Router/Plugin/EventDispatcher/RouterListenerEventDispatcherPlugin.php(42): Spryker\Yves\Router\Plugin\EventDispatcher\RouterListenerEventDispatcherPlugin->addSubscriber(Object(Spryker\Shared\EventDispatcher\EventDispatcher), Object(Spryker\Yves\Kernel\Application)) #13 /data/vendor/spryker/event-dispatcher/src/Spryker/Yves/EventDispatcher/Plugin/Application/EventDispatcherApplicationPlugin.php(116): Spryker\Yves\Router\Plugin\EventDispatcher\RouterListenerEventDispatcherPlugin->extend(Object(Spryker\Shared\EventDispatcher\EventDispatcher), Object(Spryker\Yves\Kernel\Application)) #14 /data/vendor/spryker/event-dispatcher/src/Spryker/Yves/EventDispatcher/Plugin/Application/EventDispatcherApplicationPlugin.php(72): Spryker\Yves\EventDispatcher\Plugin\Application\EventDispatcherApplicationPlugin->extendEventDispatcher(Object(Spryker\Shared\EventDispatcher\EventDispatcher), Object(Spryker\Yves\Kernel\Application)) #15 /data/vendor/spryker/container/src/Spryker/Service/Container/Container.php(421): Spryker\Yves\EventDispatcher\Plugin\Application\EventDispatcherApplicationPlugin->Spryker\Yves\EventDispatcher\Plugin\Application\{closure}(Object(Symfony\Component\EventDispatcher\EventDispatcher), Object(Spryker\Yves\Kernel\Application)) #16 /data/vendor/spryker/container/src/Spryker/Service/Container/Container.php(273): Spryker\Service\Container\Container->Spryker\Service\Container\{closure}(Object(Spryker\Yves\Kernel\Application)) #17 /data/vendor/spryker/container/src/Spryker/Service/Container/Container.php(210): Spryker\Service\Container\Container->getService('dispatcher') #18 /data/vendor/spryker/container/src/Spryker/Service/Container/Container.php(617): Spryker\Service\Container\Container->get('dispatcher') #19 /data/vendor/spryker/silexphp/src/Silex/Provider/RoutingServiceProvider.php(115): Spryker\Service\Container\Container->offsetGet('dispatcher') #20 /data/vendor/spryker/silexphp/src/Silex/Application.php(186): Silex\Provider\RoutingServiceProvider->boot(Object(Spryker\Yves\Kernel\Application)) #21 /data/vendor/spryker-shop/shop-application/src/SprykerShop/Yves/ShopApplication/YvesBootstrap.php(67): Silex\Application->boot() #22 /data/public/Yves/index.php(21): SprykerShop\Yves\ShopApplication\YvesBootstrap->boot() #23 {main}
0 -
Hi Thomas. Iβll open a ticket for this
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random