php-general | 2001072
Date: 07/30/01
- Next message: Henrik Hansen: "[PHP] Re: "Call to a member function on a non-object" error!"
- Previous message: Erich Kolb: "[PHP] Admin help please!"
- Next in thread: Henrik Hansen: "[PHP] Re: "Call to a member function on a non-object" error!"
- Reply: Henrik Hansen: "[PHP] Re: "Call to a member function on a non-object" error!"
- Reply: Richard Lynch: "[PHP] Re: "Call to a member function on a non-object" error!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Fatal error: Call to a member function on a non-object in /home/cmradmin/public_html/thus/basket.php on line 304
Does anyone know what the flaming heck that means? I'm trying to fix this little problem which has only appeared since my webserver upgraded to PHP4.
Line 304 contains this:
$MyCart->Display($Orderno);
Which is calling the function from this class:
class MyCart extends Cart {
function Display($orderno)
{
echo "called dummy..."; // this isnt the real function this is just a dummy
}
}
I can't quite figure out the error message itself, it doesnt really make any sense.
Any help appreciated!
Cheers.
-- Greg Fyans greg <email protected>
- Next message: Henrik Hansen: "[PHP] Re: "Call to a member function on a non-object" error!"
- Previous message: Erich Kolb: "[PHP] Admin help please!"
- Next in thread: Henrik Hansen: "[PHP] Re: "Call to a member function on a non-object" error!"
- Reply: Henrik Hansen: "[PHP] Re: "Call to a member function on a non-object" error!"
- Reply: Richard Lynch: "[PHP] Re: "Call to a member function on a non-object" error!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

