Problem Title show categories list

  • Posts: 2
  • Thank you received: 0
11 years 9 months ago #134629

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

url of the page with the problem -- : localhost\
-- HikaShop version -- : business 2.2.2
-- Joomla version -- : Joomla 3.2.0
-- PHP version -- : xampp 3.2.1 windows
-- Browser(s) name and version -- : firefox
-- Error-message(debug-mod must be tuned on) -- :
Notice: Undefined property: ProductViewProduct::$document in C:\Program Files (x86)\xampp\htdocs\templates\html\com_hikashop\product\listing.php on line 1

Notice: Trying to get property of non-object in C:\Program Files (x86)\xampp\htdocs\\html\com_hikashop\product\listing.php on line 1


Hi
With the problem about moving description I was able to solve it.
Today we had a problem on the non-display of titles, I found a solution on your forum, on this link:
www.hikashop.com/forum/4-how-to/863967-t...ies-list.html#134525

Tried to enter this code <?php echo '<h1>'.$this->document->title.'</h1>'; ?> as described on the forum,
I see the headlines now works, but entering into a product, I see the following error:


What can I do to eliminate error ..?

I noticed that if I connect a menu to a form, it always appears the same error.
I await your solution, thanks to early
Marco

Last edit: 11 years 7 months ago by narciso.

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

  • Posts: 84313
  • Thank you received: 13702
  • MODERATOR
11 years 9 months ago #134685

Simply use that code instead:
<?php echo '<h1>'.@$this->document->title.'</h1>'; ?>

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

Time to create page: 0.037 seconds
Powered by Kunena Forum