Fixed Route filter error


Well-known member
How do I do the Route Filters from More Assorted Things

Got this error when I tried

Find Route: taigachat
Replace: chat

The following error occurred:
preg_match_all() expects at least 3 parameters, 2 given
  1. XenForo_Application::handlePhpError()
  2. preg_match_all() in XenForo/DataWriter/RouteFilter.php at line 129
  3. XenForo_DataWriter_RouteFilter->_countWildcards() in XenForo/DataWriter/RouteFilter.php at line 117
  4. XenForo_DataWriter_RouteFilter->_preSave() in XenForo/DataWriter.php at line 1429
  5. XenForo_DataWriter->preSave() in XenForo/DataWriter.php at line 1368
  6. XenForo_DataWriter->save() in XenForo/ControllerAdmin/RouteFilter.php at line 100
  7. XenForo_ControllerAdmin_RouteFilter->actionSave() in XenForo/FrontController.php at line 335
  8. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
  9. XenForo_FrontController->run() in blahblahwww/user/admin.php at line 13