Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Balto Posted October 12, 2022 Posted October 12, 2022 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!
Balto Posted October 13, 2022 Author Posted October 13, 2022 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}
Randy Calvert Posted October 13, 2022 Posted October 13, 2022 (edited) 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, 2022 by Randy Calvert Balto and SeNioR- 1 1
Balto Posted October 13, 2022 Author Posted October 13, 2022 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!
Randy Calvert Posted October 13, 2022 Posted October 13, 2022 Awesome! Glad you were able to square it away! SeNioR- and Balto 2
Recommended Posts