This question is an exact duplicate of:
- Error when retrieving associated data on. Linux only 2 answers
I've completed a project in my local environment running Windows 10. The production server on Debian OS
I encountered an issue. Despite both my local env and prod env being run on the same Cakephp version, version 3.1.4, the same Cakephp database query
$this->Articles->find()->contain('ArticleComments');
is returning two different results from an identical data stored in two different environments.
attached an image which contains both results.
Any idea what could be the problem? From Cakephp point of view configuration is set correctly. In my local env the application and database queries are running smoothly.
Image: