ReflectionException (-1)
Class Buxus\Email\Contract\BaseEmail does not exist ReflectionException thrown with message "Class Buxus\Email\Contract\BaseEmail does not exist" Stacktrace: #13 ReflectionException in /home/bql/web/vendor/illuminate/container/Container.php:741 #12 ReflectionClass:__construct in /home/bql/web/vendor/illuminate/container/Container.php:741 #11 Illuminate\Container\Container:build in /home/bql/web/vendor/illuminate/container/Container.php:631 #10 Illuminate\Container\Container:make in /home/bql/web/vendor/buxus/legacy-base/buxus/includes/classes/exception_handler.class.php:77 #9 ExceptionHandler:mailException in /home/bql/web/vendor/buxus/legacy-base/src/Buxus/Error/ErrorReporter.php:91 #8 Buxus\Error\ErrorReporter:report in /home/bql/web/vendor/buxus/legacy-base/src/Buxus/Error/ErrorReporter.php:167 #7 Buxus\Error\ErrorReporter:handle_exception in /home/bql/web/vendor/buxus/legacy-base/src/Buxus/Error/ErrorReporter.php:159 #6 Buxus\Error\ErrorReporter:handle_error in [internal]:0 #5 class_alias in /home/bql/web/vendor/buxus/core/src/Buxus/Core/AliasLoader.php:66 #4 Buxus\Core\AliasLoader:load in [internal]:0 #3 spl_autoload_call in /home/bql/web/vendor/buxus/legacy-base/buxus/includes/generate_functions.php:98 #2 GeneratePage in /home/bql/web/vendor/buxus/core/src/handler/generate_page.php:57 #1 include in /home/bql/web/vendor/buxus/core/src/Buxus/Router/BuxusRouter.php:46 #0 Buxus\Router\BuxusRouter:dispatch in /home/bql/web/public/buxus.php:7
Stack frames (14):
13 ReflectionException
…/­vendor/­illuminate/­container/­Container.php741
12 ReflectionClass __construct
…/­vendor/­illuminate/­container/­Container.php741
11 Illuminate\Container\Container build
…/­vendor/­illuminate/­container/­Container.php631
10 Illuminate\Container\Container make
…/­vendor/­buxus/­legacy-base/­buxus/­includes/­classes/­exception_handler.class.php77
9 ExceptionHandler mailException
…/­vendor/­buxus/­legacy-base/­src/­Buxus/­Error/­ErrorReporter.php91
8 Buxus\Error\ErrorReporter report
…/­vendor/­buxus/­legacy-base/­src/­Buxus/­Error/­ErrorReporter.php167
7 Buxus\Error\ErrorReporter handle_exception
…/­vendor/­buxus/­legacy-base/­src/­Buxus/­Error/­ErrorReporter.php159
6 Buxus\Error\ErrorReporter handle_error
[internal]0
5 class_alias
…/­vendor/­buxus/­core/­src/­Buxus/­Core/­AliasLoader.php66
4 Buxus\Core\AliasLoader load
[internal]0
3 spl_autoload_call
…/­vendor/­buxus/­legacy-base/­buxus/­includes/­generate_functions.php98
2 GeneratePage
…/­vendor/­buxus/­core/­src/­handler/­generate_page.php57
1 include
…/­vendor/­buxus/­core/­src/­Buxus/­Router/­BuxusRouter.php46
0 Buxus\Router\BuxusRouter dispatch
…/­public/­buxus.php7
/home/bql/web/vendor/illuminate/container/Container.php
    public function build($concrete, array $parameters = [])
    {
        // If the concrete type is actually a Closure, we will just execute it and
        // hand back the results of the functions, which allows functions to be
        // used as resolvers for more fine-tuned resolution of these objects.
        if ($concrete instanceof Closure) {
            return $concrete($this, $parameters);
        }
 
        $reflector = new ReflectionClass($concrete);
 
        // If the type is not instantiable, the developer is attempting to resolve
        // an abstract type such as an Interface of Abstract Class and there is
        // no binding registered for the abstractions so we need to bail out.
        if (! $reflector->isInstantiable()) {
            $message = "Target [$concrete] is not instantiable.";
 
            throw new BindingResolutionContractException($message);
        }
 
/home/bql/web/vendor/illuminate/container/Container.php
    public function build($concrete, array $parameters = [])
    {
        // If the concrete type is actually a Closure, we will just execute it and
        // hand back the results of the functions, which allows functions to be
        // used as resolvers for more fine-tuned resolution of these objects.
        if ($concrete instanceof Closure) {
            return $concrete($this, $parameters);
        }
 
        $reflector = new ReflectionClass($concrete);
 
        // If the type is not instantiable, the developer is attempting to resolve
        // an abstract type such as an Interface of Abstract Class and there is
        // no binding registered for the abstractions so we need to bail out.
        if (! $reflector->isInstantiable()) {
            $message = "Target [$concrete] is not instantiable.";
 
            throw new BindingResolutionContractException($message);
        }
 
/home/bql/web/vendor/illuminate/container/Container.php
            return $this->instances[$abstract];
        }
 
        $concrete = $this->getConcrete($abstract);
 
        // We're ready to instantiate an instance of the concrete type registered for
        // the binding. This will instantiate the types, as well as resolve any of
        // its "nested" dependencies recursively until all have gotten resolved.
        if ($this->isBuildable($concrete, $abstract)) {
            $object = $this->build($concrete, $parameters);
        } else {
            $object = $this->make($concrete, $parameters);
        }
 
        // If we defined any extenders for this type, we'll need to spin through them
        // and apply them to the object being built. This allows for the extension
        // of services, such as changing configuration or decorating the object.
        foreach ($this->getExtenders($abstract) as $extender) {
            $object = $extender($object, $this);
        }
/home/bql/web/vendor/buxus/legacy-base/buxus/includes/classes/exception_handler.class.php
	 * Odoslanie exception emailom
	 *
	 * @param Exception $e
	 */
	public static function mailException($e)
	{
        /**
         * @var \Buxus\Email\Contract\BaseEmail $email
         */
        $email = app()->make(\Buxus\Email\Contract\BaseEmail::class);
 
        $email->setSender('buxus@ui42.sk', 'Buxus Automatic Reporter');
        $email->setBodyHTML(self::renderException($e));
        $email->setSubject('Buxus: Error [' . C_database_name . ']');
        $email->send(explode(',', GetSystemOption('C_critical_errors_report_to')));
	}
 
	/**
	 * Zalogovanie exception do logu
	 *
/home/bql/web/vendor/buxus/legacy-base/src/Buxus/Error/ErrorReporter.php
 
        if (!is_a($e, '\\Buxus\\Error\\NonFatalExceptionInterface')) {
            self::reportErrorToUrl($e);
        }
 
        \error_log($prefix . \vsprintf($message, $args));
        if (!($e instanceof NonFatalException)) {
            \ExceptionHandler::handleException($e);
        }
        \ExceptionHandler::mailException($e);
    }
 
    public static function reportSimpleError($class_name, $class_method, $message) {
        $args = \func_get_args();
        \array_shift($args);
        \array_shift($args);
        \array_shift($args);
 
        $prefix = \sprintf('ERROR(%s::%s): ', $class_name, $class_method);
        $res = \vsprintf($message, $args);
/home/bql/web/vendor/buxus/legacy-base/src/Buxus/Error/ErrorReporter.php
 
        self::handle_exception($ex, false);
 
        if (self::$previous_error_handler) {
            \call_user_func(self::$previous_error_handler, $errno, $errstr, $errfile, $errline);
        }
    }
 
    public static function handle_exception($exception, $call_previous = true) {
        self::report($exception);
 
        if ($call_previous && self::$previous_exception_handler) {
            call_user_func(self::$previous_exception_handler, $exception);
        }
    }
 
    protected static function reportToPushover($e) {
        if ($e instanceof PhpWarning || $e instanceof PhpNotice) {
            return;
        }
/home/bql/web/vendor/buxus/legacy-base/src/Buxus/Error/ErrorReporter.php
                $ex = new PhpParse($errstr, $errno, $errfile, $errline);
                break;
            case E_DEPRECATED:
                $ex = new PhpDeprecated($errstr, $errno, $errfile, $errline);
                break;
            default:
                $ex = new PhpError($errstr, $errno, $errfile, $errline);
        }
 
        self::handle_exception($ex, false);
 
        if (self::$previous_error_handler) {
            \call_user_func(self::$previous_error_handler, $errno, $errstr, $errfile, $errline);
        }
    }
 
    public static function handle_exception($exception, $call_previous = true) {
        self::report($exception);
 
        if ($call_previous && self::$previous_exception_handler) {
[internal]
/home/bql/web/vendor/buxus/core/src/Buxus/Core/AliasLoader.php
    /**
     * Load a class alias if it is registered.
     *
     * @param  string  $alias
     * @return void
     */
    public function load($alias)
    {
        if (isset($this->aliases[$alias])) {
            return class_alias($this->aliases[$alias], $alias);
        }
    }
 
    /**
     * Add an alias to the loader.
     *
     * @param  string  $class
     * @param  string  $alias
     * @return void
     */
[internal]
/home/bql/web/vendor/buxus/legacy-base/buxus/includes/generate_functions.php
        if (!showCustomError('403'))
        {
            header('HTTP/1.0 403 Forbidden');
            throw new Exception(__('No_Main_Source_For_Page'));
        }
 
        exit;
    }
 
    \Buxus\Event\BuxusEvent::fire(new \Buxus\Event\PageViewEvent(\BuxusMVC::page()));
 
	// Run template
	if (empty($controller_name))
	{// The controller is not set
        \Buxus\DebugBar::getInstance()->startMeasure('template_render', 'Old template render');
		$including_ready = trim(GetSystemOption('C_including_properties_from_files')) == '1' || (trim(GetSystemOption('C_including_properties_from_files')) == '2' && isTransitionDevModeEnabled());
		$out = null;
		if (($including_ready) && (preg_match('/^((\/\/<\?php[ \r\n]*)|([ \r\n]*))UsePropertyFromFile\([\'\"]([^\'\"]+)[\'\"]\);[ \r\n]*$/i', $main_property, $out)))
		{// The code is in the file
			require_once GetSystemOption('C_properties_dir') . $out[4];
/home/bql/web/vendor/buxus/core/src/handler/generate_page.php
} else {
    $wrong_page_id = C_True;
}
 
$_REQUEST['page_id'] = $page_id;
$_GET['page_id'] = $page_id;
\Buxus\DebugBar::getInstance()->info('page_id: ' . $page_id, 'buxus');
\Buxus\DebugBar::getInstance()->stopMeasure('seo_url_resolver');
\Buxus\DebugBar::getInstance()->startMeasure('generate_page', 'GeneratePage()');
GeneratePage($page_id);
// finish the request
exit;
/home/bql/web/vendor/buxus/core/src/Buxus/Router/BuxusRouter.php
            }
        }
        return $this->default_script;
    }
 
    public function dispatch($request_uri) {
        $script = $this->getScript($request_uri);
 
        if (!empty($script)) {
            include($script);
        }
 
        if ($this->default_script != $script) {
            include($this->default_script);
        }
 
        header('HTTP/1.0 404 Not Found');
        echo '404 Not Found';
        exit;
    }
/home/bql/web/public/buxus.php
<?php
define('BASE_BUXUS_DIR', realpath(__DIR__ . '/../'));
require_once (__DIR__ . '/../vendor/autoload.php');
require_once (CORE_BUXUS_DIR . '/src/buxus_bootstrap.php');
 
$router = app('buxus-router');
$router->dispatch($_SERVER['REQUEST_URI']);
 

Environment & details:

Key Value
page_id 2
empty
empty
empty
Key Value
BUXUS_RUNNING
empty
empty
0. Whoops\Handler\PrettyPageHandler