By Albert on Tuesday, 25 July 2017
Posted in General
Likes 0
Views 256
Votes 0
After updating EasySocial to version 2.0.21 there were errors and the page does not open

Fatal error: Call to undefined method SocialGroup::renderPageTitle() in ....\components\com_easysocial\views\albums\view.html.php on line 101

Fatal error: Call to undefined method SocialGroup::renderPageTitle() in ....\components\com_easysocial\views\videos\view.html.php on line 128

Fatal error: Call to undefined method SocialEvent::renderPageTitle() in ....\components\com_easysocial\views\events\view.html.php on line 1481

Fatal error: Call to undefined method SocialPage::renderPageTitle() in ....\components\com_easysocial\views\videos\view.html.php on line 128
Did you customize any core codes? It seems like your file /administrator/components/com_easysocial/includes/cluster/cluster.php is not up to date. I can't verify this as the ftp your site onlytest.ru is not working.
·
Wednesday, 26 July 2017 00:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, really after updating I replaced this file on the old version. In the old version of the file I changed on line 1182 - 'Your request for approval was rejected due to an incorrect content' - COM_EASYSOCIAL_REJECT_DEFAULT
·
Wednesday, 26 July 2017 02:39
·
0 Likes
·
0 Votes
·
0 Comments
·
You cannot just replace that file because when you replace that file, it doesn't have the updated codes.
·
Wednesday, 26 July 2017 03:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, I understand. For the future - for the translation replace the code on line 1182
·
Wednesday, 26 July 2017 12:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for understand.

When i checked this line of code from the cluster.php file, is it you mean you added that language constant at this line of code?


$rejectTbl->message = ($reason) ? $reason : JText::_('Your approval request has been rejected due to inappropriate content.');


If yes, we will update this to use language constant instead of hard-coded that English translation at this section.
·
Wednesday, 26 July 2017 12:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, I added a language constant, and then copied the old file after updating EasySocial. Now I fixed it. Thanks for the support....
·
Wednesday, 26 July 2017 15:10
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Wednesday, 26 July 2017 15:16
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post