Jump to content

Error displaying on main page


Go to solution Solved by Marc Stridgen,

Recommended Posts

I upgraded to the current version, including the patch yesterday.  Now I see this error most times when I load the front page.  Is there a way to see what app is causing it?  I know I could turn them all off then turn them on one at a time, but the error doesn't display all the time.

Thanks

Error: Call to undefined method DateTime::getDateInformation() (0)
#0 /home/squarewheels/public_html/applications/calendar/sources/Event/Event.php(363): IPS\calendar\_Event::_findOccurances(Object(IPS\calendar\Date), NULL, Object(IPS\calendar\Date), Object(IPS\calendar\Date), Array)
#1 /home/squarewheels/public_html/applications/calendar/sources/Event/Event.php(2127): IPS\calendar\_Event->findOccurrences(Object(IPS\calendar\Date), Object(IPS\calendar\Date))
#2 /home/squarewheels/public_html/applications/calendar/widgets/upcomingEvents.php(153): IPS\calendar\_Event::retrieveEvents(Object(IPS\calendar\Date), Object(IPS\calendar\Date), NULL, 5, false)
#3 /home/squarewheels/public_html/system/Widget/Widget.php(833): IPS\calendar\widgets\_upcomingEvents->render()
#4 /home/squarewheels/public_html/system/Widget/Widget.php(888): IPS\_Widget->_render()
#5 /home/squarewheels/public_html/system/Theme/Theme.php(885) : eval()'d code(18843): IPS\_Widget->__toString()
#6 /home/squarewheels/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer('sidebar', 'vertical')
#7 /home/squarewheels/public_html/system/Theme/Theme.php(885) : eval()'d code(15863): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array)
#8 /home/squarewheels/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->sidebar('right')
#9 /home/squarewheels/public_html/system/Theme/Theme.php(885) : eval()'d code(6972): IPS\Theme\_SandboxedTemplate->__call('sidebar', Array)
#10 /home/squarewheels/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate('fec4816414ae3ca...', '\n\n<div class='i...', Array)
#11 /home/squarewheels/public_html/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array)
#12 /home/squarewheels/public_html/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish()
#13 /home/squarewheels/public_html/system/Dispatcher/Front.php(625): IPS\Dispatcher\_Standard->finish()
#14 /home/squarewheels/public_html/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish()
#15 /home/squarewheels/public_html/index.php(13): IPS\_Dispatcher->run()
#16 {main}

 

#0 /home/squarewheels/public_html/init.php(1029): IPS\_Log::log('Error: Call to ...', 'uncaught_except...')
#1 /home/squarewheels/public_html/system/Widget/Widget.php(939): IPS\IPS::exceptionHandler(Object(Error))
#2 /home/squarewheels/public_html/system/Theme/Theme.php(885) : eval()'d code(18843): IPS\_Widget->__toString()
#3 /home/squarewheels/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer('sidebar', 'vertical')
#4 /home/squarewheels/public_html/system/Theme/Theme.php(885) : eval()'d code(15863): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array)
#5 /home/squarewheels/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->sidebar('right')
#6 /home/squarewheels/public_html/system/Theme/Theme.php(885) : eval()'d code(6972): IPS\Theme\_SandboxedTemplate->__call('sidebar', Array)
#7 /home/squarewheels/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate('fec4816414ae3ca...', '\n\n<div class='i...', Array)
#8 /home/squarewheels/public_html/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array)
#9 /home/squarewheels/public_html/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish()
#10 /home/squarewheels/public_html/system/Dispatcher/Front.php(625): IPS\Dispatcher\_Standard->finish()
#11 /home/squarewheels/public_html/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish()
#12 /home/squarewheels/public_html/index.php(13): IPS\_Dispatcher->run()
#13 {main}

Link to comment
Share on other sites

Ugh, thanks.  I hope this is fixed soon as I am on the current release, so I cannot go backwards, and my support runs out in a few days.

1 minute ago, Mark H said:

Reverting to PHP 7.4 may fix the problem for you, until we find the underlying cause.

I thought 4.7.1 required 8?  I suspect I am wrong.

If I leave it at 8, is it going to cause any issues other than loading up the error log?

Thanks

Link to comment
Share on other sites

4 minutes ago, Jim M said:

Minimum is PHP 7.4 so you will be fine  

 

Thanks, I downgraded the reported site above.  There other two are not displaying errors on the front page, but the errors are in the database.  I cannot downgrade one as there are other tools that require 8 on the server.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...