Products: Reset number of possible downloads fails

  • Posts: 45
  • Thank you received: 2
13 years 5 days ago #30412

If I click on the left waste bin* when I am editing a single product, I get the error:

Fatal error: Call to a member function setQuery() on a non-object in C:\xampp\htdocs\joomla\administrator\components\com_hikashop\classes\file.php on line 166


* see:

Last edit: 13 years 5 days ago by klimmbimm.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 5 days ago #30425

Please change the code:
$this->db->setQuery($query);
return $this->query();

by the code:
$this->database->setQuery($query);
return $this->database->query();

in the file administrator\components\com_hikashop\classes\file.php and that will fix the problem.

Please Log in or Create an account to join the conversation.

  • Posts: 45
  • Thank you received: 2
13 years 2 days ago #30610

Thank you!

Indeed this fixes the problem. Will this be fixed in the next Hikashop release?

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 1 day ago #30651

Yes it will.

Please Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum