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?

UK7TM6CQJ
UK7TM6CQJ Posts: 123 πŸ§‘πŸ»β€πŸš€ - Cadet

anything about these ones?

Comments

  • is that on a vanilla Spryker repo?

  • UK7TM6CQJ
    UK7TM6CQJ 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?

  • UK7TM6CQJ
    UK7TM6CQJ Posts: 123 πŸ§‘πŸ»β€πŸš€ - Cadet

    will check product-label-gui

  • UK5DS29L2
    UK5DS29L2 Posts: 546 πŸ§‘πŸ»β€πŸš€ - Cadet

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

  • UK5DS29L2
    UK5DS29L2 Posts: 546 πŸ§‘πŸ»β€πŸš€ - Cadet

    I did it with meld but any diff tool will work

  • UK5DS29L2
    UK5DS29L2 Posts: 546 πŸ§‘πŸ»β€πŸš€ - Cadet

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

  • UK5DS29L2
    UK5DS29L2 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

  • UK5DS29L2
    UK5DS29L2 Posts: 546 πŸ§‘πŸ»β€πŸš€ - Cadet

    I clearly remembes errors like the above too and that's how we made them compatible again πŸ™‚

  • UK7TM6CQJ
    UK7TM6CQJ Posts: 123 πŸ§‘πŸ»β€πŸš€ - Cadet

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

  • UK7TM6CQJ
    UK7TM6CQJ Posts: 123 πŸ§‘πŸ»β€πŸš€ - Cadet

    updating package worked..

  • UK7TM6CQJ
    UK7TM6CQJ Posts: 123 πŸ§‘πŸ»β€πŸš€ - Cadet

    for one error πŸ˜•

  • UK7TM6CQJ
    UK7TM6CQJ Posts: 123 πŸ§‘πŸ»β€πŸš€ - Cadet
    Unknown "formatDate" filter in "@ProductLabelGui/View/_partials/general-information.twig" at line 22.
    
  • this sounds like a missing plugin registration

  • UK5DS29L2
    UK5DS29L2 Posts: 546 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited September 2019

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

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

    ```

  • UK7TM6CQJ
    UK7TM6CQJ Posts: 123 πŸ§‘πŸ»β€πŸš€ - Cadet

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

  • UK5DS29L2
    UK5DS29L2 Posts: 546 πŸ§‘πŸ»β€πŸš€ - Cadet

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

  • UK7TM6CQJ
    UK7TM6CQJ Posts: 123 πŸ§‘πŸ»β€πŸš€ - Cadet

    anything about that? must be some bootstrapping I am missing

  • UK7TM6CQJ
    UK7TM6CQJ Posts: 123 πŸ§‘πŸ»β€πŸš€ - Cadet

    just index page

  • UK7TM6CQJ
    UK7TM6CQJ Posts: 123 πŸ§‘πŸ»β€πŸš€ - Cadet

    homepage of zed

  • UK5DS29L2
    UK5DS29L2 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

  • UK5DS29L2
    UK5DS29L2 Posts: 546 πŸ§‘πŸ»β€πŸš€ - Cadet

    ☝ fixed logs path

  • UK7TM6CQJ
    UK7TM6CQJ Posts: 123 πŸ§‘πŸ»β€πŸš€ - Cadet

    not really, just same errror

  • UK7TM6CQJ
    UK7TM6CQJ 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":[]}}
    
  • UK7TM6CQJ
    UK7TM6CQJ Posts: 123 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited September 2019

    any clues?

  • UK7TM6CQJ
    UK7TM6CQJ Posts: 123 πŸ§‘πŸ»β€πŸš€ - Cadet

    managed...