Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted October 12, 20222 yr Hello, I get this problem in the Events page: 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!
October 13, 20222 yr 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}
October 13, 20222 yr 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 October 13, 20222 yr by Randy Calvert
October 13, 20222 yr 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!