I am building a website with Joomlashine template JSN Escape Pro.
I am using K2 for the blog section of the website.
I wanted threaded comments so decided to replace the default K2 Comments with CComments Core.
CComments component installs fine (from com_comment-5.0rc1-core.zip).
In CComment Settings I have added com_k2.
Now if I go into Plug-ins and enable K2 Plugin - CComment, when I refresh my blog page, I get these errors ...
Warning: Invalid argument supplied for foreach() in /home/intuit12/public_html/templates/jsn_escape_pro/html/com_k2/templates/default/item.php on line 338
Fatal error: Call to a member function getPagesLinks() on a non-object in /home/intuit12/public_html/templates/jsn_escape_pro/html/com_k2/templates/default/item.php on line 373
Here is what's around line 338 in the items.php file (line 338 is bolded):
<!-- Item user comments -->
<h3 class="itemCommentsCounter"> <span><?php echo $this->item->numOfComments; ?></span> <?php echo ($this->item->numOfComments>1) ? JText::_('K2_COMMENTS') : JText::_('K2_COMMENT'); ?> </h3>
<ul class="itemCommentsList">
<?php foreach ($this->item->comments as $key=>$comment): ?>
<li class="<?php echo ($key%2) ? "odd" : "even"; echo (!$this->item->created_by_alias && $comment->userID==$this->item->created_by) ? " authorResponse" : ""; echo($comment->published) ? '':' unpublishedComment'; ?>">
When I disable K2 Plugin - CComment, the problem goes away.
Thanks for any help you can provide.
- Steve Genco
-
- Bugs
- Tuesday, 21 May 2013
- Subscribe via email
- Page :
- 1
There are no replies made for this post yet.
However, you are not allowed to reply to this post.
However, you are not allowed to reply to this post.
Last questions
Just installed the Pro version of Hotspots, but am getting an error when I try t...
1 Replies
Posted on Wednesday, 17 April 2024
Working on getting this set up...
https://eastend2024.joepolecheck.com/rumma...
1 Replies
Posted on Wednesday, 17 April 2024
Nach der Migration von Joomla 3.10 auf Joomla 5.0.3 treten folgende Probleme auf...
2 Replies
Posted on Monday, 08 April 2024
I just updated from Joomla 3 to Joomla 4.3.4 and Hotspots 6.0.12. I decided to e...
0 Replies
Posted on Tuesday, 09 April 2024
Hello.
1) I have a multilingual website (3 languages). If someone added a comme...
0 Replies
Posted on Saturday, 06 April 2024