При добавлении видео с YouTube выходит ошибка

На версии phpFOX 3.8.0 при добавлении видео с YouTube получил белую, пустую страницу.
Решение было найдено тут: https://store.phpfox ... -support-issues
Значит, открываем: module/video/include/service/grab.class.php, находим:
            if (strpos($sUrl, 'youtube') | (preg_match('/http:\/\/youtu\.be\/(.*)/i', $sUrl, $aMatches) && isset($aMatches[1]))) 
            {
                $this->_aRegex = false;
                $this->_aSites = $this->_aSiteCache;
                if (isset($aMatches) && $aMatches[1])
                {
                    $sUrl = 'http://www.youtube.com/watch?v=' . $aMatches[1];
                }                
            } 

меняем на:
            if (strpos($sUrl, 'youtube') | (preg_match('/(http|https):\/\/youtu\.be\/(.*)/i', $sUrl, $aMatches) && isset($aMatches[2])))
            {
                $this->_aSites = $this->_aSiteCache;
                if (isset($aMatches) && $aMatches[2])
                {
                    $sUrl = 'http://www.youtube.com/watch?v=' . $aMatches[2];
                }
            } 

Сохраняем. Готово!