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..
anything about these ones?
Comments
-
is that on a vanilla Spryker repo?
0 -
it is our "spryker" repo, not sure how much vanilla it's these days
0 -
so, i would need to know if anything was touched regarding the above code
0 -
and maybe also what versions you are operating with
0 -
otherwise we have to fly blind, because i canβt reproduce the above
0 -
can you check you vcs history and are you able to share code bits here?
0 -
will check product-label-gui
0 -
Lucian, please check your src directory against latest spryker shop repo
0 -
I did it with
meld
but any diff tool will work0 -
if you have updated composer packages (via composer update) you will have to adjust src files
0 -
ESPECIALLY if you have started the spryker repo somewhere in the past and later run compsoer update. We had to do this multiple times and that's normal when updating the dependencies
0 -
I clearly remembes errors like the above too and that's how we made them compatible again π
0 -
yes, will take it with label gui, comparing src is very painful, as we have a lot of differences
0 -
updating package worked..
0 -
for one error π
0 -
Unknown "formatDate" filter in "@ProductLabelGui/View/_partials/general-information.twig" at line 22.
0 -
this sounds like a missing plugin registration
0 -
yup,
new DateTimeFormatterTwigPlugin(),
atgetTwigPlugins
in src/Pyz/Zed/Twig/TwigDependencyProvider.php most likely0 -
I updated some more stuff and now I get ```
"The controller must return a response (null given). Did you forget to add a return statement somewhere in your controller?"```
0 -
we didn't even had TwigDependencyProvider, added and get into what I've mentioned before, after a chain of updates
0 -
hard to say which controller returns null in your case, not sure which URL you're trying to access.
0 -
anything about that? must be some bootstrapping I am missing
0 -
just index page
0 -
homepage of zed
0 -
in that case look up:
and open your zed site
I assume your store is EN store here so adjust that accordingly
logs should get us more info0 -
β fixed logs path
0 -
not really, just same errror
0 -
==> data/ZEDADMIN/logs/ZED/application.log <== {"@timestamp":"2019-09-18T10:05:35.543004+00:00","@source":"vm-mytheresa","@fields":{"channel":"Zed","level":500,"environment":{"application":"ZED","environment":"development","store":"ZEDADMIN","locale":"en_US"},"server":{"url":"<http://zed.mytheresa.local/>","is_https":false,"hostname":"zed.mytheresa.local","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","user_ip":"10.10.0.1","request_method":"GET","referer":null},"request":{"requestId":"1a1b5ce7","type":"WEB","request_params":[]},"ctxt_exception":{"class":"LogicException","message":"The controller must return a response (null given). Did you forget to add a return statement somewhere in your controller?","code":0,"file":"/data/shop/development/current/vendor/symfony/http-kernel/HttpKernel.php:169","trace":["/data/shop/development/current/vendor/symfony/http-kernel/HttpKernel.php:68","/data/shop/development/current/vendor/spryker/application/src/Spryker/Shared/Application/Application.php:105","/data/shop/development/current/vendor/spryker/application/src/Spryker/Shared/Application/Application.php:86","/data/shop/development/current/public/Zed/index.php:26"]}},"@message":"LogicException - The controller must return a response (null given). Did you forget to add a return statement somewhere in your controller? in \"/data/shop/development/current/vendor/symfony/http-kernel/HttpKernel.php::169\"","@tags":["Zed"],"@type":"ZED","@source_host":{"url":"<http://zed.mytheresa.local/>","is_https":false,"hostname":"zed.mytheresa.local","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","user_ip":"10.10.0.1","request_method":"GET","referer":null}} ==> data/ZEDADMIN/logs/ZED/exception.log <== [2019-09-18 10:05:35] Zed.CRITICAL: LogicException - The controller must return a response (null given). Did you forget to add a return statement somewhere in your controller? in "/data/shop/development/current/vendor/symfony/http-kernel/HttpKernel.php::169" {"exception":"[object] (LogicException(code: 0): The controller must return a response (null given). Did you forget to add a return statement somewhere in your controller? at /data/shop/development/current/vendor/symfony/http-kernel/HttpKernel.php:169) [stacktrace] #0 /data/shop/development/current/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1) #1 /data/shop/development/current/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(105): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request)) #2 /data/shop/development/current/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(86): Spryker\\Shared\\Application\\Application->handle(Object(Symfony\\Component\\HttpFoundation\\Request)) #3 /data/shop/development/current/public/Zed/index.php(26): Spryker\\Shared\\Application\\Application->run() #4 {main} "} {"environment":{"application":"ZED","environment":"development","store":"ZEDADMIN","locale":"en_US"},"server":{"url":"<http://zed.mytheresa.local/>","is_https":false,"hostname":"zed.mytheresa.local","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","user_ip":"10.10.0.1","request_method":"GET","referer":null},"request":{"requestId":"1a1b5ce7","type":"WEB","request_params":[]}}
0 -
any clues?
0 -
managed...
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