Internal server error!

(error 500)

The site is experiencing some dificulties, please try again, if the problem persists please contact support.

Go to homepage
Error

DOMDocument::loadXML(): Argument #1 ($source) must not be empty

File
/var/www/html/system/component/component.php on line 372
Code

//remove json comments from line start

$content = removeJsonComments($content);

$json = json_decode($content, true);

$json = \Vvveb\prepareJson($json);

$xml = \Vvveb\array2xml($json);

@$document->loadXML($xml);

} else {

@$document->loadXML($content, // <==

LIBXML_NOWARNING | LIBXML_NOERROR);

}

}

}

$xpath = new \DOMXpath($document);

Trace

#0 /var/www/html/system/component/component.php(373): DOMDocument->loadXML('', 96) #1 /var/www/html/system/component/component.php(91): Vvveb\System\Component\Component->generateRequiredComponents() #2 /var/www/html/system/component/component.php(68): Vvveb\System\Component\Component->__construct(Object(Vvveb\System\Core\View), false, NULL) #3 /var/www/html/system/core/view.php(404): Vvveb\System\Component\Component::getInstance(Object(Vvveb\System\Core\View), false, NULL) #4 /var/www/html/system/core/response.php(120): Vvveb\System\Core\View->render() #5 /var/www/html/system/core/frontcontroller.php(300): Vvveb\System\Core\Response->output() #6 /var/www/html/system/core/frontcontroller.php(347): Vvveb\System\Core\FrontController::call('Vvveb\\Controlle...', 'index', '/var/www/html/a...') #7 /var/www/html/system/core/frontcontroller.php(417): Vvveb\System\Core\FrontController::redirect('Feed/Index', 'index') #8 /var/www/html/system/core/startup.php(387): Vvveb\System\Core\FrontController::dispatch() #9 /var/www/html/index.php(150): Vvveb\System\Core\start() #10 /var/www/html/public/index.php(28): include('/var/www/html/i...') #11 {main}