Jump to content

Featured Replies

Posted

Hello,

 

I get this problem in the Events page:

 

Could contain: Text, Word

 

I have copy-pasted the default calendarWrapper content into my theme's calenderWrapper, but the problem is not solved. Any idea which other file might need to be edited to fix this?

Thank you!

  • Author

System log:

 

Quote

ArgumentCountError: Too few arguments to function IPS\Theme\class_calendar_front_browse::calendarWrapper(), 6 passed in /var/www/vhosts/totallympics.com/httpdocs/system/Theme/SandboxedTemplate.php on line 61 and exactly 7 expected in /var/www/vhosts/totallympics.com/httpdocs/system/Theme/Theme.php(885) : eval()'d code:1578
Stack trace:
#0 /var/www/vhosts/totallympics.com/httpdocs/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_calendar_front_browse->calendarWrapper()
#1 /var/www/vhosts/totallympics.com/httpdocs/applications/calendar/modules/front/calendar/view.php(274): IPS\Theme\_SandboxedTemplate->__call()
#2 /var/www/vhosts/totallympics.com/httpdocs/applications/calendar/modules/front/calendar/view.php(126): IPS\calendar\modules\front\calendar\_view->_viewWeek()
#3 /var/www/vhosts/totallympics.com/httpdocs/system/Dispatcher/Controller.php(118): IPS\calendar\modules\front\calendar\_view->manage()
#4 /var/www/vhosts/totallympics.com/httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute()
#5 /var/www/vhosts/totallympics.com/httpdocs/index.php(13): IPS\_Dispatcher->run()
#6 {main}

 

Backtrace:

 

Quote

#0 /var/www/vhosts/totallympics.com/httpdocs/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log()
#1 /var/www/vhosts/totallympics.com/httpdocs/applications/calendar/modules/front/calendar/view.php(274): IPS\Theme\_SandboxedTemplate->__call()
#2 /var/www/vhosts/totallympics.com/httpdocs/applications/calendar/modules/front/calendar/view.php(126): IPS\calendar\modules\front\calendar\_view->_viewWeek()
#3 /var/www/vhosts/totallympics.com/httpdocs/system/Dispatcher/Controller.php(118): IPS\calendar\modules\front\calendar\_view->manage()
#4 /var/www/vhosts/totallympics.com/httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute()
#5 /var/www/vhosts/totallympics.com/httpdocs/index.php(13): IPS\_Dispatcher->run()
#6 {main}

 

Instead of copying code, revert the template back to default. You’ll need to most likely redo any code changes to the calendar/event app code since it got a hefty forklift in this release. 

Edited by Randy Calvert

  • Author
19 minutes ago, Randy Calvert said:

Instead of copying code, revert the template back to default. You’ll need to most likely redo any code changes to the calendar/event app code since it got a hefty forklift in this release. 

Thank you! It worked!

Recently Browsing 0

  • No registered users viewing this page.