Quicksilver Forums has exited with an error


preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead

Unknown Error [8192]:
The error was reported on line 112 of /mnt/web5/d1/90/51847190/htdocs/terraxcontrol/forum/lib/templater.php

Code:
109         while ($template = $this->db->nqfetch($temp_query))
110         {
111             // Check for MODLET with optional parameter
112             $template['template_html'] = preg_replace('/<MODLET\s+(.*?)\((.*?)\)\s*>/se', '$this->_modlets_callback(\'\\1\', \'\\2\', $template[\'template_name\'])', $template['template_html']);
113             // Check for IF statements
114             $template['template_html'] = preg_replace('~<IF (.*?)(?<!\-)>(.*?)(<ELSE>(.*?))?</IF>~se', '$this->_iftag_callback(\'\\1\', \'\\2\', $template[\'template_name\'], \'\\3\')', $template['template_html']);
115             $templates[$template['template_name']] = $template['template_html'];



Backtrace:

File:
Line:
Call: See above for details.

File: /mnt/web5/d1/90/51847190/htdocs/terraxcontrol/forum/lib/templater.php
Line: 112
Call: preg_replace('/<MODLET\s+(.*?)\((.*?)\)\s*>/se', '$this->_modlets_callback('\1', '\2', $template['template_name'])', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$qsf->user['user_language']}" dir="{$qsf->lang->direction}"> <head> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset={$qsf->lang->charset}" /> <title>{$title}</title> <link rel="stylesheet" type="text/css" href="./skins/{$qsf->skin}/styles.css" media="screen" /> <link rel="stylesheet" type="text/css" href="./skins/{$qsf->skin}/print.css" media="print" /> {$qsf->feed_links} <script src="./javascript/utils.js" type="text/javascript"></script> <!--[if lt IE 7]> <script src="./javascript/pngfix.js" type="text/javascript"></script> <![endif]--> <IF (strpos($qsf->agent, 'MSIE') !== false)> <style type="text/css"> input.button { padding: 0px; } input.check { border: none; margin: -2px 0px 0px; } </style> </IF> </head> <body> <div id="container"> <div><a id="top"></a></div> <div id="header"> <div id="company"> <div class="logo"></div> <a href="{$qsf->sets['loc_of_board']}" class="title">{$qsf->sets['forum_name']}</a> </div> <ul id="navigation"> <li class="active"><a href="{$qsf->sets['loc_of_board']}" class="c1">{$qsf->sets['forum_name']}</a></li> </ul> </div> <div id="blocks"> {$userheader} </div> <div id="main"> <IF !($qsf->perms->is_guest)> {$qsf->table} <div class="title">{$qsf->lang->main_welcome}</div> {$qsf->lang->main_welcome} <a href="{$qsf->self}?a=profile&amp;w={$qsf->user['user_id']}"><strong>{$qsf->user['user_name']}</strong></a>! ( <a href="{$qsf->self}?a=recent" title="{$qsf->lang->main_recent1}">{$qsf->lang->main_recent}</a> | <a href="{$qsf->self}?s=mark" title="{$qsf->lang->main_mark1}">{$qsf->lang->main_mark}</a> | <a href="{$qsf->self}?a=login&amp;s=off">{$qsf->lang->main_logout}</a> ) {$qsf->etable} <ELSE> {$qsf->table} <div class="title">{$qsf->lang->main_welcome_guest}</div> {$qsf->lang->main_welcome_guest} ( <a href="{$qsf->self}?a=recent" title="{$qsf->lang->main_recent1}">{$qsf->lang->main_recent}</a> | <a href="{$qsf->self}?s=mark" title="{$qsf->lang->main_mark1}">{$qsf->lang->main_mark}</a> | <a href="{$qsf->self}?a=login&amp;s=on">{$qsf->lang->main_login}</a> | <a href="{$qsf->self}?a=register">{$qsf->lang->main_register}</a> ) {$qsf->etable} </IF> <IF ($qsf->get['a'] != 'board' || isset($qsf->get['c']))> {$qsf->table} {$qsf->htmlwidgets->tree} {$qsf->etable} </IF> {$reminder} {$quicksilverforums} <IF $qsf->perms->auth('is_admin')> {$qsf->table} <strong>{$time_exec}</strong> {$qsf->lang->seconds} - <strong>{$qsf->db->querycount}</strong> {$qsf->lang->main_queries} - <strong>{$server_load}</strong> {$qsf->lang->main_load} [<a href="{$qsf->self}?{$qsf->query}&amp;debug=1" class="small">{$qsf->lang->main_full}</a>] {$qsf->etable} </IF> </div> <div id="bottom">&nbsp;</div> </div> <div id="footer"> {$copyright} <br />{$servertime} </div> </body> </html>')

File: /mnt/web5/d1/90/51847190/htdocs/terraxcontrol/forum/lib/templater.php
Line: 80
Call: templater->get_templates('profile', '', '')

File: /mnt/web5/d1/90/51847190/htdocs/terraxcontrol/forum/global.php
Line: 140
Call: templater->init_templates('profile', '')

File: /mnt/web5/d1/90/51847190/htdocs/terraxcontrol/forum/index.php
Line: 99
Call: qsfglobal->init()




Check status of problem (recommended)
View debug information (advanced)
Return to the board