Unknown or bad timezone (Europe/Zaporozhye) when importing from Discourse

Paul B

XenForo moderator
Staff member
Affected version
1.6
There should probably be a fallback to Europe/London for invalid time zones, similar to this fix: https://xenforo.com/community/threa...porter-discourse-php-613.198354/#post-1537130


PHP:
DateInvalidTimeZoneException: DateTimeZone::__construct(): Unknown or bad timezone (Europe/Zaporozhye) in src/addons/XFI/Import/Importer/Discourse.php at line 639

DateTimeZone->__construct() in src/addons/XFI/Import/Importer/Discourse.php at line 639
XFI\Import\Importer\Discourse->stepUsers() in src/XF/Import/Runner.php at line 244
XF\Import\Runner->runStep() in src/XF/Import/Runner.php at line 61
XF\Import\Runner->run() in src/XF/Admin/Controller/ImportController.php at line 247
XF\Admin\Controller\ImportController->actionRun() in src/XF/Mvc/Dispatcher.php at line 362
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
XF\App->run() in src/XF.php at line 806
XF::runApp() in admin.php at line 15
 
Back
Top Bottom