LogicException: Class 'PHPUnit\Framework\TestCase' not found.

LogicException ("Class 'PHPUnit\Framework\TestCase' not found.")

87/usr/share/nginx/html/lib/Autoloader.php

85.         return false;
86.     }
87.     throw new LogicException ("Class '$orig' not found.");
88. }
89.

spl_autoload_call ("PHPUnit\Framework\TestCase")

74/usr/share/nginx/html/lib/AppTest.php

72.  *     ?>
73.  */
74. class AppTest extends TestCase {
75.     /**
76.      Prevent these from being reset between tests.

require_once ("/usr/share/nginx/html/lib/AppTest.php")

69/usr/share/nginx/html/lib/Autoloader.php

67.     } elseif (file_exists ('lib/' $class '.php')) {
68.         // No namespace, check in lib/ first
69.         require_once ('lib/' $class '.php');
70.         return true;
71.     } elseif (file_exists ('lib/vendor/' str_replace ('_''/'$class) . '.php')) {

ReflectionClass->__construct ("AppTest")

9/usr/share/nginx/html/apps/visor/handlers/lib.php

7. $lib = isset ($this->params[0]) ? $this->params[0] : $this->redirect ('/visor');
8.
9. $ref = new ReflectionClass ($lib);
10.
11. $page->title i18n_get ('Class') . ': ' $lib;

require ("/usr/share/nginx/html/apps/visor/handlers/lib.php")

516/usr/share/nginx/html/lib/Controller.php

514.         // Run the handler and get its output
515.         ob_start ();
516.         $res = require ($handler);
517.         $out ob_get_clean ();
518.         if (is_string ($res) && strlen ($res) > 0) {

Controller->handle ("apps/visor/handlers/lib.php", false)

216/usr/share/nginx/html/lib/FrontController.php

214.             $handler $controller->route ($_SERVER['REQUEST_URI']);
215.         }
216.         $page->body $controller->handle ($handlerfalse);
217.
218.         /**

FrontController::run ()

34/usr/share/nginx/html/index.php

32. $argc = isset ($argc) ? $argc null;
33. $argv = isset ($argv) ? $argv null;
34. return FrontController::run ($argv$argc);

Error Context

$_COOKIE = array (
    
"HandLtestDomainNameServer" => "HandLtestDomainValueServer"
    "handl_url_base" 
=> "https://solaruniquartier.com/en/make-the-most-of-summer-with-special-promos-and-offers-in-solar-uniquartier/"
    "organic_source" 
=> "https://solaruniquartier.com/en/make-the-most-of-summer-with-special-promos-and-offers-in-solar-uniquartier"
    "organic_source_str" 
=> "Internal"
    "user_agent" 
=> "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
    "handl_ip" 
=> "3.145.47.193"
    "handl_ref" 
=> "https://solaruniquartier.com/en/make-the-most-of-summer-with-special-promos-and-offers-in-solar-uniquartier"
    "handl_landing_page" 
=> "https://solaruniquartier.com/en/make-the-most-of-summer-with-special-promos-and-offers-in-solar-uniquartier"
    "handl_url" 
=> "https://solaruniquartier.com/en/make-the-most-of-summer-with-special-promos-and-offers-in-solar-uniquartier/"
    "handl_original_ref" 
=> "https://solaruniquartier.com/en/make-the-most-of-summer-with-special-promos-and-offers-in-solar-uniquartier"
);

$_SERVER = array (
    
"USER" => "www-data"
    "HOME" 
=> "/var/www"
    "HTTP_HOST" 
=> "elefantcms.com"
    "HTTP_ACCEPT_ENCODING" 
=> "gzip, br, zstd, deflate"
    "HTTP_COOKIE" 
=> "HandLtestDomainNameServer=HandLtestDomainValueServer; handl_url_base=https%3A%2F%2Fsolaruniquartier.com%2Fen%2Fmake-the-most-of-summer-with-special-promos-and-offers-in-solar-uniquartier%2F; organic_source=https%3A%2F%2Fsolaruniquartier.com%2Fen%2Fmake-the-most-of-summer-with-special-promos-and-offers-in-solar-uniquartier; organic_source_str=Internal; user_agent=Mozilla%2F5.0%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%3B%20compatible%3B%20ClaudeBot%2F1.0%3B%20%2Bclaudebot%40anthropic.com%29; handl_ip=3.145.47.193; handl_ref=https%3A%2F%2Fsolaruniquartier.com%2Fen%2Fmake-the-most-of-summer-with-special-promos-and-offers-in-solar-uniquartier; handl_landing_page=https%3A%2F%2Fsolaruniquartier.com%2Fen%2Fmake-the-most-of-summer-with-special-promos-and-offers-in-solar-uniquartier; handl_url=https%3A%2F%2Fsolaruniquartier.com%2Fen%2Fmake-the-most-of-summer-with-special-promos-and-offers-in-solar-uniquartier%2F; handl_original_ref=https%3A%2F%2Fsolaruniquartier.com%2Fen%2Fmake-the-most-of-summer-with-special-promos-and-offers-in-solar-uniquartier"
    "HTTP_USER_AGENT" 
=> "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
    "HTTP_ACCEPT" 
=> "*/*"
    "REDIRECT_STATUS" 
=> 200
    
"SERVER_NAME" => "elefantcms.com"
    "SERVER_PORT" 
=> 443
    
"SERVER_ADDR" => "192.241.172.148"
    "REMOTE_PORT" 
=> 20690
    
"REMOTE_ADDR" => "3.145.47.193"
    "SERVER_SOFTWARE" 
=> "nginx/1.14.0"
    "GATEWAY_INTERFACE" 
=> "CGI/1.1"
    "HTTPS" 
=> "on"
    "REQUEST_SCHEME" 
=> "https"
    "SERVER_PROTOCOL" 
=> "HTTP/1.1"
    "DOCUMENT_ROOT" 
=> "/usr/share/nginx/html"
    "DOCUMENT_URI" 
=> "/index.php"
    "REQUEST_URI" 
=> "/visor/lib/AppTest"
    "SCRIPT_NAME" 
=> "/index.php"
    "CONTENT_LENGTH" 
=> ""
    "CONTENT_TYPE" 
=> ""
    "REQUEST_METHOD" 
=> "GET"
    "QUERY_STRING" 
=> ""
    "SCRIPT_FILENAME" 
=> "/usr/share/nginx/html/index.php"
    "FCGI_ROLE" 
=> "RESPONDER"
    "PHP_SELF" 
=> "/index.php"
    "REQUEST_TIME_FLOAT" 
=> 1733245845.0519
    
"REQUEST_TIME" => 1733245845
);