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

XF 1.1 Error For Any Media Embed

#1
I am getting an error all of my site (which we are going to launch tomorrow...) that is preventing us from embedding any media on the site. BB codes no longer work, XenMedio is failing, and I am getting the same error for everything (Youtube videos as well as custom media sites are failing, previously posted items are still functioning). I need URGENT help with this guys so please help me in any way that you can.

Code:
preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash
XenForo_Application::handlePhpError()
preg_match() in XenForo/Helper/Media.php at line 58
XenForo_Helper_Media->_convertMediaLinkToEmbedHtml() in XenForo/Helper/Media.php at line 39
XenForo_Helper_Media::convertMediaLinkToEmbedHtml() in XenForo/BbCode/Formatter/BbCode/AutoLink.php at line 174
XenForo_BbCode_Formatter_BbCode_AutoLink->_autoLinkUrl() in XenForo/BbCode/Formatter/BbCode/AutoLink.php at line 156
XenForo_BbCode_Formatter_BbCode_AutoLink->_autoLinkUrlCallback()
preg_replace_callback() in XenForo/BbCode/Formatter/BbCode/AutoLink.php at line 131
XenForo_BbCode_Formatter_BbCode_AutoLink->filterString() in XenForo/BbCode/Formatter/Base.php at line 488
XenForo_BbCode_Formatter_Base->renderString() in XenForo/BbCode/Formatter/Base.php at line 467
XenForo_BbCode_Formatter_Base->renderTreeElement() in XenForo/BbCode/Formatter/Base.php at line 444
XenForo_BbCode_Formatter_Base->renderSubTree() in XenForo/BbCode/Formatter/Base.php at line 424
XenForo_BbCode_Formatter_Base->renderTree() in XenForo/BbCode/Formatter/BbCode/AutoLink.php at line 53
XenForo_BbCode_Formatter_BbCode_AutoLink->renderTree() in XenForo/BbCode/Parser.php at line 503
XenForo_BbCode_Parser->render() in XenForo/Helper/String.php at line 218
XenForo_Helper_String::autoLinkBbCode() in XenForo/ControllerPublic/Forum.php at line 540
XenForo_ControllerPublic_Forum->actionCreateThreadPreview() in XenForo/FrontController.php at line 310
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /home/fragdojo/public_html/index.php at line 13

Hopefully someone on here can help me soon and tell me what is breaking the site, or even what the problem is.
 

Jake Bunce

XenForo moderator
Staff member
#2
It looks like one of your media sites is using an invalid regex. You need to find which one it is. Or I can probably find it if you give me a URL and admin login so I can review all of your media sites.
 
#3
let me check a few of them and my partner will do the same, if we still have an issue I will send you the login information

Thanks for the quick reply