Jump to content

Error: Call to undefined method IPS\calendar\Date::getBirthdays()


Recommended Posts

Today I’ve updated to the latest version (4.7.3) and now I am sporadically receiving the following error when accessing our forums home page.

Looks to be related to the calendar and/or the “Todays Birthdays” widget which we have on the home page - this is currently not appearing.

 

Error: Call to undefined method IPS\calendar\Date::getBirthdays() (0)
#0 /www/wwwroot/forums/system/Widget/Widget.php(833): IPS\calendar\widgets\_todaysBirthdays->render()
#1 /www/wwwroot/forums/system/Widget/Widget.php(888): IPS\_Widget->_render()
#2 /www/wwwroot/forums/system/Theme/Theme.php(885) : eval()'d code(18168): IPS\_Widget->__toString()
#3 /www/wwwroot/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer()
#4 /www/wwwroot/forums/system/Theme/Theme.php(885) : eval()'d code(6738): IPS\Theme\_SandboxedTemplate->__call()
#5 /www/wwwroot/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate()
#6 /www/wwwroot/forums/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call()
#7 /www/wwwroot/forums/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish()
#8 /www/wwwroot/forums/system/Dispatcher/Front.php(630): IPS\Dispatcher\_Standard->finish()
#9 /www/wwwroot/forums/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish()
#10 /www/wwwroot/forums/index.php(13): IPS\_Dispatcher->run()
#11 {main}

Link to comment
Share on other sites

9 hours ago, DawPi said:

Check this:

 

That's a really strange feature to remove, any idea why they would remove a feature as simple as the ability to show birthdays in the calendar and in a widget? Users still have their birthdays on their profile, seems really strange to not be able to show these on the calendar.

8 hours ago, Marc Stridgen said:

If you go to the support area of your admin CP, you will see an optional patch that will resolve this issue

Thanks, I have applied this which seems to have resolved the error. A little miffed we can't display users birthdays in a widget anymore, our users would use this quite heavily to recognise other users birthdays and make "happy birthday" topics.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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