Warning: Class '\Joomla\CMS\Document\Document' not found in /libraries/loader.php on line 651

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