I am currently having a big issue.
I am making this call :
$dataRepository = Slim::getInstance()->getContainer()["cms.store_location.repository"]; $this->locations_localization = $dataRepository->getStoresCoordinates();
getStoresCoordinates() creates a query and call the api. All returned data is as expected.
But, juste after in the same events sequence, i make an other call to the api like so:
$dataRepository = Slim::getInstance()->getContainer()["cms.store_location.repository"]; $storeBanner = $dataRepository->getStoreVisitBanner($params['name']);
getStoreVisitBanner() creates and other query and make a other call to the api. This call is supposed to returned new data about different fields, but instead return the same data as the first query i made.
I can not figure out why. I displayed the query made in the function getStoreVisitBanner($id) and the query is good, but the returned content is not good.
Every time i try to make 2 successive call to the api, the second call is not returning the expected content.
Please need help!