Giter VIP home page Giter VIP logo

Comments (6)

PapsOu avatar PapsOu commented on September 11, 2024

Hello @daniel84, I can't reproduce your bug. Can you give me informations that appears in the symfony log under var/log/prod.log (or dev.log if you're in dev env) ?

from pialab-back.

daniel84 avatar daniel84 commented on September 11, 2024

Hello @PapsOu, you can find the dev.log from my dev env in the attached file.
It is the portion regarding the moment when I click on the Login button.
LoginError.txt

from pialab-back.

PapsOu avatar PapsOu commented on September 11, 2024

Could you give me more informations if you're in dev env ?

Open the profiler, search for the GET /profile item and go to Exception section. Please give me a screenshot or a text copy of the full stack.

Be sure to have you vendors sync with the composer.lock file (run a composer install). Also, please check in database that the pia_user, the one you try to log in with, have it's own user_profile entry.

from pialab-back.

daniel84 avatar daniel84 commented on September 11, 2024

To be sure I've deleted the vendor folder and the composer.lock file and rerun the composer install command.
I also controlled the pia_user and pia_profile tables and in pia_profile table I have the correct user_id for my user...
You can find the full stacktrace of the exception from the Symfony profiler of GET /profile item.
StackTrace.txt

from pialab-back.

PapsOu avatar PapsOu commented on September 11, 2024

Thanks for the stack trace.

The unserialize fails when trying to execute directly.

Do you have cleared the cache ? Please make sur the cache is fully cleared (if it is on a dev env, you can delete everything into var/cache/ folder : rm -rf var/cache/*. I know that JMSSerializer uses cache to store mapping metadatas, so the problem maybe due to an invalid cache state.

from pialab-back.

daniel84 avatar daniel84 commented on September 11, 2024

It was indeed a cache problem.
I deleted it and everything works now!
Thank you very much @PapsOu

from pialab-back.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.