Log message #4228466

# At Username Text
# Feb 24th 2020, 18:13 slackebot Cake\Console\CommandRunner::run() - CORE/src/Console/CommandRunner.php, line 162 [main] - ROOT/bin/cake.php, line 12``` Any ideas what's wrong?
# Feb 24th 2020, 18:13 slackebot Bake\Shell\BakeShell::Bake\Shell\{closure}() - ROOT/vendor/cakephp/bake/src/Shell/BakeShell.php, line 279 Cake\Collection\Collection::each() - CORE/src/Collection/CollectionTrait.php, line 64 Bake\Shell\BakeShell::all() - ROOT/vendor/cakephp/bake/src/Shell/BakeShell.php, line 280 Cake\Console\Shell::runCommand() - CORE/src/Console/Shell.php, line 517 Cake\Console\CommandRunner::runShell() - CORE/src/Console/CommandRunner.php, line 385
# Feb 24th 2020, 18:13 slackebot ROOT/vendor/cakephp/bake/src/Shell/Task/BakeTemplateTask.php, line 91 QuasarAdmin\Shell\Task\ModelTask::bakeTableExtension() - ROOT/plugins/QuasarAdmin/src/Shell/Task/ModelTask.php, line 155 QuasarAdmin\Shell\Task\ModelTask::bake() - ROOT/plugins/QuasarAdmin/src/Shell/Task/ModelTask.php, line 38 Bake\Shell\Task\ModelTask::main() - ROOT/vendor/cakephp/bake/src/Shell/Task/ModelTask.php, line 101
# Feb 24th 2020, 18:13 slackebot 455 Twig\Template::display() - ROOT/vendor/twig/twig/src/Template.php, line 422 Twig\Template::render() - ROOT/vendor/twig/twig/src/Template.php, line 434 WyriHaximus\TwigView\View\TwigView::_render() - ROOT/vendor/wyrihaximus/twig-view/src/View/TwigView.php, line 180 Bake\View\BakeView::render() - ROOT/vendor/cakephp/bake/src/View/BakeView.php, line 146 Bake\Shell\Task\BakeTemplateTask::generate() -
# Feb 24th 2020, 18:13 slackebot ROOT/vendor/cakephp/bake/src/View/Helper/DocBlockHelper.php, line 250 Twig\Template::getAttribute() - ROOT/vendor/twig/twig/src/Template.php, line 704 __TwigTemplate_f7bf778fd7b532a52105fa791346104191d92de1546cf9d454cd16fe3d54519b::doDisplay() - ROOT/tmp/cache/twigView/bd/bd0f7fe6fbda10de43c4a5f7432128f12025b660c9d629bbd8074ac352a16995.php, line 33 Twig\Template::displayWithErrorHandling() - ROOT/vendor/twig/twig/src/Template.php, line
# Feb 24th 2020, 18:13 noel I'm trying to create a m2m association and I'm getting a weird bake error: ```2020-02-24 18:10:14 Notice: Notice (8): Undefined index: Enquiries in [/Users/myproject/vendor/cakephp/bake/src/View/Helper/DocBlockHelper.php, line 250] Trace: Cake\Error\BaseErrorHandler::handleError() - CORE/src/Error/BaseErrorHandler.php, line 158 Bake\View\Helper\DocBlockHelper::buildTableAnnotations() -
# Feb 24th 2020, 18:06 dereuromark nope, middleware is actually invoked: https://github.com/cakephp/cakephp/issues/14321 Must be sth else. At least debugging it I found the actual error causing the 500, a test harness bug in core probably.
# Feb 24th 2020, 17:49 dereuromark It still switches back to normal Exception renderer, debugging the constructor reveals "#message: "Cannot describe countries. It has 0 columns."" etc, some low level issue. Could this be happening before the middleware is activated even?
# Feb 24th 2020, 17:49 dereuromark Not in master (4.x yet it seems)
# Feb 24th 2020, 17:47 ndm wasn't there a fix for that recently?
# Feb 24th 2020, 17:45 dereuromark Did anyone figure out yet why `$this->disableErrorHandlerMiddleware();` doesnt work in cakephp 4 tests?
# Feb 24th 2020, 17:42 alexdd55976 Can not confirm or deny this :grimacing:
# Feb 24th 2020, 17:19 ndm Isn't that what admins do anyways, wasting time on stupid tasks? :)
# Feb 24th 2020, 17:15 alexdd55976 Our admin wasted hours
# Feb 24th 2020, 17:15 alexdd55976 Thanks @ndm
# Feb 24th 2020, 17:15 alexdd55976 Windows crap
# Feb 24th 2020, 17:00 ndm Classnames translate to filenames, so if you have a case sensitive filesystem, `LDAPIdentifier.php` doesn't exist.
# Feb 24th 2020, 16:56 alexdd55976 dude... wtf...
# Feb 24th 2020, 16:43 ndm The class name is `Ldap...`
# Feb 24th 2020, 16:43 alexdd55976 this is what the error.log is giving me.... no idea
# Feb 24th 2020, 16:42 slackebot /www/ibaonnect/app/src/Application.php:75 - /www/ibaonnect/app/vendor/cakephp/cakephp/src/Http/Server.php:83 - /www/ibaonnect/app/webroot/index.php:40```
# Feb 24th 2020, 16:42 alexdd55976 ```2020-02-24 17:41:08 Error: [RuntimeException] Identifier class `LDAP` was not found. in /www/ibaonnect/app/vendor/cakephp/authentication/src/Identifier/IdentifierCollection.php on line 124 Stack Trace: - /www/ibaonnect/app/vendor/cakephp/cakephp/src/Core/ObjectRegistry.php:101 - /www/ibaonnect/app/vendor/cakephp/authentication/src/AuthenticationService.php:166 - /www/ibaonnect/app/src/Application.php:122 -
# Feb 24th 2020, 16:39 alexdd55976 php extension LDAP is installed
# Feb 24th 2020, 16:38 alexdd55976 any ideas where the error could be?
# Feb 24th 2020, 16:38 alexdd55976 i deployed my working app onto a new server and get ```Identifier class LDAP was not found.```
# Feb 24th 2020, 16:38 neon1024 https://book.cakephp.org/3/en/orm/database-basics.html#checking-error-codes :face_palm:
# Feb 24th 2020, 16:33 neon1024 Knowing MySQL it’ll be “Error: Query executed successfully”
# Feb 24th 2020, 16:32 neon1024 I can see that the `Connection::query` method returns `StatementInterface` which has `errorCode()` so I guess I just check that?
# Feb 24th 2020, 16:31 neon1024 Anyone know how to tell if your query worked?
# Feb 24th 2020, 16:13 ricksaccous cool beans ;) for my latest project it was mostly just me and i kind of zoomed through portions, sometimes when i shouldn't have
# Feb 24th 2020, 16:12 ricksaccous lol
# Feb 24th 2020, 16:12 neon1024 Then again, I’ve had code merged into cakephp, so it can’t be *that* bad if i’ve made it past dereuromark and admad! 8)
# Feb 24th 2020, 16:11 neon1024 Never had colleagues on the same codebase, so my code might be total :poop: and I’d never know ;)
# Feb 24th 2020, 16:11 neon1024 @ricksaccous Can you imagine anyone wanting to work with me! :,)
# Feb 24th 2020, 16:07 neon1024 Guess I’ll use a Shell and write my schema changes in SQL and execute them on the connection
# Feb 24th 2020, 16:04 neon1024 Like Judge Dredd “I am the team!”
# Feb 24th 2020, 16:04 ricksaccous and considering the time it might take to write SQL vs using a shell command it's prob better to just write the shell command
# Feb 24th 2020, 16:03 ricksaccous honestly even if you did if you just communicated about it it would be no big deal
# Feb 24th 2020, 16:02 ricksaccous that makes sense
# Feb 24th 2020, 16:02 ricksaccous if you don't have a team then write that shell command, oh yeahhhh
# Feb 24th 2020, 15:55 neon1024 No idea if I can persist schema changes though