blog comments error

I'm using Dolphin 7.06

My blog comments block started generating this error on blog post view when I use the block, how do I fix this?

Fatal error: Call to a member function getObjectCommentsCount() on a non-object in /home/jaxsadul/public_html/dating/dolph/templates/base/scripts/BxBaseCmtsView.php on line 22

All other comments like profile comments still work.

Quote · 7 Aug 2011

Some people suggested it's a database error but I think it's in the script.

I made a duplicate site and synchronized the database and it works fine. I also tried replacing these files on the original site:

 inc/classes/BxDolCmts.php

inc/classes/BxDolCmtsQuery.php

That didn't fix it as well

Any other ideas would be highly appreciated

Quote · 17 Aug 2011

Have you also tried replacing /templates/base/scripts/BxBaseCmtsView.php?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 17 Aug 2011

Yes I did. I already bit the bullet and upgraded to 7.07. that solved it for me.

Quote · 20 Aug 2011

UPDATE:

Although upgrading fixed that particular problem, It created others. I ended up doing a complete reinstall of 7.06 and importing the databases from backups

Quote · 27 Aug 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.