# |
Jun 27th 2019, 09:55 |
vossen.steven |
array notation isnt needed if only one word though |
# |
Jun 27th 2019, 09:54 |
vossen.steven |
__('Some word: {0}, ['word']) |
# |
Jun 27th 2019, 09:54 |
egalles |
mmm ok, thanks |
# |
Jun 27th 2019, 09:54 |
vossen.steven |
should be {0} instead of %s |
# |
Jun 27th 2019, 09:53 |
egalles |
when I do that, the text in view shows me: Some word: %s |
# |
Jun 27th 2019, 09:53 |
egalles |
hi there, looking for translate some texts, it's that the correct way ? __('Some word: %s,'word'); ¿? |
# |
Jun 27th 2019, 09:40 |
david |
any idea? |
# |
Jun 27th 2019, 09:40 |
david |
when using ADmad/cakephp-i18n, if I do not set the language, like: http://mydomain.com It is redirecting me to http://mydomain.com//es (notice the double slash before the language slug). It's the first time I have this problem, I always use this plugin and I'm sure I'm doing something wrong this time, but I can't figure what is. |
# |
Jun 27th 2019, 09:37 |
david |
morning |
# |
Jun 27th 2019, 09:12 |
slackebot |
CORE/Cake/Routing/Dispatcher.php line 200 → Controller->render() CORE/Cake/Routing/Dispatcher.php line 167 → Dispatcher->_invoke(SuivisController, CakeRequest) APP/webroot/index.php line 117 → Dispatcher->dispatch(CakeRequest, CakeResponse) ``` I don't understand why... (CakePHP 2.10.13) |
# |
Jun 27th 2019, 09:12 |
a.didier |
Hello, when i put `App::uses('HttpSocket', 'Network/Http');` in my Component all my app crash with this error message `Cannot use object of type stdClass as array` The stack trace say this : ``` CORE/Cake/View/View.php line 971 → include() CORE/Cake/View/View.php line 933 → View->_evaluate(string, array) CORE/Cake/View/View.php line 473 → View->_render(string) CORE/Cake/Controller/Controller.php line 968 → View->render(null, null) |
# |
Jun 27th 2019, 08:59 |
challgren |
@admad do you know of any CVE’s with cake 2.10.13+? |
# |
Jun 27th 2019, 08:47 |
challgren |
I wonder if dereuromark already fixed his upgrade plugin |
# |
Jun 27th 2019, 08:44 |
challgren |
I was planning on update to the final release and push to prod |
# |
Jun 27th 2019, 08:44 |
challgren |
Ok, cause I was all gun hoe about it being ready for 3.8 and now I got work to do |
# |
Jun 27th 2019, 08:44 |
admad |
@challgren I'll bring that up with the team and try to do better in future :slightly_smiling_face: |
# |
Jun 27th 2019, 08:43 |
challgren |
Ok back to 3.8.0 why didn’t the validation deprecation change happen during the RC? |
# |
Jun 27th 2019, 08:41 |
madbbb |
@admad thank you! It is really sends event to global listener))) I didn't notice that trait returns local event manager |
# |
Jun 27th 2019, 08:41 |
slackebot |
<challgren> |
# |
Jun 27th 2019, 08:41 |
neon1024 |
;) |
# |
Jun 27th 2019, 08:41 |
neon1024 |
Careful, or we’ll throw a random u in there too! |
# |
Jun 27th 2019, 08:40 |
challgren |
England spells it cancelled |
# |
Jun 27th 2019, 08:40 |
neon1024 |
I don’t get that one |
# |
Jun 27th 2019, 08:39 |
challgren |
Well you know why in England canceled has 2 l’s, its because we gave them that extra L :P |
# |
Jun 27th 2019, 08:39 |
neon1024 |
Although with Boris Johnson on the horizon, we’ll screw that up as well :face_palm: |
# |
Jun 27th 2019, 08:39 |
neon1024 |
Besides, *cough* Trump |
# |
Jun 27th 2019, 08:39 |
admad |
x) |
# |
Jun 27th 2019, 08:39 |
neon1024 |
Careful @challgren without England your country wouldn’t exist |
# |
Jun 27th 2019, 08:38 |
admad |
Yeah not like England is gonna win that either :P |
# |
Jun 27th 2019, 08:38 |
challgren |
And we’ll beat the English just like we did many many years ago :P |
# |
Jun 27th 2019, 08:38 |
neon1024 |
Yeah, if England beat Norway, it might be ENG v USA |
# |
Jun 27th 2019, 08:37 |
challgren |
@neon1024 USA USA!!! |
# |
Jun 27th 2019, 08:37 |
neon1024 |
I’ll watch the Womens Football World Cup instead ;) |
# |
Jun 27th 2019, 08:37 |
neon1024 |
@admad I don’t see England making the semi-finals |
# |
Jun 27th 2019, 08:36 |
admad |
You should worry about Sunday xP |
# |
Jun 27th 2019, 08:36 |
slackebot |
config/app.php. in [/Users/challgren/Projects/electric/vendor/cakephp/cakephp/src/Core/functions.php, line 311] ` |
# |
Jun 27th 2019, 08:36 |
challgren |
Arhhhhhhhh `Deprecated Error: You are using a deprecated argument order for Cake\Validation\Validator::allowEmptyString. You should reverse the order of your `when` and `message` arguments so that they are `message, when`. - /Users/challgren/Projects/electric/vendor/cakephp/cakephp/src/Validation/Validator.php, line: 855 You can disable deprecation warnings by setting `Error.errorLevel` to `E_ALL and ~E_USER_DEPRECATED` in your |
# |
Jun 27th 2019, 08:36 |
neon1024 |
@admad India to beat Windies by 4 wickets today I reckon |
# |
Jun 27th 2019, 08:35 |
admad |
Any event you dispatch will be sent to global instance too |
# |
Jun 27th 2019, 08:32 |
madbbb |
why can't shell use global instance? |
# |
Jun 27th 2019, 08:31 |
admad |
Yes, you are setting on global instance |