Re: Fatal error: Unsupported operand types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Odds are really good that you are trying to add (+) something that
ain't a number...

Just print_r() each variable within that function and see what you did.

On Sun, April 16, 2006 5:35 am, kmh496 wrote:
>
> 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
>
>
>
> context is
>
>
>         function settings(&$SYSTEM)
>         {
>             $this->SYSTEM = &$SYSTEM;
>             $this->SYSTEM->db->ask(1, 'settings_load');
>             $this->SYSTEM->db->get_row();
>
>             $this->param = $this->SYSTEM->db->answer + $this->param;
>         }
>
>
>
>
> --
> my site <a href="http://www.myowndictionary.com";>myowndictionary</a>
> was
> made to help students of many languages learn them faster.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux