Wpx \ Action \ Exceptions \ ActionNotFoundException
Action 'site.blog.posts' doesn't exists Wpx\Action\Exceptions\ActionNotFoundException thrown with message "Action 'site.blog.posts' doesn't exists" Stacktrace: #6 Wpx\Action\Exceptions\ActionNotFoundException in /var/www/u0064973/data/www/salusmed.ru/wpx/Action/Actions.php:58 #5 Wpx\Action\Actions:perform in /var/www/u0064973/data/www/salusmed.ru/wpx/Action/Actions.php:69 #4 Wpx\Action\Actions:run in /var/www/u0064973/data/www/salusmed.ru/wpx/Action/functions.php:5 #3 action in /var/www/u0064973/data/www/salusmed.ru/public/wp-content/themes/site/archive.php:3 #2 include in /var/www/u0064973/data/www/salusmed.ru/public/wp-includes/template-loader.php:106 #1 require_once in /var/www/u0064973/data/www/salusmed.ru/public/wp-blog-header.php:19 #0 require in /var/www/u0064973/data/www/salusmed.ru/public/index.php:17
Stack frames (7)
6
Wpx\Action\Exceptions\ActionNotFoundException
/wpx/Action/Actions.php58
5
Wpx\Action\Actions perform
/wpx/Action/Actions.php69
4
Wpx\Action\Actions run
/wpx/Action/functions.php5
3
action
/public/wp-content/themes/site/archive.php3
2
include
/public/wp-includes/template-loader.php106
1
require_once
/public/wp-blog-header.php19
0
require
/public/index.php17
/var/www/u0064973/data/www/salusmed.ru/wpx/Action/Actions.php
        return $this->map[$name];
    }

    /**
     * @param string $name
     * @return bool
     */
    public function exists($name)
    {
        return file_exists($this->getPathByName($name));
    }

    /**
     * @param string $name
     * @return mixed
     */
    public function perform($name)
    {
        if (!$this->exists($name)) {
            throw new ActionNotFoundException("Action '{$name}' doesn't exists");
        }
        $path = $this->getPathByName($name);
        return include $path;
    }

    /**
     * @param string $name
     */
    public function run($name)
    {
        $response = $this->perform($name);

        if ($response === null) {
            return;
        }

        if ($response instanceof Responsable) {
            $response = $response->toResponse(app()->provide('request'));
        } elseif ($response instanceof Htmlable) {
            $response = new Response($response->toHtml());
Arguments
  1. "Action 'site.blog.posts' doesn't exists"
    
/var/www/u0064973/data/www/salusmed.ru/wpx/Action/Actions.php

    /**
     * @param string $name
     * @return mixed
     */
    public function perform($name)
    {
        if (!$this->exists($name)) {
            throw new ActionNotFoundException("Action '{$name}' doesn't exists");
        }
        $path = $this->getPathByName($name);
        return include $path;
    }

    /**
     * @param string $name
     */
    public function run($name)
    {
        $response = $this->perform($name);

        if ($response === null) {
            return;
        }

        if ($response instanceof Responsable) {
            $response = $response->toResponse(app()->provide('request'));
        } elseif ($response instanceof Htmlable) {
            $response = new Response($response->toHtml());
            $response->headers->set('content-type', 'text/html');
        } elseif (is_string($response) || is_int($response) || is_float($response)) {
            $response = new Response(strval($response));
            $response->headers->set('content-type', 'text/html');
        } elseif (!($response instanceof Response) && (is_array($response) || is_object($response))) {
            $response = json_encode($response, JSON_UNESCAPED_UNICODE);
            $response = new Response($response);
            $response->headers->set('content-type', 'application/json');
        }

        if (!($response instanceof Response)) {
Arguments
  1. "site.blog.posts"
    
/var/www/u0064973/data/www/salusmed.ru/wpx/Action/functions.php
<?php

function action($name)
{
    app()->provide('actions')->run($name);
}
 
Arguments
  1. "site.blog.posts"
    
/var/www/u0064973/data/www/salusmed.ru/public/wp-content/themes/site/archive.php
<?php

action('site.blog.posts');
 
Arguments
  1. "site.blog.posts"
    
/var/www/u0064973/data/www/salusmed.ru/public/wp-includes/template-loader.php
            }
 
            break;
        }
    }
 
    if ( ! $template ) {
        $template = get_index_template();
    }
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    $template = apply_filters( 'template_include', $template );
    if ( $template ) {
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
Arguments
  1. "/var/www/u0064973/data/www/salusmed.ru/public/wp-content/themes/site/archive.php"
    
/var/www/u0064973/data/www/salusmed.ru/public/wp-blog-header.php
<?php
/**
 * Loads the WordPress environment and template.
 *
 * @package WordPress
 */
 
if ( ! isset( $wp_did_header ) ) {
 
    $wp_did_header = true;
 
    // Load the WordPress library.
    require_once __DIR__ . '/wp-load.php';
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
Arguments
  1. "/var/www/u0064973/data/www/salusmed.ru/public/wp-includes/template-loader.php"
    
/var/www/u0064973/data/www/salusmed.ru/public/index.php
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define( 'WP_USE_THEMES', true );
 
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
 
Arguments
  1. "/var/www/u0064973/data/www/salusmed.ru/public/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 Phusion_Passenger/6.0.22"
REQUEST_URI
"/author/root/"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
SCRIPT_NAME
"/index.php"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/author/root/"
REMOTE_PORT
"45466"
SCRIPT_FILENAME
"/var/www/u0064973/data/www/salusmed.ru/public/index.php"
SERVER_ADMIN
"webmaster@salusmed.ru"
CONTEXT_DOCUMENT_ROOT
"/var/www/u0064973/data/www/salusmed.ru/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/u0064973/data/www/salusmed.ru/public"
REMOTE_ADDR
"18.97.14.90"
SERVER_PORT
"443"
SERVER_ADDR
"127.0.0.1"
SERVER_NAME
"salusmed.ru"
SERVER_SIGNATURE
""
HTTP_ACCEPT_ENCODING
"br,gzip"
HTTP_IF_MODIFIED_SINCE
"Thu, 12 Sep 2024 16:54:27 GMT"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
HTTP_CONNECTION
"close"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_HOST
"salusmed.ru"
HTTP_AUTHORIZATION
""
PERL5LIB
"/usr/share/awstats/lib:/usr/share/awstats/plugins"
REQUEST_SCHEME
"https"
HTTPS
"on"
UNIQUE_ID
"Z0yqE@FVudaqfEkDPQFxcwAAAAI"
REDIRECT_STATUS
"200"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_PERL5LIB
"/usr/share/awstats/lib:/usr/share/awstats/plugins"
REDIRECT_REQUEST_SCHEME
"https"
REDIRECT_HTTPS
"on"
REDIRECT_UNIQUE_ID
"Z0yqE@FVudaqfEkDPQFxcwAAAAI"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1733077523.7029
REQUEST_TIME
1733077523
argv
[]
argc
0
Key Value
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
SCRIPT_NAME
"/index.php"
REQUEST_URI
"/author/root/"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/author/root/"
REMOTE_PORT
"45466"
SCRIPT_FILENAME
"/var/www/u0064973/data/www/salusmed.ru/public/index.php"
SERVER_ADMIN
"webmaster@salusmed.ru"
CONTEXT_DOCUMENT_ROOT
"/var/www/u0064973/data/www/salusmed.ru/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/u0064973/data/www/salusmed.ru/public"
REMOTE_ADDR
"18.97.14.90"
SERVER_PORT
"443"
SERVER_ADDR
"127.0.0.1"
SERVER_NAME
"salusmed.ru"
SERVER_SOFTWARE
"Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 Phusion_Passenger/6.0.22"
SERVER_SIGNATURE
""
HTTP_ACCEPT_ENCODING
"br,gzip"
HTTP_IF_MODIFIED_SINCE
"Thu, 12 Sep 2024 16:54:27 GMT"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
HTTP_CONNECTION
"close"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_HOST
"salusmed.ru"
HTTP_AUTHORIZATION
""
PERL5LIB
"/usr/share/awstats/lib:/usr/share/awstats/plugins"
REQUEST_SCHEME
"https"
HTTPS
"on"
UNIQUE_ID
"Z0yqE@FVudaqfEkDPQFxcwAAAAI"
REDIRECT_STATUS
"200"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_PERL5LIB
"/usr/share/awstats/lib:/usr/share/awstats/plugins"
REDIRECT_REQUEST_SCHEME
"https"
REDIRECT_HTTPS
"on"
REDIRECT_UNIQUE_ID
"Z0yqE@FVudaqfEkDPQFxcwAAAAI"
FCGI_ROLE
"RESPONDER"
0. Whoops\Handler\PrettyPageHandler