Keyword

[SOLVED] Notice: Undefined property: stdClass::$numOfComments

  • Steven
  • Steven's Avatar Topic Author
  • Offline
  • New Member
More
8 years 8 months ago #146341 by Steven
Hi,

I'm using Joomla v3.3.6 and K2 v2.6.8.

On this page , I receive an error:

Notice: Undefined property: stdClass::$numOfComments in /components/com_k2/views/item/view.html.php on line 264

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

  • Steven
  • Steven's Avatar Topic Author
  • Offline
  • New Member
More
8 years 8 months ago #146342 by Steven
I updated to K2 v.2.6.9 and the error remains.

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

More
8 years 8 months ago #146343 by Ivana
I have a client that has also this trouble on his site. If necessary link will be provided by mail.
I just updated Joomla from 3.3.6 to 3.4.3
K2 is still version 2.6.8 because upgrading is not possible, I get the wrong update URL error.

Any help would be appreciated...

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
8 years 8 months ago #146391 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Notice: Undefined property: stdClass::$numOfComments
This is not error, just set the error reporting to None in the Global Configuration to hide this notice.

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

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

More
8 years 7 months ago #147120 by Ivana
Rather than hiding this notice here is a simple solution

In leading category settings, under option "Item view options in category listings" set

Anchor link (with comments counter) to item's comment form to Hide

The notice will disappear...

Simple and easy :)

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


Powered by Kunena Forum