Log message #4183827

# At Username Text
# Apr 18th 2019, 14:35 this.impetus Hunh. Deprecation errors notwithstanding, that line with any of "Thumb", "Thumber", "ThumbHelper", "ThumberHelper" all say the helper is not found.
# Apr 18th 2019, 14:33 ricksaccous $this->viewBuilder()->helpers(['MyHelper']);
# Apr 18th 2019, 14:32 this.impetus `Call to undefined method Cake\View\ViewBuilder::loadHelper()`
# Apr 18th 2019, 14:32 ricksaccous that might work too, lol
# Apr 18th 2019, 14:32 ricksaccous is that a thing?
# Apr 18th 2019, 14:32 ricksaccous can you still set that public helpers array in the controller?
# Apr 18th 2019, 14:32 ricksaccous viewBuilder()
# Apr 18th 2019, 14:31 ricksaccous $this->vieBuilder()->loadHelper or whatever it is
# Apr 18th 2019, 14:31 ricksaccous you could do controller to load the helper but you have to do
# Apr 18th 2019, 14:31 ricksaccous no you would just do that to make sure composer is loading it
# Apr 18th 2019, 14:31 this.impetus Ahh. in the controller works.
# Apr 18th 2019, 14:31 this.impetus In the model's controller, or AppView?
# Apr 18th 2019, 14:30 ricksaccous \Thumber\View\Helper\ThumbHelper
# Apr 18th 2019, 14:29 this.impetus https://github.com/mirko-pagliai/cakephp-thumber
# Apr 18th 2019, 14:29 ricksaccous link me the plugin again
# Apr 18th 2019, 14:29 this.impetus awesome.
# Apr 18th 2019, 14:29 ricksaccous no
# Apr 18th 2019, 14:29 this.impetus @ricksaccous which I assume is some version of `Cake\Use\<something>`?
# Apr 18th 2019, 14:28 this.impetus @neon1024 sure, I'll check it out, jsut started this part of the project, not committed
# Apr 18th 2019, 14:28 ricksaccous first of all to see if anything is available via composer just try loading the namespaced class directly
# Apr 18th 2019, 14:28 neon1024 http://image.intervention.io/
# Apr 18th 2019, 14:27 neon1024 I prefer Intervention image for this kind of thing :slightly_smiling_face:
# Apr 18th 2019, 14:27 neon1024 So yeah, as @ricksaccous said
# Apr 18th 2019, 14:27 this.impetus (i know because I initially tried haha)
# Apr 18th 2019, 14:27 ricksaccous lol
# Apr 18th 2019, 14:27 this.impetus composer won't even install the wrong one :slightly_smiling_face:
# Apr 18th 2019, 14:26 this.impetus yeah I'm on the older versoin of the plugin tho
# Apr 18th 2019, 14:26 neon1024 Well that might be the issue?
# Apr 18th 2019, 14:26 ricksaccous heh
# Apr 18th 2019, 14:26 neon1024 ..but as the latest release of the plugin requires cakephp 3.7.1
# Apr 18th 2019, 14:26 this.impetus 3.6.2
# Apr 18th 2019, 14:26 ricksaccous what version of cake are you on?
# Apr 18th 2019, 14:26 this.impetus *go?
# Apr 18th 2019, 14:26 this.impetus I did not, sorry, I'm a front-end guy learning this stuff; that step wasn't in the instructions. Where does the call to `$this->addPlugin()`
# Apr 18th 2019, 14:26 ricksaccous the old way of doing it...
# Apr 18th 2019, 14:26 neon1024 The plugin provides both methods of loading it seems
# Apr 18th 2019, 14:26 neon1024 Then in AppView.php use `$this->loadHelper()`
# Apr 18th 2019, 14:26 ricksaccous it seems he loaded the plugin via bootstrap
# Apr 18th 2019, 14:25 neon1024 Did you use `$this->addPlugin()` in your Application.php?
# Apr 18th 2019, 14:24 this.impetus And sorry that was a clipboard fail, the error I'm getting is "Helper class ThumberHelper could not be found."
# Apr 18th 2019, 14:23 this.impetus Why might cake fail to find a helper installed via composer?