By Chris Mathis on Thursday, 02 July 2015
Posted in Technical Issues
Replies 3
Likes 0
Views 370
Votes 0
Latest version Joomla
Latest version easy Blog: 5.0.13

Created a test blog entry, submitted post for approval. I then went to the back end and tried to delete the pending blog post.

Clicked on pending, selected post I wanted to delete, clicked 'delete'.

received popup to confirm my intention to delete post, clicked on OK. Received this error:

Fatal error: Call to a member function load() on boolean in /home/islandso/public_html/administrator/components/com_easyblog/controllers/pending.php on line 47

Lines 44 - 50 in pending.php:

foreach ($ids as $id) {

$post = EB::table('Draft');
$post->load((int) $id);

$post->delete();
}

Please advise.

Thank you.
Helo Chris,

Please replace the attached file in: ../administrator/components/com_easyblog/controllers/pending.php and see how it goes.
·
Thursday, 02 July 2015 12:08
·
0 Likes
·
0 Votes
·
0 Comments
·
I did replace the pending.php file as instructed and it did resolve the issue.

I will test it more tomorrow, but I was able to successfully delete a blog post without error.

Thank you, great job.
·
Thursday, 02 July 2015 12:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Chris,

Great. Glad it works.
·
Thursday, 02 July 2015 12:28
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post