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

Duplicate Style overwriting error

Robbo

Well-known member
#1
This is something I think you would have probably picked up but if not....

XenForo_Model_Template->deleteTemplatesInStyle() at line 579
PHP:
        if ($titles)
        {
            $db->query('
                DELETE FROM xf_template_compiled
                WHERE style_id = 0
                    AND title IN (' . $db->quote($titles) . ')
            ', $styleId);
            if (XenForo_Application::get('options')->templateFiles)
            {
                XenForo_Template_FileHandler::delete($titles, 0, null);
            }
        }
Causing binding DB error.