Keyword

Error appears when comment function has been disabled

  • Nurul Syuhada Hussain
  • Nurul Syuhada Hussain's Avatar Topic Author
  • Offline
  • New Member
More
8 years 6 months ago #148289 by Nurul Syuhada Hussain
Error appears when comment function has been disabled was created by Nurul Syuhada Hussain
Hello,

I want to disable all comments in the k2 articles. But this error appear.

Notice: Undefined property: stdClass::$numOfComments in C:\xampp\htdocs\uog\components\com_k2\views\item\view.html.php on line 264

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

  • Kannan Naidu Venugopal
  • Kannan Naidu Venugopal's Avatar
  • Offline
  • Platinum Member
  • Aham Brahmasmi
More
8 years 6 months ago #148332 by Kannan Naidu Venugopal
Replied by Kannan Naidu Venugopal on topic Error appears when comment function has been disabled
This is a notice, you can set the error reporting to None in Joomla global configuration. This has been fixed in the dev version - github.com/joomlaworks/k2/blob/master/components/com_k2/views/item/view.html.php#L263-L266

K2 Rocks \m/

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


Powered by Kunena Forum