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

XF 1.5 preg_match(): Compilation failed: two named subpatterns have the same name at offset 72

Discussion in 'Troubleshooting and Problems' started by Thom Tyler, Jul 27, 2015.

  1. Thom Tyler

    Thom Tyler Well-Known Member

    Hi,

    Running the BETA version so expected a few teething problems - Just wondering if you can point me in the location of fixing this one - I thought it was a regex issue.

    Anyway, issue occurs with all add-ons disabled except for Official xF MG and RM.

    This only began on Beta 3, but its a development board at present.

    Thanks,


    Full error log

    Code:
    #0 [internal function]: XenForo_Application::handlePhpError(2, 'preg_match(): C...', '/home/battlefro...', 56, Array)
    #1 /home/battlefront/public_html/library/XenForo/Helper/Media.php(56): preg_match('#youtube\\.com/....', 'http://www.test...', Array)
    #2 /home/battlefront/public_html/library/XenForo/Helper/Media.php(39): XenForo_Helper_Media->_convertMediaLinkToEmbedHtml('http://www.test...', Array)
    #3 /home/battlefront/public_html/library/XenForo/BbCode/Formatter/BbCode/AutoLink.php(231): XenForo_Helper_Media::convertMediaLinkToEmbedHtml('http://www.test...', Array)
    #4 /home/battlefront/public_html/library/XenForo/BbCode/Formatter/BbCode/AutoLink.php(193): XenForo_BbCode_Formatter_BbCode_AutoLink->_autoLinkUrl('http://www.test...')
    #5 [internal function]: XenForo_BbCode_Formatter_BbCode_AutoLink->_autoLinkUrlCallback(Array)
    #6 /home/battlefront/public_html/library/XenForo/BbCode/Formatter/BbCode/AutoLink.php(168): preg_replace_callback('#(?<=[^a-z0-9@-...', Array, 'http://www.test...')
    #7 /home/battlefront/public_html/library/XenForo/BbCode/Formatter/Base.php(590): XenForo_BbCode_Formatter_BbCode_AutoLink->filterString('http://www.test...', Array)
    #8 /home/battlefront/public_html/library/XenForo/BbCode/Formatter/Base.php(569): XenForo_BbCode_Formatter_Base->renderString('http://www.test...', Array, 0)
    #9 /home/battlefront/public_html/library/XenForo/BbCode/Formatter/Base.php(546): XenForo_BbCode_Formatter_Base->renderTreeElement('http://www.test...', Array, 0)
    #10 /home/battlefront/public_html/library/XenForo/BbCode/Formatter/Base.php(526): XenForo_BbCode_Formatter_Base->renderSubTree(Array, Array)
    #11 /home/battlefront/public_html/library/XenForo/BbCode/Formatter/BbCode/AutoLink.php(79): XenForo_BbCode_Formatter_Base->renderTree(Array, Array)
    #12 /home/battlefront/public_html/library/XenForo/BbCode/Parser.php(505): XenForo_BbCode_Formatter_BbCode_AutoLink->renderTree(Array, Array)
    #13 /home/battlefront/public_html/library/XenForo/Helper/String.php(232): XenForo_BbCode_Parser->render('http://www.test...')
    #14 /home/battlefront/public_html/library/XenForo/ControllerPublic/Forum.php(704): XenForo_Helper_String::autoLinkBbCode('http://www.test...')
    #15 /home/battlefront/public_html/library/Nobita/Teams/XenForo/ControllerPublic/Forum.php(9): XenForo_ControllerPublic_Forum->actionAddThread()
    #16 /home/battlefront/public_html/library/Audentio/Credit/Core/ControllerPublic/Forum.php(14): Nobita_Teams_XenForo_ControllerPublic_Forum->actionAddThread()
    #17 /home/battlefront/public_html/library/XenForo/FrontController.php(347): Audentio_Credit_Core_ControllerPublic_Forum->actionAddThread()
    #18 /home/battlefront/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #19 /home/battlefront/public_html/index.php(13): XenForo_FrontController->run()
     
  2. Mike

    Mike XenForo Developer Staff Member

Share This Page