Wedge

Public area => Bug reports => The Pub => Archived fixes => Topic started by: txcas on February 28th, 2014, 02:16 PM

Title: Wrong value type sent to the database. Integer expected. (parent)
Post by: txcas on February 28th, 2014, 02:16 PM
I am not sure what the forum member was trying to do, but I got one of this in the admin error log:

Code: [Select]
URL [url]http://www.domain.com/competition/do/post2/?start=0[/url]
Only show the errors with the same message Wrong value type sent to the database. Integer expected. (parent)
Function: Post2
Only show the errors from this file File: /home/domain/public_html/gz/app/Post2.php
Line: 189
Title: Re: Wrong value type sent to the database. Integer expected. (parent)
Post by: Farjo on November 12th, 2014, 10:25 PM
@txcas  I'm moving this to the Archive, assuming that this was just a one-off and that it's not an ongoing bug.
Title: Re: Wrong value type sent to the database. Integer expected. (parent)
Post by: Nao on November 12th, 2014, 11:48 PM
It shouldn't even have happened, considering the code flow... Unless the 'parent' form variable was set to an empty string, instead of 0... (?)