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

Duplicate How to add this route filter

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

  1. Matthew Hawley

    Matthew Hawley Well-Known Member

    How do i remove /pages with the new route changer? This is what I tried.

    Find Route: pages/services/

    Replace With: services/

    I got this error.

    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 /home/mcwh/public_html/letspwn.com/store/admin.php at line 13
    Neal likes this.
  2. Matthew Hawley

    Matthew Hawley Well-Known Member

    Sorry changed the page title to "How to add this route filter". I had 1.2 fresh on my mind...lol
  3. Brogan

    Brogan XenForo Moderator Staff Member

    This appears to be a bug so I have moved the thread for Mike to check.
  4. Matthew Hawley

    Matthew Hawley Well-Known Member

    @Brogan did you ever remove the pages with the route filter?
  5. Mike

    Mike XenForo Developer Staff Member

    This has already been fixed for the next release. :)
    Matthew Hawley, Neal and Dan like this.
  6. Matthew Hawley

    Matthew Hawley Well-Known Member

    Oh awesome! :D

Share This Page