Zend_Controller_Action_Exception (404)
Action "productDiscussionReaction" does not exist and was not trapped in __call() Zend_Controller_Action_Exception thrown with message "Action "productDiscussionReaction" does not exist and was not trapped in __call()" Stacktrace: #7 Zend_Controller_Action_Exception in /home/slovart/live/releases/20240807140900/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php:485 #6 Zend_Controller_Action:__call in /home/slovart/live/releases/20240807140900/vendor/buxus/legacy-base/src/Buxus/Controller.php:27 #5 Buxus\Controller:dispatch in /home/slovart/live/releases/20240807140900/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php:310 #4 Zend_Controller_Dispatcher_Standard:dispatch in /home/slovart/live/releases/20240807140900/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php:954 #3 Zend_Controller_Front:dispatch in /home/slovart/live/releases/20240807140900/vendor/buxus/legacy-base/buxus/includes/generate_functions.php:151 #2 GeneratePage in /home/slovart/live/releases/20240807140900/vendor/buxus/core/src/handler/generate_page.php:47 #1 include in /home/slovart/live/releases/20240807140900/vendor/buxus/core/src/Buxus/Router/BuxusRouter.php:86 #0 Buxus\Router\BuxusRouter:dispatch in /home/slovart/live/releases/20240807140900/public/buxus.php:10
Stack frames (8)
7
Zend_Controller_Action_Exception
/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php485
6
Zend_Controller_Action __call
/vendor/buxus/legacy-base/src/Buxus/Controller.php27
5
Buxus\Controller dispatch
/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php310
4
Zend_Controller_Dispatcher_Standard dispatch
/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php954
3
Zend_Controller_Front dispatch
/vendor/buxus/legacy-base/buxus/includes/generate_functions.php151
2
GeneratePage
/vendor/buxus/core/src/handler/generate_page.php47
1
include
/vendor/buxus/core/src/Buxus/Router/BuxusRouter.php86
0
Buxus\Router\BuxusRouter dispatch
/public/buxus.php10
/home/slovart/live/releases/20240807140900/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php
    {
    }
 
    /**
     * Proxy for undefined methods.  Default behavior is to throw an
     * exception on undefined methods, however this function can be
     * overridden to implement magic (dynamic) actions, or provide run-time
     * dispatching.
     *
     * @param  string $methodName
     * @param  array $args
     * @return void
     * @throws Zend_Controller_Action_Exception
     */
    public function __call($methodName, $args)
    {
        require_once 'Zend/Controller/Action/Exception.php';
        if ('Action' == substr($methodName, -6)) {
            $action = substr($methodName, 0, strlen($methodName) - 6);
            throw new Zend_Controller_Action_Exception(sprintf('Action "%s" does not exist and was not trapped in __call()', $action), 404);
        }
 
        throw new Zend_Controller_Action_Exception(sprintf('Method "%s" does not exist and was not trapped in __call()', $methodName), 500);
    }
 
    /**
     * Dispatch the requested action
     *
     * @param string $action Method name of action
     * @return void
     */
    public function dispatch($action)
    {
        // Notify helpers of action preDispatch state
        $this->_helper->notifyPreDispatch();
 
        $this->preDispatch();
        if ($this->getRequest()->isDispatched()) {
            if (null === $this->_classMethods) {
                $this->_classMethods = get_class_methods($this);
Arguments
  1. "Action "productDiscussionReaction" does not exist and was not trapped in __call()"
    
/home/slovart/live/releases/20240807140900/vendor/buxus/legacy-base/src/Buxus/Controller.php
        $this->_helper->notifyPreDispatch();
 
        $this->preDispatch();
        if ($this->getRequest()->isDispatched()) {
            if (null === $this->_classMethods) {
                $this->_classMethods = get_class_methods($this);
            }
 
            // If pre-dispatch hooks introduced a redirect then stop dispatch
            // @see ZF-7496
            if (!($this->getResponse()->isRedirect())) {
                // preDispatch() didn't change the action, so we can continue
                if ($this->getInvokeArg('useCaseSensitiveActions') || in_array($action, $this->_classMethods)) {
                    if ($this->getInvokeArg('useCaseSensitiveActions')) {
                        trigger_error('Using case sensitive actions without word separators is deprecated; please do not rely on this "feature"');
                    }
 
                    app()->call(array($this, $action));
                } else {
                    $this->__call($action, array());
                }
            }
            $this->postDispatch();
        }
 
        // whats actually important here is that this action controller is
        // shutting down, regardless of dispatching; notify the helpers of this
        // state
        $this->_helper->notifyPostDispatch();
    }
}
/home/slovart/live/releases/20240807140900/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php
         * Retrieve the action name
         */
        $action = $this->getActionMethod($request);
 
        /**
         * Dispatch the method call
         */
        $request->setDispatched(true);
 
        // by default, buffer output
        $disableOb = $this->getParam('disableOutputBuffering');
        $obLevel   = ob_get_level();
        if (empty($disableOb)) {
            ob_start();
        }
 
        $actionResponse = null;
 
        try {
            $actionResponse = $controller->dispatch($action);
        } catch (Exception $e) {
            // Clean output buffer on error
            $curObLevel = ob_get_level();
            if ($curObLevel > $obLevel) {
                do {
                    ob_get_clean();
                    $curObLevel = ob_get_level();
                } while ($curObLevel > $obLevel);
            }
            throw $e;
        }
 
        if (empty($disableOb)) {
            $content = ob_get_clean();
            $response->appendBody($content);
        }
 
        // Destroy the page controller instance and reflection objects
        $controller = null;
 
/home/slovart/live/releases/20240807140900/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php
            do {
                $this->_request->setDispatched(true);
 
                /**
                 * Notify plugins of dispatch startup
                 */
                $this->_plugins->preDispatch($this->_request);
 
                /**
                 * Skip requested action if preDispatch() has reset it
                 */
                if (!$this->_request->isDispatched()) {
                    continue;
                }
 
                /**
                 * Dispatch request
                 */
                try {
                    $returnedResponse = $dispatcher->dispatch($this->_request, $this->_response);
 
                    if (is_object($returnedResponse)) {
                        return $returnedResponse;
                    }
                } catch (Exception $e) {
                    if ($this->throwExceptions()) {
                        throw $e;
                    }
                    $this->_response->setException($e);
                }
 
                /**
                 * Notify plugins of dispatch completion
                 */
                $this->_plugins->postDispatch($this->_request);
            } while (!$this->_request->isDispatched());
        } catch (Exception $e) {
            if ($this->throwExceptions()) {
                throw $e;
            }
/home/slovart/live/releases/20240807140900/vendor/buxus/legacy-base/buxus/includes/generate_functions.php
 
        // Set router
        $front->setRouter(new ControllerRouter());
 
        // Set controller and action
        $request = new Zend_Controller_Request_Http();
        $request->setControllerName($controller_name);
        $request->setActionName($controller_action);
 
        \Buxus\Event\BuxusEvent::fire(new \Buxus\Event\MvcStartedEvent());
 
        // add registered view helpers
        //$view = \Zend_Layout::getMvcInstance()->getView();
 
/*        $module_view_helper_paths = \Buxus\Module\BuxusModule::helperPaths();
        foreach ($module_view_helper_paths as $helper_path) {
            $view->addHelperPath($helper_path['path'], $helper_path['prefix']);
        }*/
 
        $front->dispatch($request);
    }
}
 
function CreateUrlForPageName ($page_name, $url_parameter="", $quotes = "'")
{
  global $as_static;
  $page_dsc = BuxusDB::get()->fetchAll("SELECT tblPages.page_id FROM tblPages WHERE tblPages.page_name = :page_name", array(':page_name' => $page_name));
  $i = 0;
  foreach($page_dsc as $page_row)
  {
    $page_id = $page_row["page_id"];
    $i++;
  }
  if ($i>1)
    //echo "What now? There are more than one unique page with given name.";
  if ($i == 0) { $page_id = 0; }
  if ($as_static != '')
    return ($quotes.GetSystemOption("C_static_url_prefix")."page_$page_id.htm".$url_parameter.$quotes);
  else
    return ($quotes.config('buxus_core.base_url')."generate_page.php?page_id=$page_id".$url_parameter.$quotes);
/home/slovart/live/releases/20240807140900/vendor/buxus/core/src/handler/generate_page.php
    $page_name = (isset($_GET['page_name']) ? $_GET['page_name'] : '');
        
    if (!empty($page_name)) {
        //funckia skonci, ak nenajde, alebo najde viac
        $page_id = GetPageIdByPageName($page_name);
    } else {
        if (!showCustomError('404')) {
            header('HTTP/1.0 404 Not Found');
              echo 'Wrong page ID specified.';
          }
          exit;
      }
} else {
    $wrong_page_id = C_True;
}
 
$_REQUEST['page_id'] = $page_id;
$_GET['page_id'] = $page_id;
 
GeneratePage($page_id);
 
\Buxus\Event\BuxusEvent::fire(new \Buxus\Event\FrontendRequestFinishedEvent());
 
exit;
/home/slovart/live/releases/20240807140900/vendor/buxus/core/src/Buxus/Router/BuxusRouter.php
            echo '<html><head><title>maintenance</title></head><body>This BUXUS application is undergoing maintenance. Please try again later</body></html>';
        } else {
            include $template_path;
        }
    }
 
    public function dispatch($request_uri) {
        if ($this->app->isDownForMaintenance()) {
            $this->display503();
            exit;
        }
 
        $script = $this->getScript($request_uri);
 
        foreach ($this->auto_scripts as $auto_script) {
            include($auto_script);
        }
 
        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;
    }
}
Arguments
  1. "/home/slovart/live/releases/20240807140900/vendor/buxus/core/src/handler/generate_page.php"
    
/home/slovart/live/releases/20240807140900/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';
 
require_once '../vendor/buxus/legacy-base/buxus/includes/database.php';
 
 
$router = app('buxus-router');
$router->dispatch($_SERVER['REQUEST_URI']);
 

Environment & details:

Key Value
page_id
9530
kniha
"10549"
prispevok
"4474"
empty
empty
Key Value
buxus_slovart_live
"olk94f0b44v5fq0rur9afj0fr6"
Key Value
buxus
array:2 [
  "buxus_lang" => "sk"
  "BUXUS_RUNNING" => null
]
empty
empty
0. Whoops\Handler\PrettyPageHandler