Responsive Banner Slider PHP exceptions.

Our logs are getting hammered with the following PHP exceptions, which appear to involve the responsive banner slider:

A PHP Exception occurred on your site. Here you can find the stack trace:

Exception Type: JException
File: /home/mydomain/public_html/libraries/legacy/error/error.php
Line: 200
Message: Duplicate entry '2021-02-17 22:58:20-1-44' for key 'PRIMARY'

#0 /home/mydomain/public_html/libraries/legacy/error/error.php(277): JError::raise(1, 500, 'Duplicate entry...', NULL, true)
#1 /home/mydomain/public_html/components/com_banners/models/banners.php(333): JError::raiseError(500, 'Duplicate entry...')
#2 /home/mydomain/public_html/modules/mod_responsivebannerslider/helper.php(70): BannersModelBanners->impress()
#3 /home/mydomain/public_html/modules/mod_responsivebannerslider/mod_responsivebannerslider.php(389): modResponsiveBannerSliderHelper::getList(Object(Joomla\Registry\Registry))
#4 /home/mydomain/public_html/libraries/src/Helper/ModuleHelper.php(200): include('/home/mydomain/...')
#5 /home/mydomain/public_html/libraries/src/Document/Renderer/Html/ModuleRenderer.php(98): Joomla\CMS\Helper\ModuleHelper::renderModule(Object(stdClass), Array)
#6 /home/mydomain/public_html/libraries/src/Document/Renderer/Html/ModulesRenderer.php(47): Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render(Object(stdClass), Array, NULL)
#7 /home/mydomain/public_html/libraries/src/Document/HtmlDocument.php(501): Joomla\CMS\Document\Renderer\Html\ModulesRenderer->render('mod_sponsors01', Array, NULL)
#8 /home/mydomain/public_html/libraries/src/Document/HtmlDocument.php(793): Joomla\CMS\Document\HtmlDocument->getBuffer('modules', 'mod_sponsors01', Array)
#9 /home/mydomain/public_html/libraries/src/Document/HtmlDocument.php(567): Joomla\CMS\Document\HtmlDocument->_renderTemplate()
#10 /home/mydomain/public_html/libraries/src/Application/CMSApplication.php(1044): Joomla\CMS\Document\HtmlDocument->render(false, Array)
#11 /home/mydomain/public_html/libraries/src/Application/SiteApplication.php(778): Joomla\CMS\Application\CMSApplication->render()
#12 /home/mydomain/public_html/libraries/src/Application/CMSApplication.php(202): Joomla\CMS\Application\SiteApplication->render()
#13 /home/mydomain/public_html/index.php(49): Joomla\CMS\Application\CMSApplication->execute()
#14 {main}[/code]


Any advice to solve this?
3 years 10 months ago #1 by CCANSW

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5261) Offline
Hi,
- Can you tell me what joomla version do you use?
- Can try to publish only one banner and see whether the same issue happened?
- Can you try to publish multiple standard joomla banner module and check whether the same issue happened?
3 years 10 months ago #2 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Hi
Thanks for the response

We're always on the current 3.9 stable. At this moment 3.9.24. PHP version 7.4

I shall reduce the banners to 1 and test. Will report back.
3 years 10 months ago #3 by CCANSW

Please Log in or Create an account to join the conversation.

With just one banner image slide published and one responsive banner module published the exceptions disappear.
Once I activated more banner slides and modules the frequency of the exceptions increased.

The frequency of the exceptions seems to correlate with the number of active modules.
3 years 10 months ago #4 by CCANSW

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5261) Offline

Can you try to publish multiple standard joomla banner module and check whether the same issue happened?

Can you try this one too?
3 years 10 months ago #5 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Can you try this one too?


Sorry, missed that, but will do...
3 years 10 months ago #6 by CCANSW

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum