Log message #3942811

# At Username Text
# Oct 5th 2016, 15:09 cakenewb having a select dropdown with 500 entries won't be very useful
# Oct 5th 2016, 15:09 cakenewb for the address part
# Oct 5th 2016, 15:08 cakenewb like order hasmany orderitems; order hasone address; order hasone customer; orderitems hasone product and hasone producttype
# Oct 5th 2016, 15:08 cakenewb and more complex relations etc.
# Oct 5th 2016, 15:07 cakenewb my applications had a few 100 records in all of its lifetime, now we're talking 100+ records per week
# Oct 5th 2016, 15:05 acosonic Well Neon1024, can I PM you?
# Oct 5th 2016, 15:05 Speud1 hi ;)
# Oct 5th 2016, 15:05 Speud1 yes, it's always this kind of error with timestamp
# Oct 5th 2016, 15:05 cakenewb hi
# 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