Log message #4181851

# At Username Text
# Apr 2nd 2019, 20:00 challgren How do I get to the 3.next book?
# Apr 2nd 2019, 19:10 ricksaccous hehe
# Apr 2nd 2019, 19:10 challgren woem @ricksaccous
# Apr 2nd 2019, 18:05 ricksaccous meow
# Apr 2nd 2019, 18:05 ricksaccous mewo
# Apr 2nd 2019, 15:28 flashios09 > If you have time to help I’d appreciate it. sure :slightly_smiling_face:
# Apr 2nd 2019, 15:27 flashios09 i can’t wait for the alpha release :heart_eyes:
# Apr 2nd 2019, 15:26 markstory If you have time to help I'd appreciate it.
# Apr 2nd 2019, 15:26 markstory I'm planning on doing some testing with the appskeleton this week to prepare for the upcoming alpha release.
# Apr 2nd 2019, 15:26 markstory Not sure. I would start poking around in the plugin and see why it isn't starting up
# Apr 2nd 2019, 15:22 flashios09 i can’t find it and there is no error in `logs/error.log`
# Apr 2nd 2019, 15:21 flashios09 and what do you think about the `debug_kit.sqlite` ?
# Apr 2nd 2019, 15:19 markstory or one of the other hooks
# Apr 2nd 2019, 15:19 markstory inside your application's bootstrap method.
# Apr 2nd 2019, 15:19 markstory you'd have to move the `Plugin::isLoaded()` logic *after* you load the plugin
# Apr 2nd 2019, 15:18 markstory yes
# Apr 2nd 2019, 15:16 flashios09 ah ok, so that’s why `Plugin::isLoaded('DebugKit')` inside *bootstap.php* returns `false` and inside the `Pages/home.php` returns `true`
# Apr 2nd 2019, 15:13 valerij.bancer @admad thanks
# Apr 2nd 2019, 15:12 markstory addplugin() was added in 3.5ish?
# Apr 2nd 2019, 15:12 markstory nope
# Apr 2nd 2019, 15:11 admad Make your test class use LocatorAwareTrait
# Apr 2nd 2019, 15:10 valerij.bancer Hi, how to load tables in tests using standalone ORM https://github.com/cakephp/orm?
# Apr 2nd 2019, 15:09 flashios09 i thought that the `$this->addPlugin()` is for the cake2
# Apr 2nd 2019, 15:08 markstory There is no `Plugin::load()` in 4.x, you have to use addPlugin() in your application class.
# Apr 2nd 2019, 15:08 markstory You can replace the extension with an AppView subclass.
# Apr 2nd 2019, 15:07 flashios09 > A bunch of folks thought that the `ctp` extension was confusing, and it requires additional editor setup to get going. is it possible to make the extension *configurable*, i mean we can overwrite it and use any other extension ?
# Apr 2nd 2019, 15:04 flashios09 i can’t find the static `load` method for `Plugin` but i tried this in *bootstrap.php*: ```php debug(Plugin::isLoaded('DebugKit')); ``` and i get `false` ! i have `pdo_sqlite` and `sqlite3` enabled in my `phpinfo` i can’t find the `tmp/debug_kit.sqlite` database file
# Apr 2nd 2019, 14:07 weto.jc I changed the php version of docker, it looks like it worked, I'll do more testing.
# Apr 2nd 2019, 13:54 dereuromark yeah, and old 2.x core
# Apr 2nd 2019, 13:53 neon1024 I think that’s a PHP 7 issue right?
# Apr 2nd 2019, 13:44 dereuromark make sure you run php in low enough version. there arent many workarounds otherwise than upgrading to latest 2.x
# Apr 2nd 2019, 13:43 weto.jc Good morning staff, I'm creating a Docker environment for a legacy Cakephp application (version 2.x), but I'm having a problem starting the application version: ``` Fatal error: Cannot use 'Object' as class name as it is reserved in /var/www/html/lib/Cake/Core/Object.php on line 26``` how do you solve this problem without application upgrade?
# Apr 2nd 2019, 11:43 challgren 810498
# Apr 2nd 2019, 11:33 berarma @abdualelah.mdy, I guess you're trying to extend the object. You shoud call the initialize method from the UsersTable object.
# Apr 2nd 2019, 11:17 challgren Would be helpful is RepositoryInterface included aliasField() instead of just getAlias()
# Apr 2nd 2019, 11:06 challgren But I’m not 100% sure, I use a custom table because I use some of @dereuromark’s plugins such as ShimTable and my own AppTable
# Apr 2nd 2019, 11:06 abdualelah.mdy I will give try. Thank you have been a great help @challgren
# Apr 2nd 2019, 11:03 challgren You might need a $this->setTable(‘users’); in your initialize(array $config)
# Apr 2nd 2019, 11:02 abdualelah.mdy so by doing this . will i have the same table as the plugin?
# Apr 2nd 2019, 11:01 slackebot2 <abdualelah.mdy>
# Apr 2nd 2019, 11:01 challgren Yep! Thanks for the tip! Also 3.8 beta 1 is doing great so far