Item Tagging Error - Mysqli statement execute error:Column 'time' cannot be null

We are getting the following error message when we try to add a tag to an item. We are running Omeka version 2.2.2 with version 5.6.10 of PHP and 5.6.22 of MySQL. Any help would be appreciated, thanks!

Omeka has encountered an error

Mysqli statement execute error : Column 'time' cannot be null

#0 /usr/home/whlibrary/public_html/ Zend_Db_Statement_Mysqli->_execute(Array)
#1 /usr/home/whlibrary/public_html/ Zend_Db_Statement->execute(Array)
#2 [internal function]: Zend_Db_Adapter_Abstract->query('INSERT INTO `om...', Array)
#3 /usr/home/whlibrary/public_html/ call_user_func_array(Array, Array)
#4 /usr/home/whlibrary/public_html/ Omeka_Db->__call('query', Array)
#5 /usr/home/whlibrary/public_html/ Omeka_Db->query('INSERT INTO `om...', Array)
#6 /usr/home/whlibrary/public_html/ Omeka_Db->insert('RecordsTags', Array)
#7 /usr/home/whlibrary/public_html/ Omeka_Record_AbstractRecord->save()
#8 [internal function]: Mixin_Tag->afterSave(Array)
#9 /usr/home/whlibrary/public_html/ call_user_func_array(Array, Array)
#10 /usr/home/whlibrary/public_html/ Omeka_Record_AbstractRecord->delegateToMixins('afterSave', Array, true)
#11 /usr/home/whlibrary/public_html/ Omeka_Record_AbstractRecord->runCallbacks('afterSave', Array)
#12 /usr/home/whlibrary/public_html/ Omeka_Record_AbstractRecord->save(false)
#13 /usr/home/whlibrary/public_html/ Omeka_Controller_AbstractActionController->editAction()
#14 /usr/home/whlibrary/public_html/ ItemsController->editAction()
#15 /usr/home/whlibrary/public_html/ Zend_Controller_Action->dispatch('editAction')
#16 /usr/home/whlibrary/public_html/ Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#17 /usr/home/whlibrary/public_html/ Zend_Controller_Front->dispatch()
#18 /usr/home/whlibrary/public_html/ Zend_Application_Bootstrap_Bootstrap->run()
#19 /usr/home/whlibrary/public_html/ Zend_Application->run()
#20 /usr/home/whlibrary/public_html/ Omeka_Application->run()
#21 {main}

This sounds like a bug that we squished in Omeka 2.3. If it is possible to do that update, that should fix it.

Is there any documentation on how to squash that bug without upgrading to 2.3? I have done a lot of customization on my self-hosted 2.2 Omeka install, even outside the themes directory (brilliant idea, I know!).

I should say tagging was working flawlessly for months, before my web host migrated servers. Now, the exact error above.

I would strongly recommend upgrading instead, but if you'd really rather patch, the particular change should be this one.