Log message #4213723

# At Username Text
# Nov 17th 2019, 11:40 mrfeedback whaat
# Nov 17th 2019, 11:40 mrfeedback 2019-11-17 11:39:57 Error: [Error] Call to a member function getSchemaCollection() on null
# Nov 17th 2019, 11:39 challgren Could try `$this->save($newFile, ['atomic' => false']);`
# Nov 17th 2019, 11:38 challgren So my guess is its failing to getConnection() on the table
# Nov 17th 2019, 11:38 challgren https://github.com/cakephp/cakephp/blob/3.7.9/src/ORM/Table.php#L1638
# Nov 17th 2019, 11:37 mrfeedback oh. sorry 3.7.9
# Nov 17th 2019, 11:37 challgren .?
# Nov 17th 2019, 11:37 mrfeedback 3.8
# Nov 17th 2019, 11:37 challgren What version of cake?
# Nov 17th 2019, 11:36 mrfeedback its in $this->Projecftfiles->uploadFile but it doesn´t do any db stuff before that peace of code
# Nov 17th 2019, 11:35 mrfeedback nope. or at least i wouldnt be aware of
# Nov 17th 2019, 11:34 challgren Is this wrapped in a transactional block?
# Nov 17th 2019, 11:34 slackebot1 env('AWS_S3_PREFIX').$remoteFilePathForSave.DS.$generatedFileName; return $this->save($newFile); ```
# Nov 17th 2019, 11:34 mrfeedback ``` $newFile = $this->newEntity(); $remoteFilePathForSave = (!is_null($remotePathFile))? $remotePathFile : ''; $newFile->originalfile = $originalFile; $newFile->name = $originalFilename; $newFile->filename = $originalFilename; $newFile->filesize = $fileSize; $newFile->s3bucket = (!is_null($remoteBucket)) ? $remoteBucket : env('AWS_S3_BUCKET'); $newFile->s3key =
# Nov 17th 2019, 11:33 challgren Above that, the one that has transactional()
# Nov 17th 2019, 11:33 mrfeedback `return $this->save($newFile);`
# Nov 17th 2019, 11:33 challgren Whats line 319?
# Nov 17th 2019, 11:32 mrfeedback im trying to save an entity within the ModelTableClass
# Nov 17th 2019, 11:32 mrfeedback ``` Error: [Error] Call to a member function transactional() on null vendor/cakephp/cakephp/src/ORM/Table.php(1926): Cake\ORM\Table->_executeTransaction(Object(Closure), true) src/Model/Table/ProjectfilesTable.php(319): Cake\ORM\Table->save(Object(App\Model\Entity\Projectfile)) ``` any Idea why I get this error? I am bit confused
# Nov 17th 2019, 10:18 challgren https://book.cakephp.org/3/en/orm/deleting-data.html#Cake\ORM\Table::delete
# Nov 17th 2019, 08:36 delete_issue ??
# Nov 17th 2019, 07:27 delete_issue Error: Call to a member function isNew() on integer
# Nov 17th 2019, 07:26 delete_issue but delet is not working
# Nov 17th 2019, 07:26 delete_issue successfully got primary id .
# Nov 17th 2019, 07:26 delete_issue $id = \Cake\ORM\TableRegistry::get('Ft.AdminDocs')
# Nov 17th 2019, 07:26 delete_issue ?
# Nov 17th 2019, 07:26 delete_issue why this code is not working
# Nov 16th 2019, 13:11 luizcmarin I am sure that to launch RC1 everyone involved had to make a great effort. And to meet the challenges ahead, much work will be required from everyone. Many will benefit from your work, so I would like to congratulate and thank you all for your efforts. Congratulations and thanks, thank you very much.
# Nov 16th 2019, 12:08 vipul @savant i talk about socket.io, for chatting
# Nov 16th 2019, 11:04 savant @vipul what do you mean by “socket”
# Nov 16th 2019, 09:53 vipul any idea for this
# Nov 16th 2019, 09:53 vipul Hello, any idea about socket? i want to integrate in cakePHP
# Nov 16th 2019, 09:47 challgren Yeah
# Nov 16th 2019, 09:41 shifat.it if guard is unnecessary here right??
# Nov 16th 2019, 09:41 shifat.it $chkFeed = $this->UserFeed->find('count', array('conditions' => array('UserFeed.user_id' => $userID))); if ($chkFeed > 0) { $this->UserFeed->deleteAll(array('UserFeed.user_id' => $userID)); }
# Nov 16th 2019, 09:41 shifat.it Hello guys
# Nov 16th 2019, 09:14 challgren Lol true story!
# Nov 16th 2019, 09:04 admad that one's too offensive in today's millennial era :slightly_smiling_face:
# Nov 16th 2019, 08:59 slackebot1 !offended
# Nov 16th 2019, 08:59 slackebot1 Command sent from Slack by challgren:
# Nov 16th 2019, 08:58 challgren lol