Warning: Class '\Joomla\CMS\Document\Document' not found in /var/www/html/joomla/libraries/loader.php on line 663

Fatal error: Class 'JDocument' not found in /var/www/html/joomla/libraries/src/Factory.php on line 781