Calendar v1.0.9 Undefined index: event_image_required

Server Error Log
Error Info
ErrorException: Undefined index: event_image_required - library/NixFifty/Calendar/ControllerPublic/Event.php:691

Stack Trace
#0 library/NixFifty/Calendar/ControllerPublic/Event.php(691): XenForo_Application::handlePhpError(8, 'Undefined index...', '...', 691, Array)
#1 library/XenForo/FrontController.php(369): NixFifty_Calendar_ControllerPublic_Event->actionSave()
#2 /library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 index.php(13): XenForo_FrontController->run()
#4 {main}
Request State
array(3) {
["url"] => string(79) "/events/spanner-day-usb-electrical-accessories.2753/save"
["_GET"] => array(1) {
["/events/spanner-day-usb-electrical-accessories_2753/save"] => string(0) ""
[...]
}

ChrisD's Add-on Install & Upgrade is/was used during upgrade.
 
Make sure you run this query:
Run this:
Code:
ALTER TABLE `xf_nf_calendar_event` ADD COLUMN `event_image_required` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

Looks like your opcache might've prevented the step from running on upgrade.
 
I don't have an opcache and the something similar happened for me.
I do think this is a bug.

btw: the result of the query is interesting:
#1060 - Duplicate column name 'event_image_required'
 
I don't have an opcache and the something similar happened for me.
I do think this is a bug.

btw: the result of the query is interesting:
#1060 - Duplicate column name 'event_image_required'
Ah, good spot. The tables are similarly named and it looks like I typo'd and my original query puts the column in a different table than what it's meant to be in. I shall correct this shortly.

Sorry about that, I'm an idiot.
 
Back
Top