2 saunders Sep 04, 2017 21:18



@saunders I'm not able to reproduce this neither in local nor in the demo site.
Can you please give us more details about to how to do it? What collection? Fresh install + demo contents?
@mgsolipa last week I could reproduce the bug also on your demo BLOG A. Now it seems to be fixed on demo site.
I tried to compare (see screenshot). I recognized that my Recent Comments Widget allows Caching, while the widget in the Demo does not allow. But I cannot figure out the reason therefore, because both use 6.9.3
(I deleted the widget and integrated it again under Sidebar 2)
Collection fokus.genba.
It worked until the upgrade to 6.9.3
Regards!
All right, finally!! I found it. Actually, it can be also reproduced in the demo site.
Let me report it to the developers.
Thank you.
@saunders a fix for this bug will be included in the next release of b2evolution.
In the meantime, if you need to manually patch your sites, you will find the changes here: https://github.com/b2evolution/b2evolution/commit/42f2b190a5418852fb855bed024ba7708b50f598
@mgsolipa I fixed the code as suggested, but get this error message:
Parse error: syntax error, unexpected 'if' (T_IF) in /data/web/e65807/html/blogs/inc/comments/model/_comment.class.php on line 2625
@it's almost sure that you're missing something. Maybe replacing the hole file would be a better idea.
This is the content of the file: https://raw.githubusercontent.com/b2evolution/b2evolution/42f2b190a5418852fb855bed024ba7708b50f598/inc/comments/model/_comment.class.php. Just save it into your computer and upload it to the server, replacing the existing file.
@mgsolipa thanks and sorry. Although I aimed to copy those lines exactly and override the old file ones, there obviously rooted the error, I reported in my last post. Now, I copied the whole file and everything works pretty fine. Thanks a lot for your friendly an effective support!
Regards!