Доброго времени суток. 
Проблема заключается в ошибке:
ошибка Строка 30 , столбец 47 : обязательный атрибут «тип» не указан
  <script src="//vk.com/js/api/openapi.js?123"></script>
✉
Атрибут, указанный выше, требуется для используемого вами элемента, но вы его исключили. Например, в большинстве типов документов HTML и XHTML атрибут «type» требуется для элемента «script», а для элемента «img» требуется атрибут «alt».
Типичными значениями typeявляются type="text/css"for <style> и type="text/javascript"for <script>.
Не могу найти где исправить данную проблему, в HTML шаблона следующее:
<?php
/**
 * @version    $Id: index.php Jan 07, 2011 18:28:38Z OmegaTheme $
 * @package    OmegaTheme Joomla Template
 * @subpackage  Mega Interiox
 * @author    OmegaTheme (services@omegatheme.com)
 * @link     
http://www.omegatheme.com * 
@copyright  Copyright (C) 2008 - 2010 OmegaTheme
 * @license    
http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 */
// no direct access
defined('_JEXEC') or die('Restricted access');
JHTML::_('behavior.mootools');
$doc = &Jfactory::getDocument();
$doc->addScript(JURI::root().'/templates/'.$this->template.'/scripts/dropdown-j17.js');
include_once(JPATH_ROOT . "/templates/" . $this->template . '/lib/megaModulesCal.php');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>">
<head>
<?php
  $menu =& JSite::getMenu();
  if ($menu->getActive() == $menu->getDefault()) {
    $isHome = true;
  }else {
    $isHome = false;
  }  
  $megaCheckLeftRight = megaCheckLeftRight($this);
?>
<jdoc:include type="head" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/css/reset.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/css/joomla.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/css/typography.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/css/layout.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/css/modules.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/css/menu.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/css/customs.css" rel="stylesheet" type="text/css" />
<?php
  if ($this->countModules('right')) {
    $megaRight = '';
  }else {
    $megaRight = '_fr';
  }
?>
</head>
<body id="mega-bg">
  <div id="mega-wrapper">
    <div id="mega-header-wrap">
      <div class="mega-header-top">
        <div class="mega-logo">
          <a href="<?php echo JURI::base(); ?>" class="logo" rel="logo"></a>
        </div>
        <?php if ($this->countModules('menutop')) { ?>
        <div class="mega_menu">
          <div id="top-nav">
            <jdoc:include type="modules" name="menutop" />
          </div>
        </div>
        <?php } ?>
      </div>
      <?php if ($this->countModules('slideshow')) { ?>
      <div class="mega-slideshow mega-clr">
        <jdoc:include type="modules" name="slideshow" />
      </div>
      <?php } ?>
      <?php if ($this->countModules('barscroller')) { ?>
      <div class="mega-scroll-bar mega-clr">
        <jdoc:include type="modules" name="barscroller" />
      </div>
      <?php } ?>
    </div>
    <div id="mega-body-wrap" class="mega-clr">
      <?php if (!$isHome) { ?>
      <div class="mega-breadcrumb mega-clr">
        <jdoc:include type="modules" name="breadcrumb" />
      </div>
      <div class="mega-breadcrum-bottom mega-clr"></div>
      <?php } ?>
      <?php if ($this->countModules('newsflash')) { ?>
      <div class="mega-news-flash mega-clr">
        <jdoc:include type="modules" name="newsflash" />
      </div>
      <?php } ?>
      <?php
      $megaPositions = array('user1', 'user2', 'user3');
      $calWidth = megaModulesCal($this, $megaPositions, 99);
      if ($calWidth) :
        if ($this->countModules('user1 + user2 + user3')) {
      ?>
      <div class="mega-modules-top mega-clr"></div>
      <div class="mega-modules-top-content">
        <?php if ($this->countModules('user1')) { ?>
        <div class="mega-top mega-top1<?php echo $calWidth['user1']['class']; ?>" style="width: <?php echo $calWidth['user1']['width']; ?>;">
          <jdoc:include type="modules" name="user1" style="xhtml" />
        </div>
        <?php } ?>
        <?php if ($this->countModules('user2')) { ?>
        <div class="mega-top mega-top2<?php echo $calWidth['user2']['class']; ?>" style="width: <?php echo $calWidth['user2']['width']; ?>;">
          <jdoc:include type="modules" name="user2" style="xhtml" />
        </div>
        <?php } ?>
        <?php if ($this->countModules('user3')) { ?>
        <div class="mega-top mega-top3<?php echo $calWidth['user3']['class']; ?>" style="width: <?php echo $calWidth['user3']['width']; ?>;">
          <jdoc:include type="modules" name="user3" style="xhtml" />
        </div>
        <?php } ?>
      </div>
      <div class="mega-modules-top-inner mega-clr"></div>
      <?php 
        }
      endif;
      ?>
      <div class="mega-maincontent-wrap mega-clr">
        <div class="mega-maincontent-inner">
          <?php if ($this->countModules('left')) { ?>
          <div class="mega-left">
            <jdoc:include type="modules" name="left" style="xhtml" />
          </div>
          <?php } ?>
          <div class="mega-content<?php echo $megaCheckLeftRight; ?>">
            <jdoc:include type="message" />
            <jdoc:include type="component" />
          </div>
        </div>
        <?php if ($this->countModules('right')) { ?>
        <div class="mega-right">
          <jdoc:include type="modules" name="right" style="xhtml" />
        </div>
        <?php } ?>
      </div>
    <jdoc:include type="modules" name="map" />
    </div>
    <div id="mega-fotter-wrap" class="mega-clr">      
      <div>     ©2015 "Ageless Furniture"</div>
     <div><!-- Yandex.Metrika informer -->
<a href="
https://metrika.yandex.ru/stat/?id=30822701&from=informer"
target="_blank" rel="nofollow"><img src="//bs.yandex.ru/informer/30822701/3_1_FFFFFFFF_EFEFEFFF_0_pageviews"
  style="width:88px; height:31px; border:0; padding-left:850px;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)" onclick="try{Ya.Metrika.informer({i:this,id:30822701,lang:'ru'});return false}catch(e){}"/></a>
<!-- /Yandex.Metrika informer -->
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
    (w[c] = w[c] || []).push(function() {
        try {
            w.yaCounter30822701 = new Ya.Metrika({id:30822701,
                    clickmap:true,
                    trackLinks:true,
                    accurateTrackBounce:true});
        } catch(e) { }
    });
    var n = d.getElementsByTagName("script")[0],
        s = d.createElement("script"),
        f = function () { n.parentNode.insertBefore(s, n); };
    s.type = "text/javascript";
    s.async = true;
    s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
    if (w.opera == "[object Opera]") {
        d.addEventListener("DOMContentLoaded", f, false);
    } else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div>    <img src="//mc.yandex.ru/watch/30822701" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter --></div>        
        <div class="mega-follow">
        <jdoc:include type="modules" name="follow" />
      </div>
    </div>
  </div>
  <jdoc:include type="modules" name="debug" />
</body>
</html>
Подскажите знающие люди как с этим бороться?