1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Route filter error

Discussion in 'Resolved Bug Reports' started by DRE, Jun 19, 2013.

  1. DRE

    DRE 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
     
    erich37 likes this.
  2. lazer

    lazer Well-Known Member

    Why did I get an Alert for this new thread?

    Screen Shot 2013-06-19 at 11.49.21.png

    I am not subscribed to it, or watching this forum.
     
  3. Mike

    Mike XenForo Developer Staff Member

    It was split, it's probably the notification from the previous thread.
     
    lazer likes this.
  4. lazer

    lazer Well-Known Member

    Makes sense... (y)
     
  5. DRE

    DRE Well-Known Member

    I am reinstalling Jake Bunce's Route Filter addon for now.
     
  6. Mike

    Mike XenForo Developer Staff Member

    Looks like that argument only became optional in 5.4.

    Fixed for the next beta.
     
    erich37, LPH and DRE like this.
  7. DRE

    DRE Well-Known Member

    Works for me now in Xenforo 1.2 Beta 3.
     
    erich37 likes this.

Share This Page