Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Call to a member function on a non-object


Shanke

Recommended Posts

Posted

Having a bit of a problem. I suddenly starting getting this error. I have been doing some mods to advance_search.php & advance_search_result.php but I haven't touched this file, and the site seemed to be working after I finished the mods.

Fatal error: Call to a member function on a non-object in /home3/robinofa/public_html/homes/includes/functions/html_output.php on line 78

 

Line 78 reads:

$sts->image($src); // Take image from template folder if exists.

 

Any suggestions? I'm completely lost.

Posted

ok so I uploaded the original files (pre-mod) that I had been working on and I'm getting the same error - ANY suggestions would be appreciated. I'm totally lost here. Really bizarre

Posted

Still trying to narrow down the cause of this problem. I've reinstalled the database structure numerous times and everything seems fine, until I do a search (quick or advance) with no variables in the input fields. A search with a manufacter selected but nothing in the input fields still causes the problem.

 

No idea how:

$sts->image($src); // Take image from template folder if exists.

relates to any of this.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...