• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP4: Call to a member function on a non-object

#1
[eluser]Unknown[/eluser]
I developed my application using PHP5. Now I was made to run it on old PHP 4.3.8

It returns an error "Call to a member function on a non-object" on lines

Code:
$this->load->model('selecty_model');
            
if (!$this->selecty_model->isVyrobce($vyrobce)) {$vyrobce = "";}
if (!$this->selecty_model->isProjektor($projektor)) {$projektor = "";}

I know it it's probably my mistake. But what is wrong?
I grow up on PHP5, I don't know PHP4 pretty much.

Thanks for your help


Messages In This Thread
PHP4: Call to a member function on a non-object - by El Forum - 05-15-2008, 01:14 PM
PHP4: Call to a member function on a non-object - by El Forum - 05-15-2008, 01:18 PM
PHP4: Call to a member function on a non-object - by El Forum - 05-15-2008, 01:31 PM
PHP4: Call to a member function on a non-object - by El Forum - 05-15-2008, 01:33 PM
PHP4: Call to a member function on a non-object - by El Forum - 05-15-2008, 04:51 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.