Warning: include(/home/castleinfo/public_html/Castleccha/libraries/vendor/composer/../../../libraries/src/Factory.php): failed to open stream: No such file or directory in /home/castleinfo/public_html/Castleccha/libraries/vendor/composer/ClassLoader.php on line 476

Warning: include(): Failed opening '/home/castleinfo/public_html/Castleccha/libraries/vendor/composer/../../../libraries/src/Factory.php' for inclusion (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home/castleinfo/public_html/Castleccha/libraries/vendor/composer/ClassLoader.php on line 476

Warning: Class 'Joomla\CMS\Factory' not found in /home/castleinfo/public_html/Castleccha/libraries/loader.php on line 576
Attempted to load class "Factory" from namespace "Joomla\CMS". Did you forget a "use" statement for another namespace? (500 Whoops, looks like something went wrong.)

ClassNotFoundError

HTTP 500 Whoops, looks like something went wrong.

Attempted to load class "Factory" from namespace "Joomla\CMS".
Did you forget a "use" statement for another namespace?

Exception

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

  1. // Set profiler start time and memory usage and mark afterLoad in the profiler.
  2. JDEBUG && \Joomla\CMS\Profiler\Profiler::getInstance('Application')->setStart($startTime$startMem)->mark('afterLoad');
  3. // Boot the DI container
  4. $container = \Joomla\CMS\Factory::getContainer();
  5. /*
  6.  * Alias the session service keys to the web session service as that is the primary session backend for this application
  7.  *
  8.  * In addition to aliasing "common" service keys, we also create aliases for the PHP classes to ensure autowiring objects
  1.  * define() is used rather than "const" to not error for PHP 5.2 and lower
  2.  */
  3. define('_JEXEC'1);
  4. // Run the application - All executable code should be triggered through this file
  5. require_once dirname(__FILE__) . '/includes/app.php';

Stack Trace

ClassNotFoundError
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load class "Factory" from namespace "Joomla\CMS".
Did you forget a "use" statement for another namespace?

  at /home/castleinfo/public_html/Castleccha/includes/app.php:38
  at require_once()
     (/home/castleinfo/public_html/Castleccha/index.php:32)