This is kind of a nasty one!
I am trying to work with the Leads API on a clean install of OroCRM Tag 1.8.2 in production mode.
If I start up a new Browser(opening the app, not a new tab or window) and log in, everything works fine.
If I then go to /api/doc/ and make an API call to add a Lead, the Lead is created successfully and returns 201 with json of the created id.
Then, when I try go to(or reload) /lead in the UI to see then new lead that was created, I get a 500 error and a blank page(Chrome & Safari), in Firefox I get a red flash message that says “Sorry, page was not loaded correctly.” and the UI stays where it was.
No matter what I do at this point, the app does not respond at any URL while using the browser that initiated the call. If I quit the Browser and restart it, all is well again, all URLs responding. Also, if I log in with a different browser and hit /lead, it responds, so this issue just kills the browser that is being used to make the API call(or so it seems).
In the nginx error log, I have an entry for every URL I’ve tried to hit that looks something like this:
PHP message: PHP Fatal error: Call to a member function getId() on null in /var/www/vhosts/orocrm/vendor/oro/platform/src/Oro/Bundle/SecurityBundle/Http/Firewall/ContextListener.php on line 46
That’s what I know!
You must be logged in to reply to this topic.