Log message #4209932

# At Username Text
# Oct 22nd 2019, 07:48 jotpe Morning
# Oct 22nd 2019, 07:42 kgb.acct.personal In CakePHP 2, what's the proper way to render exceptions as JSON?
# Oct 22nd 2019, 07:01 tokam maybe in a previous version a string was used, and it is still serialized in a cookie?
# Oct 22nd 2019, 07:01 tokam $value
# Oct 22nd 2019, 07:01 tokam );
# Oct 22nd 2019, 07:01 tokam $names[1],
# Oct 22nd 2019, 07:01 tokam $this->_values[$this->name][$firstName],
# Oct 22nd 2019, 07:01 tokam $this->_values[$this->name][$firstName] = Hash::insert(
# Oct 22nd 2019, 07:00 tokam This parameter comes from your framework. Not from a Controller using your function. It is an internal parameter.
# Oct 22nd 2019, 07:00 tokam 08w/\xB5Bo"\x7F\xBD\xF6...', 'utm_source', 'mydomain.de SK...')
# Oct 22nd 2019, 07:00 tokam fatal error: Uncaught TypeError: Argument 1 passed to Hash::insert() must be of the type array, string given, called in /var/www/vhosts/mydomain.de/httpdocs/lib/Cake/Controller/Component/CookieComponent.php on line 245 and defined in /var/www/vhosts/mydomain.de/httpdocs/lib/Cake/Utility/Hash.php:257 Stack trace: #0 /var/www/vhosts/mydomain.de/httpdocs/lib/Cake/Controller/Component/CookieComponent.php(245): Hash::insert('\xBA\x8F\xB6%'\x
# Oct 22nd 2019, 06:59 tokam Hi, I am having this problem after the update to Version 0.2.9
# Oct 22nd 2019, 05:53 alexdd55976 Morning
# Oct 22nd 2019, 05:01 adam282 That depends…
# Oct 22nd 2019, 04:47 Fastidius anyone here?
# Oct 22nd 2019, 02:41 joechua can anyone help me with crud-json-api
# Oct 22nd 2019, 02:41 joechua hello
# Oct 21st 2019, 19:44 admad @devito `$this->Paginator->options(['url' => [...]])`
# Oct 21st 2019, 19:30 devito in the paginator helper, is there a way to pass additioanl data info to the links? i want to presist a posted form variable with each paged link i click
# Oct 21st 2019, 17:36 night_wulfe @admad Thanks. Anything you see immediately wrong, or could be improved, with this? https://pastebin.com/1FESVLgg
# Oct 21st 2019, 17:35 ron.rattie heyo!
# Oct 21st 2019, 17:35 ricksaccous lollll
# Oct 21st 2019, 17:35 ricksaccous I'm up front bby, same as with the ladies you know
# Oct 21st 2019, 17:35 ron.rattie ah crap.. you're no fun
# Oct 21st 2019, 17:35 ricksaccous ;)
# Oct 21st 2019, 17:35 ricksaccous @ron.rattie it's not a secret, lol
# Oct 21st 2019, 17:34 ron.rattie @ricksaccous I'm gonna rat you out
# Oct 21st 2019, 17:33 admad Better to have that complexity tucked inside a custom finder rather than anywhere else :)
# Oct 21st 2019, 17:32 night_wulfe Thanks. Whenever I do that i always seem to end up writing a lot of code that tries to merge whatever options the user sends with whatever my defaults are and it just seems overly complicated; I feel like I'm doing something wrong.
# Oct 21st 2019, 17:32 admad Ah you are asking *if* it is a good idea, sure nothing wrong with that
# Oct 21st 2019, 17:31 admad @night_wulfe did you try just passing custom key like your 1st example?
# Oct 21st 2019, 17:24 ricksaccous or whatever the equivalent of namespacing is in JS
# Oct 21st 2019, 17:23 ricksaccous otherwise i dislike the idea
# Oct 21st 2019, 17:23 ricksaccous either that or you do the work of checking the dependencies
# Oct 21st 2019, 17:23 night_wulfe Is it a good idea to add your own keys to custom finder options in CakePHP 2.x? like `$this->find('custom', array('device' => $foo))` where the custom find type will set the conditions accordingly? Or should the caller of the custom find type set the condition manually as in `$this->find('custom', array('conditions' => array('device' => $foo)));`?
# Oct 21st 2019, 17:23 ricksaccous @dereuromark it's fine to do so if the js doesn't have dependencies and is namespaced imo
# Oct 21st 2019, 17:21 admad Can't give all my shit for free x)
# Oct 21st 2019, 17:20 dereuromark where's the FOSS plugin for it?^^
# Oct 21st 2019, 17:20 admad Of and check to just delete existing image if its optional
# Oct 21st 2019, 17:19 admad It have made plenty simple and complex widgets. For eg one i have generates file input with thumb using existing entity and shows preview of new image selected for uploading :slightly_smiling_face:
# Oct 21st 2019, 17:17 dereuromark E.g.