Log message #4192016

# At Username Text
# Jul 5th 2019, 07:42 conehead Helpers are for views
# Jul 5th 2019, 07:38 scuadra Hello. Is it possible to use Helper (in my case TimeHelper) in Table class?
# Jul 5th 2019, 01:01 BeBoo I am having issues with a new model/controller I baked. No errors when baking but when I access index, I get an error "unable to locate an object compatible with paginate". Table name is mailbox_aliases so the controller/model is created is MailboxAliases. When I debug $this->MailboxAliases, i get false.
# Jul 4th 2019, 19:02 dsar Hi
# Jul 4th 2019, 14:54 yamcomnet i did a hack :slightly_smiling_face: $configFile->write($licenseUrl. PHP_EOL);
# Jul 4th 2019, 14:48 yamcomnet is there some special characted i could use for new line
# Jul 4th 2019, 14:43 yamcomnet instead of new file, will write second string into same line
# Jul 4th 2019, 14:42 slackebot <yamcomnet>
# Jul 4th 2019, 14:42 yamcomnet trying to append text file with File Api like
# Jul 4th 2019, 13:32 louis Thank's !
# Jul 4th 2019, 12:59 admad `->extract('columnName')`
# Jul 4th 2019, 12:50 revillosakristianpaol is it possible to make the result from [{'columnName':'value1'},{'columnName':'value2'}] to ['value1','value2'] when im using a query
# Jul 4th 2019, 12:49 revillosakristianpaol hi
# Jul 4th 2019, 12:41 brian493 @challgren thanks for the info I will check into it
# Jul 4th 2019, 11:44 challgren Yep uploading a firmware at 123 bytes a second, so I’ll be here for a while whats up kiwi_69
# Jul 4th 2019, 11:41 kiwi_69 is anybody here?
# Jul 4th 2019, 11:41 admad kiwi_69: sure, that's what this channel is for :slightly_smiling_face:
# Jul 4th 2019, 11:39 kiwi_69 hello, please can i ask a question about cakephp?
# Jul 4th 2019, 11:30 admad @rchavik check what core's `plugin load` does
# Jul 4th 2019, 11:30 rchavik quite painful to migrate :(
# Jul 4th 2019, 11:29 rchavik thanks for the ndm
# Jul 4th 2019, 11:23 ndm @rchavik The `Croogo/Install` plugin should probably provide a `Plugin` class, and load the plugins in the `boostrap()` method. https://book.cakephp.org/3.0/en/plugins.html#plugin-objects
# Jul 4th 2019, 11:01 rchavik @admad how do i dynamically load plugins then? use case: installing croogo via composer create-project. it provides plugin Croogo/Install that provides shell installer. the shell installer needs to dynamically load Croogo/Core plugin, Migrations plugin, etc
# Jul 4th 2019, 10:51 admad @louis https://api.cakephp.org/3.8/class-Cake.View.Helper.FormHelper.html#_addWidget
# Jul 4th 2019, 10:45 admad You shouldn't be loading plugin in app's bootstrap anymore.
# Jul 4th 2019, 10:44 admad @rchavik TestCase::loadPlugins()
# Jul 4th 2019, 10:08 ndm @mehov `Cake\Database\Log\LoggingStatement` (it's marked as `@internal`, hence it doesn't appear in the API docs) extends `\Cake\Database\Statement\StatementDecorator`, which implements `\Cake\Database\StatementInterface`.
# Jul 4th 2019, 10:01 michal.ferak Gotcha, thanks, I will be watching out for those from now on for sure :slightly_smiling_face:
# Jul 4th 2019, 09:59 slackebot Cake\Database\Log\LoggingStatement, Cake\Database\Statement\PDOStatement - nothing worked
# Jul 4th 2019, 09:59 mehov Hi gentlemen Query::execute() is documented to return https://api.cakephp.org/3.7/class-Cake.Database.StatementInterface.html, but in fact returns Cake\Database\Log\LoggingStatement (which I can't even find a dedicated API page for) I have a method that returns the return of Query::execute() because it's errorCode() is needed later. If I can't run a query, I still need to return something that has errorCode(). What should I return? Tried
# Jul 4th 2019, 09:57 challgren Gotta watch for those RCs and stuff, best to look at the releases page, shows you how many commits to the branch since the release was published
# Jul 4th 2019, 09:51 michal.ferak Oh! Thanks. I was starting to pull my hairs out
# Jul 4th 2019, 09:49 challgren https://github.com/dereuromark/cakephp-queue/tree/914bc5acaeac642c196e49d3bc5f53cfc7edc700 is 3.16.2
# Jul 4th 2019, 09:49 challgren Current release is 3.16.2. Master has dev changes for the 4.0-RC
# Jul 4th 2019, 09:47 slackebot QueueTaskInterface class
# Jul 4th 2019, 09:47 michal.ferak Hi, could please anyone confirm that the version of dereuromark/cakephp-queue plugin loaded via composer is the same as the version on git? I did everything I could (specified the exact version number, ran composer clear-cache, deleted the vendors and composer.lock and reinstalled everything fresh,…) but still I am on an older version of the plugin, on two different machines. I noticed this because the version I’m on doesn’t have t
# Jul 4th 2019, 08:57 louis Yes in cookies or using request params $this->request->getParam('_csrfToken');
# Jul 4th 2019, 08:54 challgren Thats the way it is now
# Jul 4th 2019, 08:53 rchavik all right.. i would prefer not to touch Application.php, but ok
# Jul 4th 2019, 08:53 jeremy.payne Thanks, it looks like I can do this in my template file ` <meta name="_csrfToken" content="<?=$this->getRequest()->getCookie('csrfToken')?>"> `
# Jul 4th 2019, 08:52 louis https://book.cakephp.org/3.0/en/plugins.html#loading-a-plugin