Hello,
I've built this project around Docker and have configured the right dependencies, project, but when I run a request to login, I keep getting an error exception thrown the MetaData class.
Here is the exact error:
<br />
<b>Fatal error</b>: Uncaught Phalcon\Mvc\Model\Exception: Failed to store metaData to the cache adapter in /api/library/Traits/QueryTrait.php:139
Stack trace:
#0 [internal function]: Phalcon\Mvc\Model\MetaData->throwWriteException(true)
#1 [internal function]: Phalcon\Mvc\Model\MetaData->write('map-phalcon\\api...', Array)
#2 [internal function]: Phalcon\Mvc\Model\MetaData->initialize(Object(Phalcon\Api\Models\Users), NULL, NULL, NULL)
#3 [internal function]: Phalcon\Mvc\Model\MetaData->readColumnMapIndex(Object(Phalcon\Api\Models\Users), 1)
#4 [internal function]: Phalcon\Mvc\Model\MetaData->getReverseColumnMap(Object(Phalcon\Api\Models\Users))
#5 [internal function]: Phalcon\Mvc\Model\MetaData->hasAttribute(Object(Phalcon\Api\Models\Users), 'username')
#6 [internal function]: Phalcon\Mvc\Model\Query->_getQualified(Array)
#7 [internal function]: Phalcon\Mvc\Model\Query->_getExpression(Array, true)
#8 [internal function]: Phalcon\Mvc\Model\Query->_getExpression(Array, true)
#9 [internal function]: Phalcon\Mvc\Model\Query->_getEx in <b>/api/library/Traits/QueryTrait.php</b> on line <b>139</b><br />
I did make sure that memcached was installed and also running on my machine. Permissions seem to be correct on the folders as it is able to write logs within the storage directory.
Do you have any suggestions?
Hello,
I've built this project around Docker and have configured the right dependencies, project, but when I run a request to login, I keep getting an error exception thrown the
MetaDataclass.Here is the exact error:
I did make sure that
memcachedwas installed and also running on my machine. Permissions seem to be correct on the folders as it is able to write logs within thestoragedirectory.Do you have any suggestions?