OS Property support center

Error: 0

  • Gareth Freeman
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 8 months ago #124147 by Gareth Freeman
Error: 0 was created by Gareth Freeman
Suddenly most of my property links lead to a blank page. In the header bar I have "0 - Error: 0"

Everything was fine last week and I haven't made any changes!?

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

  • Gareth Freeman
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 8 months ago #124149 by Gareth Freeman
Replied by Gareth Freeman on topic Error: 0
Too few arguments to function HelperOspropertyCommon::drawGraph(), 2 passed in /components/com_osproperty/templates/04012017000748theme3/details.html.tpl.php on line 657 and exactly 4 expected

Changed template and error gone.

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

More
5 years 8 months ago #124150 by Mr. Dam
Replied by Mr. Dam on topic Error: 0
Hi,
The issue has cause from your overridden them (of theme3), it hasn't been updated with functions of new OS Property version. To solve the issue, please open file:
Code:
root -> components -> com_osproperty -> templates -> 04012017000748theme3 -> details.html.tpl.php
Find:
Code:
echo HelperOspropertyCommon::drawGraph(....
and replace by
Code:
echo HelperOspropertyCommon::drawGraph($row->energy, $row->climate,$row->e_class,$row->c_class);
Good luck
Dam
The following user(s) said Thank You: Gareth Freeman

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

Moderators: Mr. DamNguyen Phu Quan