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?

Posts: 123 🧑🏻‍🚀 - Cadet

anything about these ones?

Welcome!

It looks like you're new here. Sign in or register to get started.

Comments

  • is that on a vanilla Spryker repo?

  • Posts: 123 🧑🏻‍🚀 - Cadet
    edited September 2019

    it is our "spryker" repo, not sure how much vanilla it's these days

  • so, i would need to know if anything was touched regarding the above code

  • and maybe also what versions you are operating with

  • otherwise we have to fly blind, because i can’t reproduce the above

  • can you check you vcs history and are you able to share code bits here?

  • Posts: 123 🧑🏻‍🚀 - Cadet

    will check product-label-gui

  • Posts: 546 🧑🏻‍🚀 - Cadet

    Lucian, please check your src directory against latest spryker shop repo

  • Posts: 546 🧑🏻‍🚀 - Cadet

    I did it with meld but any diff tool will work

  • Posts: 546 🧑🏻‍🚀 - Cadet

    if you have updated composer packages (via composer update) you will have to adjust src files

  • Posts: 546 🧑🏻‍🚀 - Cadet

    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

  • Posts: 546 🧑🏻‍🚀 - Cadet

    I clearly remembes errors like the above too and that's how we made them compatible again 🙂

  • Posts: 123 🧑🏻‍🚀 - Cadet

    yes, will take it with label gui, comparing src is very painful, as we have a lot of differences

  • Posts: 123 🧑🏻‍🚀 - Cadet

    updating package worked..

  • Posts: 123 🧑🏻‍🚀 - Cadet

    for one error 😕

  • Posts: 123 🧑🏻‍🚀 - Cadet
    Unknown "formatDate" filter in "@ProductLabelGui/View/_partials/general-information.twig" at line 22.
    
  • this sounds like a missing plugin registration

  • Posts: 546 🧑🏻‍🚀 - Cadet
    edited September 2019

    yup, new DateTimeFormatterTwigPlugin(), at getTwigPlugins in src/Pyz/Zed/Twig/TwigDependencyProvider.php most likely

  • Posts: 123 🧑🏻‍🚀 - Cadet

    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?"

    ```

  • Posts: 123 🧑🏻‍🚀 - Cadet

    we didn't even had TwigDependencyProvider, added and get into what I've mentioned before, after a chain of updates

  • Posts: 546 🧑🏻‍🚀 - Cadet

    hard to say which controller returns null in your case, not sure which URL you're trying to access.

  • Posts: 123 🧑🏻‍🚀 - Cadet

    anything about that? must be some bootstrapping I am missing

  • Posts: 123 🧑🏻‍🚀 - Cadet

    just index page

  • Posts: 123 🧑🏻‍🚀 - Cadet

    homepage of zed

  • Posts: 546 🧑🏻‍🚀 - Cadet
    edited September 2019

    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 info

  • Posts: 546 🧑🏻‍🚀 - Cadet

    ☝ fixed logs path

  • Posts: 123 🧑🏻‍🚀 - Cadet

    not really, just same errror

  • Posts: 123 🧑🏻‍🚀 - Cadet
    ==> 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":[]}}
    
  • Posts: 123 🧑🏻‍🚀 - Cadet
    edited September 2019

    any clues?

  • Posts: 123 🧑🏻‍🚀 - Cadet

    managed...

Welcome!

It looks like you're new here. Sign in or register to get started.