By Michael Martin on Thursday, 29 March 2018
Posted in Technical Issues
Replies 6
Likes 0
Views 735
Votes 0
I am getting the following error when creating a new blog post.


A PHP Exception occurred on your site. Here you can find the stack trace:
Exception Type: JException
File: /home2/mrwizard/michaelscookbook.com/libraries/legacy/error/error.php
Line: 200
Message: Sorry but we couldn't find the blog entry that you are looking for
#0 /home2/mrwizard/michaelscookbook.com/libraries/legacy/error/error.php(277): JError::raise(1, 400, 'Sorry but we co...', NULL, true)
#1 /home2/mrwizard/michaelscookbook.com/components/com_easyblog/views/entry/view.html.php(383): JError::raiseError(400, 'Sorry but we co...')
#2 /home2/mrwizard/michaelscookbook.com/components/com_easyblog/controllers/controller.php(103): EasyBlogViewEntry->preview()
#3 /home2/mrwizard/michaelscookbook.com/libraries/src/MVC/Controller/BaseController.php(710): EasyBlogController->display()
#4 /home2/mrwizard/michaelscookbook.com/components/com_easyblog/easyblog.php(37): Joomla\CMS\MVC\Controller\BaseController->execute('')
#5 /home2/mrwizard/michaelscookbook.com/libraries/src/Component/ComponentHelper.php(382): require_once('/home2/mrwizard...')
#6 /home2/mrwizard/michaelscookbook.com/libraries/src/Component/ComponentHelper.php(357): Joomla\CMS\Component\ComponentHelper::executeComponent('/home2/mrwizard...')
#7 /home2/mrwizard/michaelscookbook.com/libraries/src/Application/SiteApplication.php(194): Joomla\CMS\Component\ComponentHelper::renderComponent('com_easyblog')
#8 /home2/mrwizard/michaelscookbook.com/libraries/src/Application/SiteApplication.php(233): Joomla\CMS\Application\SiteApplication->dispatch()
#9 /home2/mrwizard/michaelscookbook.com/libraries/src/Application/CMSApplication.php(204): Joomla\CMS\Application\SiteApplication->doExecute()
#10 /home2/mrwizard/michaelscookbook.com/index.php(49): Joomla\CMS\Application\CMSApplication->execute()
#11 {main}
I just noticed this error as well.


A PHP Exception occurred on your site. Here you can find the stack trace:
Exception Type: JDatabaseExceptionExecuting
File: /home2/mrwizard/michaelscookbook.com/libraries/joomla/database/driver/mysqli.php
Line: 650
Message: Duplicate entry '48' for key 'PRIMARY'
#0 /home2/mrwizard/michaelscookbook.com/libraries/joomla/database/database.php(33): JDatabaseDriverMysqli->execute()
#1 /home2/mrwizard/michaelscookbook.com/administrator/components/com_easyblog/includes/utils.php(278): JDatabase->query()
#2 /home2/mrwizard/michaelscookbook.com/plugins/easyblog/autoarticle/autoarticle.php(245): EasyBlogDbJoomla->__call('query', Array)
#3 /home2/mrwizard/michaelscookbook.com/libraries/joomla/event/event.php(70): plgEasyBlogAutoArticle->onAfterEasyBlogSave(Object(EasyBlogPost), true)
#4 /home2/mrwizard/michaelscookbook.com/libraries/joomla/event/dispatcher.php(160): JEvent->update(Array)
#5 /home2/mrwizard/michaelscookbook.com/administrator/components/com_easyblog/includes/post/post.php(1634): JEventDispatcher->trigger('onaftereasyblog...', Array)
#6 /home2/mrwizard/michaelscookbook.com/administrator/components/com_easyblog/includes/post/post.php(1497): EasyBlogPost->triggerAfterSave()
#7 /home2/mrwizard/michaelscookbook.com/administrator/components/com_easyblog/includes/post/post.php(1404): EasyBlogPost->postSave()
#8 /home2/mrwizard/michaelscookbook.com/components/com_easyblog/controllers/posts.php(818): EasyBlogPost->save(Array)
#9 /home2/mrwizard/michaelscookbook.com/libraries/src/MVC/Controller/BaseController.php(710): EasyBlogControllerPosts->save()
#10 /home2/mrwizard/michaelscookbook.com/components/com_easyblog/easyblog.php(37): Joomla\CMS\MVC\Controller\BaseController->execute('save')
#11 /home2/mrwizard/michaelscookbook.com/libraries/src/Component/ComponentHelper.php(382): require_once('/home2/mrwizard...')
#12 /home2/mrwizard/michaelscookbook.com/libraries/src/Component/ComponentHelper.php(357): Joomla\CMS\Component\ComponentHelper::executeComponent('/home2/mrwizard...')
#13 /home2/mrwizard/michaelscookbook.com/libraries/src/Application/SiteApplication.php(194): Joomla\CMS\Component\ComponentHelper::renderComponent('com_easyblog')
#14 /home2/mrwizard/michaelscookbook.com/libraries/src/Application/SiteApplication.php(233): Joomla\CMS\Application\SiteApplication->dispatch()
#15 /home2/mrwizard/michaelscookbook.com/libraries/src/Application/CMSApplication.php(204): Joomla\CMS\Application\SiteApplication->doExecute()
#16 /home2/mrwizard/michaelscookbook.com/index.php(49): Joomla\CMS\Application\CMSApplication->execute()
#17 {main}
·
Thursday, 29 March 2018 04:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Micheal,

I've tried to create a blog post, seems like I'm not hit the error as per your give above: http://take.ms/RKEVZ
May I know the exact steps to replicate this issue? so we can easily find the root issue.

Thanks for your cooperation and understanding Micheal.
·
Thursday, 29 March 2018 13:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry for the late reply. I was getting the error messages in an email.
·
Sunday, 01 April 2018 07:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.


A PHP Exception occurred on your site. Here you can find the stack trace:
Exception Type: JException
File: /home2/mrwizard/http://michaelscookbook.com/libraries/legacy/error/error.php
Line: 200
Message: Sorry but we couldn't find the blog entry that you are looking for
#0 /home2/mrwizard/http://michaelscookbook.com/libraries/legacy/error/error.php(277): JError::raise(1, 400, 'Sorry but we co...', NULL, true)
#1 /home2/mrwizard/http://michaelscookbook.com/components/com_easyblog/views/entry/view.html.php(383): JError::raiseError(400, 'Sorry but we co...')
#2 /home2/mrwizard/http://michaelscookbook.com/components/com_easyblog/controllers/controller.php(103): EasyBlogViewEntry->preview()
#3 /home2/mrwizard/http://michaelscookbook.com/libraries/src/MVC/Controller/BaseController.php(710): EasyBlogController->display()
#4 /home2/mrwizard/http://michaelscookbook.com/components/com_easyblog/easyblog.php(37): Joomla\CMS\MVC\Controller\BaseController->execute('')
#5 /home2/mrwizard/http://michaelscookbook.com/libraries/src/Component/ComponentHelper.php(382): require_once('/home2/mrwizard...')
#6 /home2/mrwizard/http://michaelscookbook.com/libraries/src/Component/ComponentHelper.php(357): Joomla\CMS\Component\ComponentHelper::executeComponent('/home2/mrwizard...')
#7 /home2/mrwizard/http://michaelscookbook.com/libraries/src/Application/SiteApplication.php(194): Joomla\CMS\Component\ComponentHelper::renderComponent('com_easyblog')
#8 /home2/mrwizard/http://michaelscookbook.com/libraries/src/Application/SiteApplication.php(233): Joomla\CMS\Application\SiteApplication->dispatch()
#9 /home2/mrwizard/http://michaelscookbook.com/libraries/src/Application/CMSApplication.php(204): Joomla\CMS\Application\SiteApplication->doExecute()
#10 /home2/mrwizard/http://michaelscookbook.com/index.php(49): Joomla\CMS\Application\CMSApplication->execute()
#11 {main}

I believe this error just explained to you someone trying to access one of the blog entry page, but this user doesn't have permission to access this post, so Easyblog throw 400 error on the site.


A PHP Exception occurred on your site. Here you can find the stack trace:
Exception Type: JDatabaseExceptionExecuting
File: /home2/mrwizard/http://michaelscookbook.com/libraries/joomla/database/driver/mysqli.php
Line: 650
Message: Duplicate entry '48' for key 'PRIMARY'
#0 /home2/mrwizard/http://michaelscookbook.com/libraries/joomla/database/database.php(33): JDatabaseDriverMysqli->execute()
#1 /home2/mrwizard/http://michaelscookbook.com/administrator/components/com_easyblog/includes/utils.php(278): JDatabase->query()
#2 /home2/mrwizard/http://michaelscookbook.com/plugins/easyblog/autoarticle/autoarticle.php(245): EasyBlogDbJoomla->__call('query', Array)
#3 /home2/mrwizard/http://michaelscookbook.com/libraries/joomla/event/event.php(70): plgEasyBlogAutoArticle->onAfterEasyBlogSave(Object(EasyBlogPost), true)
#4 /home2/mrwizard/http://michaelscookbook.com/libraries/joomla/event/dispatcher.php(160): JEvent->update(Array)
#5 /home2/mrwizard/http://michaelscookbook.com/administrator/components/com_easyblog/includes/post/post.php(1634): JEventDispatcher->trigger('onaftereasyblog...', Array)
#6 /home2/mrwizard/http://michaelscookbook.com/administrator/components/com_easyblog/includes/post/post.php(1497): EasyBlogPost->triggerAfterSave()
#7 /home2/mrwizard/http://michaelscookbook.com/administrator/components/com_easyblog/includes/post/post.php(1404): EasyBlogPost->postSave()
#8 /home2/mrwizard/http://michaelscookbook.com/components/com_easyblog/controllers/posts.php(818): EasyBlogPost->save(Array)
#9 /home2/mrwizard/http://michaelscookbook.com/libraries/src/MVC/Controller/BaseController.php(710): EasyBlogControllerPosts->save()
#10 /home2/mrwizard/http://michaelscookbook.com/components/com_easyblog/easyblog.php(37): Joomla\CMS\MVC\Controller\BaseController->execute('save')
#11 /home2/mrwizard/http://michaelscookbook.com/libraries/src/Component/ComponentHelper.php(382): require_once('/home2/mrwizard...')
#12 /home2/mrwizard/http://michaelscookbook.com/libraries/src/Component/ComponentHelper.php(357): Joomla\CMS\Component\ComponentHelper::executeComponent('/home2/mrwizard...')
#13 /home2/mrwizard/http://michaelscookbook.com/libraries/src/Application/SiteApplication.php(194): Joomla\CMS\Component\ComponentHelper::renderComponent('com_easyblog')
#14 /home2/mrwizard/http://michaelscookbook.com/libraries/src/Application/SiteApplication.php(233): Joomla\CMS\Application\SiteApplication->dispatch()
#15 /home2/mrwizard/http://michaelscookbook.com/libraries/src/Application/CMSApplication.php(204): Joomla\CMS\Application\SiteApplication->doExecute()
#16 /home2/mrwizard/http://michaelscookbook.com/index.php(49): Joomla\CMS\Application\CMSApplication->execute()
#17 {main}

Based on what this error message, it seems like something related with the EasyBlog - Auto Article plugin.
Can you try create a new this post from Easyblog and see if you still getting this error from your email?

Before you create a new post from your site, you can temporary disable your Facebook autopost feature from your site backend > Easyblog > autopost > Facebook .
·
Sunday, 01 April 2018 13:13
·
0 Likes
·
0 Votes
·
0 Comments
·
I disabled "Auto Posting" to Facebook and I did NOT get any emails with PHP errors.
·
Monday, 02 April 2018 05:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Michael,

Currently you are the one who create new article post from Easyblog right?

If yes, perhaps you can enable back those autopost setting then try publish a new blog post next time, and see whether still getting those email notification regarding these error?

But you have to monitor it like when you publish a new blog post, do not edit the existing post first, and see whether later have receive an email notification regarding this or not.

If don't have, then have to try edit the existing blog post and update it, see whether later have receive an email notification regarding this or not.

Keep us update regarding this.
·
Monday, 02 April 2018 10:02
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post