# |
Feb 6th 2018, 17:42 |
dereuromark |
7.2 probably then |
# |
Feb 6th 2018, 17:42 |
hmic |
isnt object reserved for a long time now?! |
# |
Feb 6th 2018, 17:42 |
dereuromark |
might start to explain it |
# |
Feb 6th 2018, 17:41 |
dereuromark |
cd into the console and running composer manually: "PHP Fatal error: Cannot use 'Object' as class name as it is reserved in phar:///opt/composer/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Object.php on line 18" |
# |
Feb 6th 2018, 17:40 |
dereuromark |
php version itself cant be the issue - PHP 7.2.2-2+ubuntu14.04.1+deb.sury.org+2 (cli) (built: Feb 6 2018 13:23:07) ( NTS ) |
# |
Feb 6th 2018, 17:40 |
dereuromark |
this looks even more severe: https://github.com/alt3/cakebox-console/issues/125 Not sure whats going on there |
# |
Feb 6th 2018, 17:37 |
hmic |
and it does not run composer update? :L |
# |
Feb 6th 2018, 17:33 |
dereuromark |
Did anyone install the cakebox lately (fresh one)? It now seems to default to php7.2 but then nothing works in the cakebox-console app as it is still early 3.4 and somehow not 7.2 ready it seems. |
# |
Feb 6th 2018, 17:23 |
saeideng |
? |
# |
Feb 6th 2018, 17:22 |
saeideng |
where؟ |
# |
Feb 6th 2018, 17:11 |
birdy247 |
A date is now coming back as 04/05/1985, 00:00:00 GMT |
# |
Feb 6th 2018, 17:11 |
xinobi |
I am sorry to be so annoying but I really need some help pleasssse?!? |
# |
Feb 6th 2018, 17:11 |
birdy247 |
WRT dates? |
# |
Feb 6th 2018, 17:11 |
birdy247 |
Has cake changed recently |
# |
Feb 6th 2018, 17:01 |
dereuromark |
the Migration prefix makes it unique enugh for me |
# |
Feb 6th 2018, 17:01 |
dereuromark |
abd: Wow, yeah I had similar issues before, I always use 20xxxxxx_MigrationSomething.php now :slightly_smiling_face: |
# |
Feb 6th 2018, 16:49 |
admad |
Subquery FTW |
# |
Feb 6th 2018, 16:48 |
saeideng |
https://gist.github.com/ADmad/0a451d837f019edf3447 |
# |
Feb 6th 2018, 16:48 |
saeideng |
https://stackoverflow.com/a/29781726/8016450 |
# |
Feb 6th 2018, 16:46 |
neon1024 |
I can only think of doing two queries |
# |
Feb 6th 2018, 16:45 |
neon1024 |
Anyone think of a neat way to get the latest rows from a table, one of each type of match. So two rows each time, the latest of each |
# |
Feb 6th 2018, 16:38 |
xinobi |
It would be nice if someone could tell me about... |
# |
Feb 6th 2018, 16:34 |
xinobi |
Hi, I need to fetch data from multiple tables that aren't related with each other. However, the columns I need to extract data from appear to have the same name and type! At the end I need to order everything by created date and paginate the results. Is this possible with cakephp? |
# |
Feb 6th 2018, 16:24 |
ahmad |
thanks everyone |
# |
Feb 6th 2018, 16:23 |
ahmad |
i guess that's what happens when it's not namespaced |
# |
Feb 6th 2018, 16:23 |
ahmad |
weird |
# |
Feb 6th 2018, 16:22 |
ahmad |
so it was getting that class i guess |
# |
Feb 6th 2018, 16:22 |
ahmad |
so weird |
# |
Feb 6th 2018, 16:22 |
ahmad |
im using phinx migration script and it had that class name .... |
# |
Feb 6th 2018, 16:21 |
dereuromark |
case sensitive issue somewhere? |
# |
Feb 6th 2018, 16:21 |
ahmad |
guess what it turned out to be |
# |
Feb 6th 2018, 16:21 |
ahmad |
omg |
# |
Feb 6th 2018, 16:20 |
saeideng |
check your url/route |
# |
Feb 6th 2018, 16:19 |
saeideng |
maybe your mean is `foods` ? |
# |
Feb 6th 2018, 16:19 |
saeideng |
but you try to add your code to `index` action |
# |
Feb 6th 2018, 16:18 |
saeideng |
`/recipes\/foods" ` |
# |
Feb 6th 2018, 16:16 |
ahmad |
@saeideng see above |
# |
Feb 6th 2018, 16:16 |
saeideng |
`debug($this->FoodEntry);` ? |
# |
Feb 6th 2018, 16:16 |
ahmad |
cause even if rename, it still shows that |
# |
Feb 6th 2018, 16:16 |
ahmad |
it seems to be like it doesn't recognize that class |
# |
Feb 6th 2018, 16:14 |
ahmad |
no clue what happened |