Re: Fatal error: Unsupported operand types
| From: | kmh496 | Date: | Sun, 16 Apr 2006 11:15:20 +0000 |
| Subject: | Re: Fatal error: Unsupported operand types | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-234072@lists.php.net to get a copy of this message | ||
2006-04-16 (일), 21:02 +1000, chris smith 쓰시길:
> On 4/16/06, kmh496 <kmh496@kornet.net> wrote:
> > 2006-04-16 (일), 19:35 +0900, kmh496 쓰시길:
> > > can somebody explain why
> > >
> > > $this->param = $this->SYSTEM->db->answer + $this->param;
> > >
> > > is causing the error
> > >
> > >
> > > Fatal error: Unsupported operand types
> > > in /var/www/current/mjguest/modules/settings.php on line 52
> Sounds like you have a bad query and instead of answer being a row,
> it's something else.
>
> Print out everything before you use it:
>
> instead of:
> $this->param = $this->SYSTEM->db->answer + $this->param;
>
> $answer = $this->SYSTEM->db->answer;
> $param = $this->param;
>
> echo "Answer: " . $answer . "<br/>";
>
> If that's not an array, that's your problem and you'll have to debug
> why it's not an array.
>
> --
list and especially dmajick @ gmail,
thanks for your help.
i will have to debug later, i am sorry, i have to run right now.
frankly speaking, i am simply having a bad day.