Laminas \ Router \ Exception \ RuntimeException
Route with name "listing" not found Laminas\Router\Exception\RuntimeException thrown with message "Route with name "listing" not found" Stacktrace: #16 Laminas\Router\Exception\RuntimeException in /sites/dragoart/public_html/vendor/laminas/laminas-router/src/Http/TreeRouteStack.php:371 #15 Laminas\Router\Http\TreeRouteStack:assemble in /sites/dragoart/public_html/vendor/laminas/laminas-router/src/Http/Part.php:225 #14 Laminas\Router\Http\Part:assemble in /sites/dragoart/public_html/vendor/laminas/laminas-router/src/Http/TreeRouteStack.php:387 #13 Laminas\Router\Http\TreeRouteStack:assemble in /sites/dragoart/public_html/vendor/laminas/laminas-router/src/Http/Part.php:225 #12 Laminas\Router\Http\Part:assemble in /sites/dragoart/public_html/vendor/laminas/laminas-router/src/Http/TreeRouteStack.php:408 #11 Laminas\Router\Http\TreeRouteStack:assemble in /sites/dragoart/public_html/vendor/laminas/laminas-view/src/Helper/Url.php:106 #10 Laminas\View\Helper\Url:__invoke in /sites/dragoart/public_html/module/Tut/src/Controller/TutPublicListingController.php:151 #9 Tut\Controller\TutPublicListingController:listingAction in /sites/dragoart/public_html/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php:72 #8 Laminas\Mvc\Controller\AbstractActionController:onDispatch in /sites/dragoart/public_html/module/Utility/Nitro/src/DataStructures/AbstractServiceManagerActionController.php:247 #7 Nitro\DataStructures\AbstractServiceManagerActionController:onDispatch in /sites/dragoart/public_html/vendor/laminas/laminas-eventmanager/src/EventManager.php:320 #6 Laminas\EventManager\EventManager:triggerListeners in /sites/dragoart/public_html/vendor/laminas/laminas-eventmanager/src/EventManager.php:178 #5 Laminas\EventManager\EventManager:triggerEventUntil in /sites/dragoart/public_html/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php:105 #4 Laminas\Mvc\Controller\AbstractController:dispatch in /sites/dragoart/public_html/vendor/laminas/laminas-mvc/src/DispatchListener.php:117 #3 Laminas\Mvc\DispatchListener:onDispatch in /sites/dragoart/public_html/vendor/laminas/laminas-eventmanager/src/EventManager.php:320 #2 Laminas\EventManager\EventManager:triggerListeners in /sites/dragoart/public_html/vendor/laminas/laminas-eventmanager/src/EventManager.php:178 #1 Laminas\EventManager\EventManager:triggerEventUntil in /sites/dragoart/public_html/vendor/laminas/laminas-mvc/src/Application.php:319 #0 Laminas\Mvc\Application:run in /sites/dragoart/public_html/public/index.php:234
16
Laminas\Router\Exception\RuntimeException
/vendor/laminas/laminas-router/src/Http/TreeRouteStack.php371
15
Laminas\Router\Http\TreeRouteStack assemble
/vendor/laminas/laminas-router/src/Http/Part.php225
14
Laminas\Router\Http\Part assemble
/vendor/laminas/laminas-router/src/Http/TreeRouteStack.php387
13
Laminas\Router\Http\TreeRouteStack assemble
/vendor/laminas/laminas-router/src/Http/Part.php225
12
Laminas\Router\Http\Part assemble
/vendor/laminas/laminas-router/src/Http/TreeRouteStack.php408
11
Laminas\Router\Http\TreeRouteStack assemble
/vendor/laminas/laminas-view/src/Helper/Url.php106
10
Laminas\View\Helper\Url __invoke
/module/Tut/src/Controller/TutPublicListingController.php151
9
Tut\Controller\TutPublicListingController listingAction
/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php72
8
Laminas\Mvc\Controller\AbstractActionController onDispatch
/module/Utility/Nitro/src/DataStructures/AbstractServiceManagerActionController.php247
7
Nitro\DataStructures\AbstractServiceManagerActionController onDispatch
/vendor/laminas/laminas-eventmanager/src/EventManager.php320
6
Laminas\EventManager\EventManager triggerListeners
/vendor/laminas/laminas-eventmanager/src/EventManager.php178
5
Laminas\EventManager\EventManager triggerEventUntil
/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php105
4
Laminas\Mvc\Controller\AbstractController dispatch
/vendor/laminas/laminas-mvc/src/DispatchListener.php117
3
Laminas\Mvc\DispatchListener onDispatch
/vendor/laminas/laminas-eventmanager/src/EventManager.php320
2
Laminas\EventManager\EventManager triggerListeners
/vendor/laminas/laminas-eventmanager/src/EventManager.php178
1
Laminas\EventManager\EventManager triggerEventUntil
/vendor/laminas/laminas-mvc/src/Application.php319
0
Laminas\Mvc\Application run
/public/index.php234
     *
     * @see    \Laminas\Router\RouteInterface::assemble()
     *
     * @param  array $params
     * @param  array $options
     * @return mixed
     * @throws Exception\InvalidArgumentException
     * @throws Exception\RuntimeException
     */
    public function assemble(array $params = [], array $options = [])
    {
        if (! isset($options['name'])) {
            throw new Exception\InvalidArgumentException('Missing "name" option');
        }
 
        $names = explode('/', $options['name'], 2);
        $route = $this->routes->get($names[0]);
 
        if (! $route) {
            throw new Exception\RuntimeException(sprintf('Route with name "%s" not found', $names[0]));
        }
 
        if (isset($names[1])) {
            if (! $route instanceof TreeRouteStack) {
                throw new Exception\RuntimeException(sprintf(
                    'Route with name "%s" does not have child routes',
                    $names[0]
                ));
            }
            $options['name'] = $names[1];
        } else {
            unset($options['name']);
        }
 
        if (isset($options['only_return_path']) && $options['only_return_path']) {
            return $this->baseUrl . $route->assemble(array_merge($this->defaultParams, $params), $options);
        }
 
        if (! isset($options['uri'])) {
            $uri = new HttpUri();
Arguments
  1. "Route with name "listing" not found"
    
        $options['has_child'] = isset($options['name']);
 
        if (isset($options['translator']) && ! isset($options['locale']) && isset($params['locale'])) {
            $options['locale'] = $params['locale'];
        }
 
        $path   = $this->route->assemble($params, $options);
        $params = array_diff_key($params, array_flip($this->route->getAssembledParams()));
 
        if (! isset($options['name'])) {
            if (! $this->mayTerminate) {
                throw new Exception\RuntimeException('Part route may not terminate');
            } else {
                return $path;
            }
        }
 
        unset($options['has_child']);
        $options['only_return_path'] = true;
        return $path . parent::assemble($params, $options);
    }
 
    /**
     * getAssembledParams(): defined by RouteInterface interface.
     *
     * @see    RouteInterface::getAssembledParams
     *
     * @return array
     */
    public function getAssembledParams()
    {
        // Part routes may not occur as base route of other part routes, so we
        // don't have to return anything here.
        return [];
    }
}
 
Arguments
  1. array:1 [
      "page" => 1
    ]
    
  2. array:3 [
      "name" => "listing"
      "uri" => Laminas\Uri\Http {#1188}
      "only_return_path" => true
    ]
    
        $route = $this->routes->get($names[0]);
 
        if (! $route) {
            throw new Exception\RuntimeException(sprintf('Route with name "%s" not found', $names[0]));
        }
 
        if (isset($names[1])) {
            if (! $route instanceof TreeRouteStack) {
                throw new Exception\RuntimeException(sprintf(
                    'Route with name "%s" does not have child routes',
                    $names[0]
                ));
            }
            $options['name'] = $names[1];
        } else {
            unset($options['name']);
        }
 
        if (isset($options['only_return_path']) && $options['only_return_path']) {
            return $this->baseUrl . $route->assemble(array_merge($this->defaultParams, $params), $options);
        }
 
        if (! isset($options['uri'])) {
            $uri = new HttpUri();
 
            if (isset($options['force_canonical']) && $options['force_canonical']) {
                if ($this->requestUri === null) {
                    throw new Exception\RuntimeException('Request URI has not been set');
                }
 
                $uri->setScheme($this->requestUri->getScheme())
                    ->setHost($this->requestUri->getHost())
                    ->setPort($this->requestUri->getPort());
            }
 
            $options['uri'] = $uri;
        } else {
            $uri = $options['uri'];
        }
 
Arguments
  1. array:1 [
      "page" => 1
    ]
    
  2. array:3 [
      "name" => "listing"
      "uri" => Laminas\Uri\Http {#1188}
      "only_return_path" => true
    ]
    
        $options['has_child'] = isset($options['name']);
 
        if (isset($options['translator']) && ! isset($options['locale']) && isset($params['locale'])) {
            $options['locale'] = $params['locale'];
        }
 
        $path   = $this->route->assemble($params, $options);
        $params = array_diff_key($params, array_flip($this->route->getAssembledParams()));
 
        if (! isset($options['name'])) {
            if (! $this->mayTerminate) {
                throw new Exception\RuntimeException('Part route may not terminate');
            } else {
                return $path;
            }
        }
 
        unset($options['has_child']);
        $options['only_return_path'] = true;
        return $path . parent::assemble($params, $options);
    }
 
    /**
     * getAssembledParams(): defined by RouteInterface interface.
     *
     * @see    RouteInterface::getAssembledParams
     *
     * @return array
     */
    public function getAssembledParams()
    {
        // Part routes may not occur as base route of other part routes, so we
        // don't have to return anything here.
        return [];
    }
}
 
Arguments
  1. array:1 [
      "page" => 1
    ]
    
  2. array:3 [
      "name" => "listing"
      "uri" => Laminas\Uri\Http {#1188}
      "only_return_path" => true
    ]
    
 
        if (! isset($options['uri'])) {
            $uri = new HttpUri();
 
            if (isset($options['force_canonical']) && $options['force_canonical']) {
                if ($this->requestUri === null) {
                    throw new Exception\RuntimeException('Request URI has not been set');
                }
 
                $uri->setScheme($this->requestUri->getScheme())
                    ->setHost($this->requestUri->getHost())
                    ->setPort($this->requestUri->getPort());
            }
 
            $options['uri'] = $uri;
        } else {
            $uri = $options['uri'];
        }
 
        $path = $this->baseUrl . $route->assemble(array_merge($this->defaultParams, $params), $options);
 
        if (isset($options['query'])) {
            $uri->setQuery($options['query']);
        }
 
        if (isset($options['fragment'])) {
            $uri->setFragment($options['fragment']);
        }
 
        if (
            (isset($options['force_canonical'])
            && $options['force_canonical'])
            || $uri->getHost() !== null
            || $uri->getScheme() !== null
        ) {
            if (($uri->getHost() === null || $uri->getScheme() === null) && $this->requestUri === null) {
                throw new Exception\RuntimeException('Request URI has not been set');
            }
 
            if ($uri->getHost() === null) {
Arguments
  1. array:1 [
      "page" => 1
    ]
    
  2. array:3 [
      "name" => "public/listing"
      "uri" => Laminas\Uri\Http {#1188}
      "only_return_path" => true
    ]
    
        }
 
        if ($reuseMatchedParams && $this->routeMatch !== null) {
            $routeMatchParams = $this->routeMatch->getParams();
 
            if (isset($routeMatchParams[ModuleRouteListener::ORIGINAL_CONTROLLER])) {
                $routeMatchParams['controller'] = $routeMatchParams[ModuleRouteListener::ORIGINAL_CONTROLLER];
                unset($routeMatchParams[ModuleRouteListener::ORIGINAL_CONTROLLER]);
            }
 
            if (isset($routeMatchParams[ModuleRouteListener::MODULE_NAMESPACE])) {
                unset($routeMatchParams[ModuleRouteListener::MODULE_NAMESPACE]);
            }
 
            $params = array_merge($routeMatchParams, $params);
        }
 
        $options['name'] = $name;
 
        return (string) $this->router->assemble($params, $options);
    }
 
    /**
     * Set the router to use for assembling.
     *
     * @param RouteStackInterface $router
     * @return Url
     * @throws Exception\InvalidArgumentException For invalid router types.
     * @psalm-suppress RedundantConditionGivenDocblockType, DocblockTypeContradiction
     */
    public function setRouter($router)
    {
        if (! $router instanceof RouteStackInterface) {
            throw new Exception\InvalidArgumentException(sprintf(
                '%s expects a %s instance; received %s',
                __METHOD__,
                RouteStackInterface::class,
                is_object($router) ? $router::class : gettype($router)
            ));
        }
Arguments
  1. array:1 [
      "page" => 1
    ]
    
  2. array:2 [
      "name" => "public/listing"
      "uri" => Laminas\Uri\Http {#1188}
    ]
    
            $pageBuilder = $this->sm()->get('CommandArgBuilder\Factory\PageBuilder')->setCrudObj($crudObj);

            $pageBuilder->addCommandArgProcessor($this->sm()->get('Tut\Repository\PDOMySQL\CommandArgProcessor\SkillLevel'))
                        ->addCommandArgProcessor($this->sm()->get('Tut\Repository\PDOMySQL\CommandArgProcessor\Action')->setDefaultAction('newest')->setInclusions(['oldest','newest']))
            ;

            $pageBuilder2=$pageBuilder->spawn();

            $pageBuilder2->addCommandArgProcessor($this->sm()->get('Tut\Repository\PDOMySQL\CommandArgProcessor\DragoartCategory')->useBaseUrl(false));

            $pageBuilder->processCommandArg();

            $cacheCheck = $this->sm()->get('Cacher\Service\CacheCheck');

            $cacher=$cacheCheck->getCacher();

            //check if we need to display a cannonical link
            $uriParser = $this->sm()->get('Nitro\Http\Url\UriParser');

            $realUrl=$this->vhm()->get('url')('tut/public/listing', $routeArgs);

            $uriParser->setRealUri($realUrl);

            if (!$uriParser->doesRealUriAndRequestedUriMatch()):

                $this->sm()->get('Application\Aggregator\LayoutVars')->addVars(['display_canonical_link' => $uriParser->getUriWithPathAndHost()]);

            endif;

            $cacheKey=$pageBuilder->getCachingKey().$page.'_'.(int)$xmlRequest;


            if(!$cacheCheck->setKey('tut_listing', $cacheKey)->isCached()):

                $crudStmt->addPostCrudStmtExecuteEvent($this->sm()->get('Image\Repository\PostCrudStmtExecuteEvent\ImageInjector'));

                $crudStmt->addPostCrudStmtExecuteEvent($this->sm()->get('User\Repository\PostCrudStmtExecuteEvent\UserInjector')->injectAvatar(true));


                $pageBuilder->getCommandArgBuilder()->setBaseUrl($this->url()->fromRoute('tut/public/listing', []));
Arguments
  1. "tut/public/listing"
    
  2. array:1 [
      "page" => 1
    ]
    
     */
    public function onDispatch(MvcEvent $e)
    {
        $routeMatch = $e->getRouteMatch();
        if (! $routeMatch) {
            /**
             * @todo Determine requirements for when route match is missing.
             *       Potentially allow pulling directly from request metadata?
             */
            throw new DomainException('Missing route matches; unsure how to retrieve action');
        }
 
        $action = $routeMatch->getParam('action', 'not-found');
        $method = static::getMethodFromAction($action);
 
        if (! method_exists($this, $method)) {
            $method = 'notFoundAction';
        }
 
        $actionResponse = $this->$method();
 
        $e->setResult($actionResponse);
 
        return $actionResponse;
    }
}
 
    }
    final protected function setAdmin(\User\Lib\Admin $admin){
        $this->admin=$admin;
        return $this;
    }
    final protected function isAdmin(){
        return (isset($this->admin) && is_object($this->admin))?true:false;
    }
    final protected function isMember(){
        return (isset($this->member) && is_object($this->member))?true:false;
    }

    final public function onDispatch(MvcEvent $e)
    {

        $this->dispatchEvent = $e;

        $this->dispatchEvent($e);

        return parent::onDispatch($e); // TODO: Change the autogenerated stub
    }



    //override if needed: called to delegate a service to createRealService method
    public function di(ContainerInterface $c){
        // do nothing
    }

    //override if needed: called to inject Dependency Injection
    public function getService()
    {
        //do nothing
    }

    //override if needed: called when the controller is being dispatched
    public function dispatchEvent(MvcEvent $e){
        //do nothing

    }
Arguments
  1. Laminas\Mvc\MvcEvent {#430}
    
        }
 
        if ($this->sharedManager) {
            foreach ($this->sharedManager->getListeners($this->identifiers, $name) as $priority => $listeners) {
                $listOfListenersByPriority[$priority][] = $listeners;
            }
        }
 
        // Sort by priority in reverse order
        krsort($listOfListenersByPriority);
 
        // Initial value of stop propagation flag should be false
        $event->stopPropagation(false);
 
        // Execute listeners
        $responses = new ResponseCollection();
        foreach ($listOfListenersByPriority as $listOfListeners) {
            foreach ($listOfListeners as $listeners) {
                foreach ($listeners as $listener) {
                    $response = $listener($event);
                    $responses->push($response);
 
                    // If the event was asked to stop propagating, do so
                    if ($event->propagationIsStopped()) {
                        $responses->setStopped(true);
                        return $responses;
                    }
 
                    // If the result causes our validation callback to return true,
                    // stop propagation
                    if ($callback && $callback($response)) {
                        $responses->setStopped(true);
                        return $responses;
                    }
                }
            }
        }
 
        return $responses;
    }
Arguments
  1. Laminas\Mvc\MvcEvent {#430}
    
            $event->setParams($argv);
        }
 
        return $this->triggerListeners($event, $callback);
    }
 
    /**
     * @inheritDoc
     */
    public function triggerEvent(EventInterface $event)
    {
        return $this->triggerListeners($event);
    }
 
    /**
     * @inheritDoc
     */
    public function triggerEventUntil(callable $callback, EventInterface $event)
    {
        return $this->triggerListeners($event, $callback);
    }
 
    /**
     * @inheritDoc
     */
    public function attach($eventName, callable $listener, $priority = 1)
    {
        if (! is_string($eventName)) {
            throw new Exception\InvalidArgumentException(sprintf(
                '%s expects a string for the event; received %s',
                __METHOD__,
                is_object($eventName) ? $eventName::class : gettype($eventName)
            ));
        }
 
        $this->events[$eventName][(int) $priority][0][] = $listener;
        return $listener;
    }
 
    /**
Arguments
  1. Laminas\Mvc\MvcEvent {#430}
    
  2. Closure($test): bool {#1067 …4}
    
     * @events dispatch.pre, dispatch.post
     * @param  Request $request
     * @param  null|Response $response
     * @return Response|mixed
     */
    public function dispatch(Request $request, Response $response = null)
    {
        $this->request = $request;
        if (! $response) {
            $response = new HttpResponse();
        }
        $this->response = $response;
 
        $e = $this->getEvent();
        $e->setName(MvcEvent::EVENT_DISPATCH);
        $e->setRequest($request);
        $e->setResponse($response);
        $e->setTarget($this);
 
        $result = $this->getEventManager()->triggerEventUntil(static fn($test): bool => $test instanceof Response, $e);
 
        if ($result->stopped()) {
            return $result->last();
        }
 
        return $e->getResult();
    }
 
    /**
     * Get request object
     *
     * @return Request
     */
    public function getRequest()
    {
        if (! $this->request) {
            $this->request = new HttpRequest();
        }
 
        return $this->request;
Arguments
  1. Closure($test): bool {#1067 …4}
    
  2. Laminas\Mvc\MvcEvent {#430}
    
            );
            return $this->complete($return, $e);
        } catch (Throwable $exception) {
            $return = $this->marshalBadControllerEvent($controllerName, $e, $application, $exception);
            return $this->complete($return, $e);
        } catch (Exception $exception) {  // @TODO clean up once PHP 7 requirement is enforced
            $return = $this->marshalBadControllerEvent($controllerName, $e, $application, $exception);
            return $this->complete($return, $e);
        }
 
        if ($controller instanceof InjectApplicationEventInterface) {
            $controller->setEvent($e);
        }
 
        $request  = $e->getRequest();
        $response = $application->getResponse();
        $caughtException = null;
 
        try {
            $return = $controller->dispatch($request, $response);
        } catch (Throwable $ex) {
            $caughtException = $ex;
        } catch (Exception $ex) {  // @TODO clean up once PHP 7 requirement is enforced
            $caughtException = $ex;
        }
 
        if ($caughtException !== null) {
            $e->setName(MvcEvent::EVENT_DISPATCH_ERROR);
            $e->setError($application::ERROR_EXCEPTION);
            $e->setController($controllerName);
            $e->setControllerClass($controller::class);
            $e->setParam('exception', $caughtException);
 
            $return = $application->getEventManager()->triggerEvent($e)->last();
            if (! $return) {
                $return = $e->getResult();
            }
        }
 
        return $this->complete($return, $e);
Arguments
  1. Laminas\Http\PhpEnvironment\Request {#408}
    
  2. Laminas\Http\PhpEnvironment\Response {#417}
    
        }
 
        if ($this->sharedManager) {
            foreach ($this->sharedManager->getListeners($this->identifiers, $name) as $priority => $listeners) {
                $listOfListenersByPriority[$priority][] = $listeners;
            }
        }
 
        // Sort by priority in reverse order
        krsort($listOfListenersByPriority);
 
        // Initial value of stop propagation flag should be false
        $event->stopPropagation(false);
 
        // Execute listeners
        $responses = new ResponseCollection();
        foreach ($listOfListenersByPriority as $listOfListeners) {
            foreach ($listOfListeners as $listeners) {
                foreach ($listeners as $listener) {
                    $response = $listener($event);
                    $responses->push($response);
 
                    // If the event was asked to stop propagating, do so
                    if ($event->propagationIsStopped()) {
                        $responses->setStopped(true);
                        return $responses;
                    }
 
                    // If the result causes our validation callback to return true,
                    // stop propagation
                    if ($callback && $callback($response)) {
                        $responses->setStopped(true);
                        return $responses;
                    }
                }
            }
        }
 
        return $responses;
    }
Arguments
  1. Laminas\Mvc\MvcEvent {#430}
    
            $event->setParams($argv);
        }
 
        return $this->triggerListeners($event, $callback);
    }
 
    /**
     * @inheritDoc
     */
    public function triggerEvent(EventInterface $event)
    {
        return $this->triggerListeners($event);
    }
 
    /**
     * @inheritDoc
     */
    public function triggerEventUntil(callable $callback, EventInterface $event)
    {
        return $this->triggerListeners($event, $callback);
    }
 
    /**
     * @inheritDoc
     */
    public function attach($eventName, callable $listener, $priority = 1)
    {
        if (! is_string($eventName)) {
            throw new Exception\InvalidArgumentException(sprintf(
                '%s expects a string for the event; received %s',
                __METHOD__,
                is_object($eventName) ? $eventName::class : gettype($eventName)
            ));
        }
 
        $this->events[$eventName][(int) $priority][0][] = $listener;
        return $listener;
    }
 
    /**
Arguments
  1. Laminas\Mvc\MvcEvent {#430}
    
  2. Closure($r): bool {#2 …4}
    
            $response = $result->last();
            if ($response instanceof ResponseInterface) {
                $event->setName(MvcEvent::EVENT_FINISH);
                $event->setTarget($this);
                $event->setResponse($response);
                $event->stopPropagation(false); // Clear before triggering
                $events->triggerEvent($event);
                $this->response = $response;
                return $this;
            }
        }
 
        if ($event->getError()) {
            return $this->completeRequest($event);
        }
 
        // Trigger dispatch event
        $event->setName(MvcEvent::EVENT_DISPATCH);
        $event->stopPropagation(false); // Clear before triggering
        $result = $events->triggerEventUntil($shortCircuit, $event);
 
        // Complete response
        $response = $result->last();
        if ($response instanceof ResponseInterface) {
            $event->setName(MvcEvent::EVENT_FINISH);
            $event->setTarget($this);
            $event->setResponse($response);
            $event->stopPropagation(false); // Clear before triggering
            $events->triggerEvent($event);
            $this->response = $response;
            return $this;
        }
 
        $response = $this->response;
        $event->setResponse($response);
        return $this->completeRequest($event);
    }
 
    /**
     * Complete the request
Arguments
  1. Closure($r): bool {#2 …4}
    
  2. Laminas\Mvc\MvcEvent {#430}
    

    } catch(Exception $e) {

        //var_dump(debug_backtrace());

        $gtgggg=[];

        $gtgggg['err']=$e->getMessage();
        $gtgggg['line']=$e->getLine();
        $gtgggg['file']=$e->getFile();
        $gtgggg['trace']=$e->getTrace();
        $gtgggg['code']=$e->getCode();
        d($gtgggg);

    }


else:

    Application::init(require 'config/' . PROJECT_ID_STRING . '/application.config.php')->run();
endif;
 

Environment & details:

empty
empty
empty
empty
Key Value
__Laminas
array:2 [
  "_REQUEST_ACCESS_TIME" => 1710829201.2881
  "_VALID" => array:1 [
    "Laminas\Session\Validator\Id" => "6bdecfd91bc3c0e8a7ce6fcccc26a18b"
  ]
]
user
Laminas\Stdlib\ArrayObject {#666}
Key Value
APPLICATION_ENV
"production"
CONTEXT_DOCUMENT_ROOT
"/sites/dragoart/public_html/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/sites/dragoart/public_html/public"
GATEWAY_INTERFACE
"CGI/1.1"
H2PUSH
"off"
H2_PUSH
"off"
H2_PUSHED
""
H2_PUSHED_ON
""
H2_STREAM_ID
"3"
H2_STREAM_TAG
"4781-1333-3"
HTTP2
"on"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_HOST
"dragoart.com"
HTTP_REFERER
"https://drawinghub.com/tut/public/listing/"
HTTP_USER_AGENT
"claudebot"
HTTP_X_HTTPS
"1"
PATH
"/bin:/usr/bin"
PROJECT_ID_STRING
"drawingtutorials"
QUERY_STRING
""
REDIRECT_APPLICATION_ENV
"production"
REDIRECT_H2PUSH
"off"
REDIRECT_H2_PUSH
"off"
REDIRECT_H2_PUSHED
""
REDIRECT_H2_PUSHED_ON
""
REDIRECT_H2_STREAM_ID
"3"
REDIRECT_H2_STREAM_TAG
"4781-1333-3"
REDIRECT_HTTP2
"on"
REDIRECT_HTTPS
"on"
REDIRECT_PROJECT_ID_STRING
"drawingtutorials"
REDIRECT_SCRIPT_URI
"https://dragoart.com/tut/public/listing/"
REDIRECT_SCRIPT_URL
"/tut/public/listing/"
REDIRECT_SITE_SERVER_NAME
"https://dragoart.com"
REDIRECT_SSL_TLS_SNI
"dragoart.com"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"ZfkukVU7HZOj2j0g-InDEAABmBI"
REDIRECT_URL
"/tut/public/listing/"
REMOTE_ADDR
"44.222.149.13"
REMOTE_PORT
"54886"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_URI
"/tut/public/listing/"
SCRIPT_FILENAME
"/sites/dragoart/public_html/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://dragoart.com/tut/public/listing/"
SCRIPT_URL
"/tut/public/listing/"
SERVER_ADDR
"51.81.245.42"
SERVER_ADMIN
"webmaster@dragoart.com"
SERVER_NAME
"dragoart.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/2.0"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SITE_SERVER_NAME
"https://dragoart.com"
SSL_TLS_SNI
"dragoart.com"
TZ
"UTC"
UNIQUE_ID
"ZfkukVU7HZOj2j0g-InDEAABmBI"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1710829201.1739
REQUEST_TIME
1710829201
argv
[]
argc
0
empty
0. Whoops\Handler\PrettyPageHandler