Log message #3942799

# At Username Text
# Oct 5th 2016, 15:03 charolastra aah, your right. one of them isn't a Time object
# Oct 5th 2016, 15:01 Neon1024 Especially so if the field is nullable in the db
# Oct 5th 2016, 15:00 Neon1024 Perhaps as Speud1 said, that one item in your loop isnâ??t actually an object
# Oct 5th 2016, 15:00 Neon1024 If youâ??re outputting it in a list, ensure it has a value
# Oct 5th 2016, 15:00 Neon1024 If timestamp is a DateTime object it should be fine
# Oct 5th 2016, 15:00 Neon1024 Why?
# Oct 5th 2016, 14:54 Speud1 yes change the field name ;)
# Oct 5th 2016, 14:54 charolastra hmm, 'timestamp' is a field of the model, maby the names collide? cause it's not empty and a 'echo $question->timestamp' does print the correct date
# Oct 5th 2016, 14:52 Speud1 or wrong value (not date)
# Oct 5th 2016, 14:52 Neon1024 $question->nice() would work though
# Oct 5th 2016, 14:52 Neon1024 I would imagine that the timestamp method returns an int
# Oct 5th 2016, 14:52 Speud1 @charolastra, because one date value is empty and it cannot convert empty value
# Oct 5th 2016, 14:52 Neon1024 charolastra: Because youâ??re asking for a timestamp
# Oct 5th 2016, 14:51 charolastra speaking of time, any idea why a Time object suddently looses its objectifity when its member functions are called? e.g. echo $question->timestamp->nice() results in 'Error: Call to a member function nice() on a non-object' in views and controller.
# Oct 5th 2016, 14:49 Speud1 is it possible to use 'avg' => $query->func()->avg([array of fields]) ?
# Oct 5th 2016, 14:48 Neon1024 Haha, good plan!
# Oct 5th 2016, 14:47 hmic yeah. my personal deadline is the 19th... booked another trip to china already and the internet over there is so shitty, if at all, impossible to work from there :D - at least the excuse counts still
# Oct 5th 2016, 14:46 Neon1024 Keep at it hmic, youâ??ll get there! :)
# Oct 5th 2016, 14:45 hmic deadlines all around the corner...
# Oct 5th 2016, 14:45 hmic down spiral :-/
# Oct 5th 2016, 14:44 hmic need half the day to clear off. then work till the late night - next day starts even worse...
# Oct 5th 2016, 14:44 hmic ACTION too
# Oct 5th 2016, 14:44 Neon1024 My brain is fried at the moment, work has gone crazy busy
# Oct 5th 2016, 14:44 Neon1024 Always, just the product might not meet expectations! lol
# Oct 5th 2016, 14:43 hmic are you available at short notice Neon1024?
# Oct 5th 2016, 14:43 hmic sounds legit
# Oct 5th 2016, 14:43 Neon1024 ;)
# Oct 5th 2016, 14:43 Neon1024 So £1960
# Oct 5th 2016, 14:42 Neon1024 Itâ??ll take about a week
# Oct 5th 2016, 14:42 Neon1024 acosonic: Sure thing, my rate would be £35/hour
# Oct 5th 2016, 14:41 acosonic Neon1024: LOL, you respons so fast, what would happen if I ask Can you do it for me? Answer: github.com... here is it done for you acosonic :)
# Oct 5th 2016, 14:41 Neon1024 Donâ??t ask me how that plugin works though, I havenâ??t got around to implementing it in my api yet
# Oct 5th 2016, 14:40 Neon1024 acosonic: https://github.com/ADmad/cakephp-jwt-auth
# Oct 5th 2016, 14:40 Neon1024 !awesome
# Oct 5th 2016, 14:40 Neon1024 acosonic: JWT-Auth
# Oct 5th 2016, 14:40 Neon1024 Iâ??ve got a ticket to rewrite it anyway, so Iâ??ll do that instead ;)
# Oct 5th 2016, 14:40 acosonic but what about authentification?
# Oct 5th 2016, 14:40 Neon1024 Not sure Iâ??ve updated the actual application skeleton in the project for a long time
# Oct 5th 2016, 14:39 dereuromark I personally perfer to have app as root, thus I only need Vendor as folder
# Oct 5th 2016, 14:39 Neon1024 Indeed not, this project is about 2 years old now
# Oct 5th 2016, 14:39 acosonic hm, thanks i will review it