Whoops \ Exception \ ErrorException (E_WARNING)
A non-numeric value encountered Whoops\Exception\ErrorException thrown with message "A non-numeric value encountered" Stacktrace: #26 Whoops\Exception\ErrorException in /home/cyberdodo/public_html/htdocs/cms/wp-includes/SimplePie/Parse/Date.php:694 #25 Whoops\Run:handleError in /home/cyberdodo/public_html/htdocs/cms/wp-includes/SimplePie/Parse/Date.php:694 #24 SimplePie_Parse_Date:date_w3cdtf in /home/cyberdodo/public_html/htdocs/cms/wp-includes/SimplePie/Parse/Date.php:603 #23 SimplePie_Parse_Date:parse in /home/cyberdodo/public_html/htdocs/cms/wp-includes/SimplePie/Item.php:773 #22 SimplePie_Item:get_date in /home/cyberdodo/public_html/htdocs/cms/wp-includes/class-simplepie.php:2925 #21 SimplePie:get_items in /home/cyberdodo/public_html/htdocs/content/themes/18/resources/controllers/SingularController.php:132 #20 Theme\Controllers\SingularController:prepare_news in /home/cyberdodo/public_html/htdocs/content/themes/18/resources/controllers/SingularController.php:18 #19 call_user_func in /home/cyberdodo/public_html/htdocs/content/themes/18/resources/controllers/SingularController.php:18 #18 Theme\Controllers\SingularController:view in /home/cyberdodo/public_html/vendor/illuminate/routing/Controller.php:54 #17 call_user_func_array in /home/cyberdodo/public_html/vendor/illuminate/routing/Controller.php:54 #16 Illuminate\Routing\Controller:callAction in /home/cyberdodo/public_html/vendor/illuminate/routing/ControllerDispatcher.php:45 #15 Illuminate\Routing\ControllerDispatcher:dispatch in /home/cyberdodo/public_html/vendor/illuminate/routing/Route.php:212 #14 Illuminate\Routing\Route:runController in /home/cyberdodo/public_html/vendor/illuminate/routing/Route.php:169 #13 Illuminate\Routing\Route:run in /home/cyberdodo/public_html/vendor/illuminate/routing/Router.php:682 #12 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /home/cyberdodo/public_html/vendor/illuminate/routing/Pipeline.php:30 #11 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/cyberdodo/public_html/vendor/illuminate/pipeline/Pipeline.php:104 #10 Illuminate\Pipeline\Pipeline:then in /home/cyberdodo/public_html/vendor/illuminate/routing/Router.php:684 #9 Illuminate\Routing\Router:runRouteWithinStack in /home/cyberdodo/public_html/vendor/illuminate/routing/Router.php:659 #8 Illuminate\Routing\Router:runRoute in /home/cyberdodo/public_html/vendor/illuminate/routing/Router.php:625 #7 Illuminate\Routing\Router:dispatchToRoute in /home/cyberdodo/public_html/vendor/illuminate/routing/Router.php:614 #6 Illuminate\Routing\Router:dispatch in /home/cyberdodo/public_html/htdocs/content/mu-plugins/themosis-framework/themosis.php:292 #5 Themosis:setRouter in /home/cyberdodo/public_html/htdocs/cms/wp-includes/class-wp-hook.php:287 #4 WP_Hook:apply_filters in /home/cyberdodo/public_html/htdocs/cms/wp-includes/class-wp-hook.php:311 #3 WP_Hook:do_action in /home/cyberdodo/public_html/htdocs/cms/wp-includes/plugin.php:478 #2 do_action in /home/cyberdodo/public_html/htdocs/cms/wp-includes/template-loader.php:13 #1 require_once in /home/cyberdodo/public_html/htdocs/cms/wp-blog-header.php:19 #0 require in /home/cyberdodo/public_html/htdocs/index.php:11
Stack frames (27)
26
Whoops
\
Exception
\
ErrorException
/
htdocs
/
cms
/
wp-includes
/
SimplePie
/
Parse
/
Date.php
694
25
Whoops
\
Run
handleError
/
htdocs
/
cms
/
wp-includes
/
SimplePie
/
Parse
/
Date.php
694
24
SimplePie_Parse_Date
date_w3cdtf
/
htdocs
/
cms
/
wp-includes
/
SimplePie
/
Parse
/
Date.php
603
23
SimplePie_Parse_Date
parse
/
htdocs
/
cms
/
wp-includes
/
SimplePie
/
Item.php
773
22
SimplePie_Item
get_date
/
htdocs
/
cms
/
wp-includes
/
class-simplepie.php
2925
21
SimplePie
get_items
/
htdocs
/
content
/
themes
/
18
/
resources
/
controllers
/
SingularController.php
132
20
Theme
\
Controllers
\
SingularController
prepare_news
/
htdocs
/
content
/
themes
/
18
/
resources
/
controllers
/
SingularController.php
18
19
call_user_func
/
htdocs
/
content
/
themes
/
18
/
resources
/
controllers
/
SingularController.php
18
18
Theme
\
Controllers
\
SingularController
view
/
vendor
/
illuminate
/
routing
/
Controller.php
54
17
call_user_func_array
/
vendor
/
illuminate
/
routing
/
Controller.php
54
16
Illuminate
\
Routing
\
Controller
callAction
/
vendor
/
illuminate
/
routing
/
ControllerDispatcher.php
45
15
Illuminate
\
Routing
\
ControllerDispatcher
dispatch
/
vendor
/
illuminate
/
routing
/
Route.php
212
14
Illuminate
\
Routing
\
Route
runController
/
vendor
/
illuminate
/
routing
/
Route.php
169
13
Illuminate
\
Routing
\
Route
run
/
vendor
/
illuminate
/
routing
/
Router.php
682
12
Illuminate
\
Routing
\
Router
Illuminate
\
Routing
\
{closure}
/
vendor
/
illuminate
/
routing
/
Pipeline.php
30
11
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
illuminate
/
pipeline
/
Pipeline.php
104
10
Illuminate
\
Pipeline
\
Pipeline
then
/
vendor
/
illuminate
/
routing
/
Router.php
684
9
Illuminate
\
Routing
\
Router
runRouteWithinStack
/
vendor
/
illuminate
/
routing
/
Router.php
659
8
Illuminate
\
Routing
\
Router
runRoute
/
vendor
/
illuminate
/
routing
/
Router.php
625
7
Illuminate
\
Routing
\
Router
dispatchToRoute
/
vendor
/
illuminate
/
routing
/
Router.php
614
6
Illuminate
\
Routing
\
Router
dispatch
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
themosis.php
292
5
Themosis
setRouter
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
287
4
WP_Hook
apply_filters
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
311
3
WP_Hook
do_action
/
htdocs
/
cms
/
wp-includes
/
plugin.php
478
2
do_action
/
htdocs
/
cms
/
wp-includes
/
template-loader.php
13
1
require_once
/
htdocs
/
cms
/
wp-blog-header.php
19
0
require
/
htdocs
/
index.php
11
/
home
/
cyberdodo
/
public_html
/
htdocs
/
cms
/
wp-includes
/
SimplePie
/
Parse
/
Date.php
                $match[$i] = '0';
            }
 
            // Numeric timezone
            if (isset($match[9]) && $match[9] !== '')
            {
                $timezone = $match[10] * 3600;
                $timezone += $match[11] * 60;
                if ($match[9] === '-')
                {
                    $timezone = 0 - $timezone;
                }
            }
            else
            {
                $timezone = 0;
            }
 
            // Convert the number of seconds to an integer, taking decimals into account
            $second = round($match[6] + $match[7] / pow(10, strlen($match[7])));
 
            return gmmktime($match[4], $match[5], $second, $match[2], $match[3], $match[1]) - $timezone;
        }
        else
        {
            return false;
        }
    }
 
    /**
     * Remove RFC822 comments
     *
     * @access protected
     * @param string $data Data to strip comments from
     * @return string Comment stripped string
     */
    public function remove_rfc2822_comments($string)
    {
        $string = (string) $string;
        $position = 0;
/
home
/
cyberdodo
/
public_html
/
htdocs
/
cms
/
wp-includes
/
SimplePie
/
Parse
/
Date.php
                $match[$i] = '0';
            }
 
            // Numeric timezone
            if (isset($match[9]) && $match[9] !== '')
            {
                $timezone = $match[10] * 3600;
                $timezone += $match[11] * 60;
                if ($match[9] === '-')
                {
                    $timezone = 0 - $timezone;
                }
            }
            else
            {
                $timezone = 0;
            }
 
            // Convert the number of seconds to an integer, taking decimals into account
            $second = round($match[6] + $match[7] / pow(10, strlen($match[7])));
 
            return gmmktime($match[4], $match[5], $second, $match[2], $match[3], $match[1]) - $timezone;
        }
        else
        {
            return false;
        }
    }
 
    /**
     * Remove RFC822 comments
     *
     * @access protected
     * @param string $data Data to strip comments from
     * @return string Comment stripped string
     */
    public function remove_rfc2822_comments($string)
    {
        $string = (string) $string;
        $position = 0;
/
home
/
cyberdodo
/
public_html
/
htdocs
/
cms
/
wp-includes
/
SimplePie
/
Parse
/
Date.php
     * Parse a date
     *
     * @final
     * @access public
     * @param string $date Date to parse
     * @return int Timestamp corresponding to date string, or false on failure
     */
    public function parse($date)
    {
        foreach ($this->user as $method)
        {
            if (($returned = call_user_func($method, $date)) !== false)
            {
                return $returned;
            }
        }
 
        foreach ($this->built_in as $method)
        {
            if (($returned = call_user_func(array($this, $method), $date)) !== false)
            {
                return $returned;
            }
        }
 
        return false;
    }
 
    /**
     * Add a callback method to parse a date
     *
     * @final
     * @access public
     * @param callable $callback
     */
    public function add_callback($callback)
    {
        if (is_callable($callback))
        {
            $this->user[] = $callback;
/
home
/
cyberdodo
/
public_html
/
htdocs
/
cms
/
wp-includes
/
SimplePie
/
Item.php
            {
                $this->data['date']['raw'] = $return[0]['data'];
            }
            elseif ($return = $this->get_item_tags(SIMPLEPIE_NAMESPACE_RSS_20, 'pubDate'))
            {
                $this->data['date']['raw'] = $return[0]['data'];
            }
            elseif ($return = $this->get_item_tags(SIMPLEPIE_NAMESPACE_DC_11, 'date'))
            {
                $this->data['date']['raw'] = $return[0]['data'];
            }
            elseif ($return = $this->get_item_tags(SIMPLEPIE_NAMESPACE_DC_10, 'date'))
            {
                $this->data['date']['raw'] = $return[0]['data'];
            }
 
            if (!empty($this->data['date']['raw']))
            {
                $parser = $this->registry->call('Parse_Date', 'get');
                $this->data['date']['parsed'] = $parser->parse($this->data['date']['raw']);
            }
            else
            {
                $this->data['date'] = null;
            }
        }
        if ($this->data['date'])
        {
            $date_format = (string) $date_format;
            switch ($date_format)
            {
                case '':
                    return $this->sanitize($this->data['date']['raw'], SIMPLEPIE_CONSTRUCT_TEXT);
 
                case 'U':
                    return $this->data['date']['parsed'];
 
                default:
                    return date($date_format, $this->data['date']['parsed']);
            }
/
home
/
cyberdodo
/
public_html
/
htdocs
/
cms
/
wp-includes
/
class-simplepie.php
                    $keys = array_keys($items);
                    foreach ($keys as $key)
                    {
                        $this->data['items'][] = $this->registry->create('Item', array($this, $items[$key]));
                    }
                }
            }
        }
 
        if (!empty($this->data['items']))
        {
            // If we want to order it by date, check if all items have a date, and then sort it
            if ($this->order_by_date && empty($this->multifeed_objects))
            {
                if (!isset($this->data['ordered_items']))
                {
                    $do_sort = true;
                    foreach ($this->data['items'] as $item)
                    {
                        if (!$item->get_date('U'))
                        {
                            $do_sort = false;
                            break;
                        }
                    }
                    $item = null;
                    $this->data['ordered_items'] = $this->data['items'];
                    if ($do_sort)
                    {
                        usort($this->data['ordered_items'], array(get_class($this), 'sort_items'));
                    }
                }
                $items = $this->data['ordered_items'];
            }
            else
            {
                $items = $this->data['items'];
            }
 
            // Slice the data as desired
/
home
/
cyberdodo
/
public_html
/
htdocs
/
content
/
themes
/
18
/
resources
/
controllers
/
SingularController.php
 
        if (strpos($high_url_video, '/fr_FR/_2') !== false) {
            $high_url_video = str_replace('Fr_', 'Fr_HTML5_', $high_url_video);
            $low_url_video = str_replace('Fr_', 'Fr_HTML5_', $low_url_video);
        }
 
        $content->high_url_video = '/' . $high_url_video;
        $content->low_url_video = '/' . $low_url_video;
 
        return $content;
    }
 
    protected function prepare_news(\WP_Post $content)
    {
        require_once( ABSPATH . WPINC . '/feed.php' );
        $feed_url = $content->url;
        $rss = fetch_feed($feed_url);
 
        if (!is_wp_error($rss)) {
            $rss_items = $rss->get_items();
 
            $content->news = $rss_items;
        }
 
        return $content;
    }
 
    protected function prepare_ecard(\WP_Post $content)
    {
        $attachment         = get_post(get_post_meta($content->ID, 'flash', true));
        $file               = get_attached_file($attachment->ID);
        $ecard_url          = substr($file, strpos($file, "/content") + 1);
        $content->ecard_url = '/' . $ecard_url;
 
        return $content;
    }
}
 
/
home
/
cyberdodo
/
public_html
/
htdocs
/
content
/
themes
/
18
/
resources
/
controllers
/
SingularController.php
<?php
 
namespace Theme\Controllers;
 
use Themosis\Facades\Asset;
use Themosis\Route\BaseController;
 
class SingularController extends BaseController
{
    public function view()
    {
        $content = get_post();
 
        $content->meta = get_post_meta($content->ID);
 
        $prepareMethod = 'prepare_' . $content->post_type;
        if (method_exists($this, $prepareMethod)) {
            $content = call_user_func([$this, $prepareMethod], $content);
        }
 
        $view = 'singular';
 
        if (in_array($content->post_type, ['game', 'news', 'video', 'topflop', 'partner', 'quiz', 'ecard', 'folder', 'cartoon', 'tournament'])) {
            $view = 'singular-' . $content->post_type;
        }
 
        if ($content->template) {
            $view = $content->template;
        }
 
        if (in_array($content->post_type, ['page']) ) {
            $view = 'page';
            if (get_page_template_slug()) {
                $view = 'page/' . get_page_template_slug();
            }
        }
 
        if (in_array($content->post_name, ['sitemap', 'plan-du-site']) ) {
            $view = 'page/sitemap_home';
        }
/
home
/
cyberdodo
/
public_html
/
htdocs
/
content
/
themes
/
18
/
resources
/
controllers
/
SingularController.php
<?php
 
namespace Theme\Controllers;
 
use Themosis\Facades\Asset;
use Themosis\Route\BaseController;
 
class SingularController extends BaseController
{
    public function view()
    {
        $content = get_post();
 
        $content->meta = get_post_meta($content->ID);
 
        $prepareMethod = 'prepare_' . $content->post_type;
        if (method_exists($this, $prepareMethod)) {
            $content = call_user_func([$this, $prepareMethod], $content);
        }
 
        $view = 'singular';
 
        if (in_array($content->post_type, ['game', 'news', 'video', 'topflop', 'partner', 'quiz', 'ecard', 'folder', 'cartoon', 'tournament'])) {
            $view = 'singular-' . $content->post_type;
        }
 
        if ($content->template) {
            $view = $content->template;
        }
 
        if (in_array($content->post_type, ['page']) ) {
            $view = 'page';
            if (get_page_template_slug()) {
                $view = 'page/' . get_page_template_slug();
            }
        }
 
        if (in_array($content->post_name, ['sitemap', 'plan-du-site']) ) {
            $view = 'page/sitemap_home';
        }
/
home
/
cyberdodo
/
public_html
/
vendor
/
illuminate
/
routing
/
Controller.php
    /**
     * Get the middleware assigned to the controller.
     *
     * @return array
     */
    public function getMiddleware()
    {
        return $this->middleware;
    }
 
    /**
     * Execute an action on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function callAction($method, $parameters)
    {
        return call_user_func_array([$this, $method], $parameters);
    }
 
    /**
     * Handle calls to missing methods on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return mixed
     *
     * @throws \BadMethodCallException
     */
    public function __call($method, $parameters)
    {
        throw new BadMethodCallException(sprintf(
            'Method %s::%s does not exist.', static::class, $method
        ));
    }
}
 
/
home
/
cyberdodo
/
public_html
/
vendor
/
illuminate
/
routing
/
Controller.php
    /**
     * Get the middleware assigned to the controller.
     *
     * @return array
     */
    public function getMiddleware()
    {
        return $this->middleware;
    }
 
    /**
     * Execute an action on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function callAction($method, $parameters)
    {
        return call_user_func_array([$this, $method], $parameters);
    }
 
    /**
     * Handle calls to missing methods on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return mixed
     *
     * @throws \BadMethodCallException
     */
    public function __call($method, $parameters)
    {
        throw new BadMethodCallException(sprintf(
            'Method %s::%s does not exist.', static::class, $method
        ));
    }
}
 
/
home
/
cyberdodo
/
public_html
/
vendor
/
illuminate
/
routing
/
ControllerDispatcher.php
    {
        $this->container = $container;
    }
 
    /**
     * Dispatch a request to a given controller and method.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  mixed  $controller
     * @param  string  $method
     * @return mixed
     */
    public function dispatch(Route $route, $controller, $method)
    {
        $parameters = $this->resolveClassMethodDependencies(
            $route->parametersWithoutNulls(), $controller, $method
        );
 
        if (method_exists($controller, 'callAction')) {
            return $controller->callAction($method, $parameters);
        }
 
        return $controller->{$method}(...array_values($parameters));
    }
 
    /**
     * Get the middleware for the controller instance.
     *
     * @param  \Illuminate\Routing\Controller  $controller
     * @param  string  $method
     * @return array
     */
    public function getMiddleware($controller, $method)
    {
        if (! method_exists($controller, 'getMiddleware')) {
            return [];
        }
 
        return collect($controller->getMiddleware())->reject(function ($data) use ($method) {
            return static::methodExcludedByOptions($method, $data['options']);
/
home
/
cyberdodo
/
public_html
/
vendor
/
illuminate
/
routing
/
Route.php
    protected function runCallable()
    {
        $callable = $this->action['uses'];
 
        return $callable(...array_values($this->resolveMethodDependencies(
            $this->parametersWithoutNulls(), new ReflectionFunction($this->action['uses'])
        )));
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     *
     * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
     */
    protected function runController()
    {
        return $this->controllerDispatcher()->dispatch(
            $this, $this->getController(), $this->getControllerMethod()
        );
    }
 
    /**
     * Get the controller instance for the route.
     *
     * @return mixed
     */
    public function getController()
    {
        if (! $this->controller) {
            $class = $this->parseControllerCallback()[0];
 
            $this->controller = $this->container->make(ltrim($class, '\\'));
        }
 
        return $this->controller;
    }
 
    /**
/
home
/
cyberdodo
/
public_html
/
vendor
/
illuminate
/
routing
/
Route.php
     *
     * @throws \UnexpectedValueException
     */
    protected function parseAction($action)
    {
        return RouteAction::parse($this->uri, $action);
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     */
    public function run()
    {
        $this->container = $this->container ?: new Container;
 
        try {
            if ($this->isControllerAction()) {
                return $this->runController();
            }
 
            return $this->runCallable();
        } catch (HttpResponseException $e) {
            return $e->getResponse();
        }
    }
 
    /**
     * Checks whether the route's action is a controller.
     *
     * @return bool
     */
    protected function isControllerAction()
    {
        return is_string($this->action['uses']);
    }
 
    /**
     * Run the route action and return the response.
/
home
/
cyberdodo
/
public_html
/
vendor
/
illuminate
/
routing
/
Router.php
    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
                        ->then(function ($request) use ($route) {
                            return $this->prepareResponse(
                                $request, $route->run()
                            );
                        });
    }
 
    /**
     * Gather the middleware for the given route with resolved class names.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return array
     */
    public function gatherRouteMiddleware(Route $route)
    {
        $middleware = collect($route->gatherMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten();
 
        return $this->sortMiddleware($middleware);
    }
 
    /**
/
home
/
cyberdodo
/
public_html
/
vendor
/
illuminate
/
routing
/
Pipeline.php
use Symfony\Component\Debug\Exception\FatalThrowableError;
 
/**
 * This extended pipeline catches any exceptions that occur during each slice.
 *
 * The exceptions are converted to HTTP responses for proper middleware handling.
 */
class Pipeline extends BasePipeline
{
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            try {
                return $destination($passable);
            } catch (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($e));
            }
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function carry()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::carry();
 
/
home
/
cyberdodo
/
public_html
/
vendor
/
illuminate
/
pipeline
/
Pipeline.php
    public function via($method)
    {
        $this->method = $method;
 
        return $this;
    }
 
    /**
     * Run the pipeline with a final destination callback.
     *
     * @param  \Closure  $destination
     * @return mixed
     */
    public function then(Closure $destination)
    {
        $pipeline = array_reduce(
            array_reverse($this->pipes), $this->carry(), $this->prepareDestination($destination)
        );
 
        return $pipeline($this->passable);
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            return $destination($passable);
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
/
home
/
cyberdodo
/
public_html
/
vendor
/
illuminate
/
routing
/
Router.php
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
                        ->then(function ($request) use ($route) {
                            return $this->prepareResponse(
                                $request, $route->run()
                            );
                        });
    }
 
    /**
     * Gather the middleware for the given route with resolved class names.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return array
     */
    public function gatherRouteMiddleware(Route $route)
    {
        $middleware = collect($route->gatherMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten();
 
        return $this->sortMiddleware($middleware);
    }
 
    /**
     * Sort the given middleware by priority.
     *
/
home
/
cyberdodo
/
public_html
/
vendor
/
illuminate
/
routing
/
Router.php
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Routing\Route  $route
     * @return mixed
     */
    protected function runRoute(Request $request, Route $route)
    {
        $request->setRouteResolver(function () use ($route) {
            return $route;
        });
 
        $this->events->dispatch(new Events\RouteMatched($route, $request));
 
        return $this->prepareResponse($request,
            $this->runRouteWithinStack($route, $request)
        );
    }
 
    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
/
home
/
cyberdodo
/
public_html
/
vendor
/
illuminate
/
routing
/
Router.php
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        return $this->dispatchToRoute($request);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    public function dispatchToRoute(Request $request)
    {
        return $this->runRoute($request, $this->findRoute($request));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
    {
        $this->current = $route = $this->routes->match($request);
 
        $this->container->instance(Route::class, $route);
 
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
/
home
/
cyberdodo
/
public_html
/
vendor
/
illuminate
/
routing
/
Router.php
     * @return mixed
     */
    public function respondWithRoute($name)
    {
        $route = tap($this->routes->getByName($name))->bind($this->currentRequest);
 
        return $this->runRoute($this->currentRequest, $route);
    }
 
    /**
     * Dispatch the request to the application.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        return $this->dispatchToRoute($request);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    public function dispatchToRoute(Request $request)
    {
        return $this->runRoute($request, $this->findRoute($request));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
/
home
/
cyberdodo
/
public_html
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
themosis.php
             * Register framework assets.
             */
            $this->container['asset']->add('themosis-core-styles', 'css/_themosisCore.css', ['wp-color-picker'])->to('admin');
            $this->container['asset']->add('themosis-core-scripts', 'js/_themosisCore.js', ['jquery', 'jquery-ui-sortable', 'underscore', 'backbone', 'mce-view', 'wp-color-picker'], '1.3.0', true)->to('admin');
        }
 
        /**
         * Hook into front-end routing.
         * Setup the router API to be executed before
         * theme default templates.
         */
        public function setRouter()
        {
            if (is_feed() || is_comment_feed()) {
                return;
            }
 
            try {
                $request = $this->container['request'];
                $response = $this->container['router']->dispatch($request);
 
                // We only send back the content because, headers are already defined
                // by WordPress internals.
                $response->sendContent();
            } catch (\Symfony\Component\HttpKernel\Exception\NotFoundHttpException $exception) {
                /*
                 * Fallback to WordPress templates.
                 */
            }
        }
 
        /**
         * Enqueue Admin scripts.
         */
        public function adminEnqueueScripts()
        {
            /*
             * Make sure the media scripts are always enqueued.
             */
            wp_enqueue_media();
/
home
/
cyberdodo
/
public_html
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
 
        $nesting_level = $this->nesting_level++;
 
        $this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
        $num_args                           = count( $args );
 
        do {
            $this->current_priority[ $nesting_level ] = current( $this->iterations[ $nesting_level ] );
            $priority                                 = $this->current_priority[ $nesting_level ];
 
            foreach ( $this->callbacks[ $priority ] as $the_ ) {
                if ( ! $this->doing_action ) {
                    $args[0] = $value;
                }
 
                // Avoid the array_slice() if possible.
                if ( 0 == $the_['accepted_args'] ) {
                    $value = call_user_func( $the_['function'] );
                } elseif ( $the_['accepted_args'] >= $num_args ) {
                    $value = call_user_func_array( $the_['function'], $args );
                } else {
                    $value = call_user_func_array( $the_['function'], array_slice( $args, 0, (int) $the_['accepted_args'] ) );
                }
            }
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        $this->nesting_level--;
 
        return $value;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @param array $args Parameters to pass to the callback functions.
/
home
/
cyberdodo
/
public_html
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        $this->nesting_level--;
 
        return $value;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @param array $args Parameters to pass to the callback functions.
     */
    public function do_action( $args ) {
        $this->doing_action = true;
        $this->apply_filters( '', $args );
 
        // If there are recursive calls to the current action, we haven't finished it until we get to the last one.
        if ( ! $this->nesting_level ) {
            $this->doing_action = false;
        }
    }
 
    /**
     * Processes the functions hooked into the 'all' hook.
     *
     * @since 4.7.0
     *
     * @param array $args Arguments to pass to the hook callbacks. Passed by reference.
     */
    public function do_all_hook( &$args ) {
        $nesting_level                      = $this->nesting_level++;
        $this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
 
        do {
            $priority = current( $this->iterations[ $nesting_level ] );
/
home
/
cyberdodo
/
public_html
/
htdocs
/
cms
/
wp-includes
/
plugin.php
 
    if ( ! isset( $wp_filter[ $tag ] ) ) {
        if ( isset( $wp_filter['all'] ) ) {
            array_pop( $wp_current_filter );
        }
        return;
    }
 
    if ( ! isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $tag;
    }
 
    if ( empty( $arg ) ) {
        $arg[] = '';
    } elseif ( is_array( $arg[0] ) && 1 === count( $arg[0] ) && isset( $arg[0][0] ) && is_object( $arg[0][0] ) ) {
        // Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`.
        $arg[0] = $arg[0][0];
    }
 
    $wp_filter[ $tag ]->do_action( $arg );
 
    array_pop( $wp_current_filter );
}
 
/**
 * Retrieve the number of times an action is fired.
 *
 * @since 2.1.0
 *
 * @global array $wp_actions Increments the amount of times action was triggered.
 *
 * @param string $tag The name of the action hook.
 * @return int The number of times action hook $tag is fired.
 */
function did_action( $tag ) {
    global $wp_actions;
 
    if ( ! isset( $wp_actions[ $tag ] ) ) {
        return 0;
    }
/
home
/
cyberdodo
/
public_html
/
htdocs
/
cms
/
wp-includes
/
template-loader.php
<?php
/**
 * Loads the correct template based on the visitor's url
 *
 * @package WordPress
 */
if ( wp_using_themes() ) {
    /**
     * Fires before determining which template to load.
     *
     * @since 1.5.0
     */
    do_action( 'template_redirect' );
}
 
/**
 * Filters whether to allow 'HEAD' requests to generate content.
 *
 * Provides a significant performance bump by exiting before the page
 * content loads for 'HEAD' requests. See #14348.
 *
 * @since 3.5.0
 *
 * @param bool $exit Whether to exit without generating any content for 'HEAD' requests. Default true.
 */
if ( 'HEAD' === $_SERVER['REQUEST_METHOD'] && apply_filters( 'exit_on_http_head', true ) ) {
    exit();
}
 
// Process feeds and trackbacks even if not using themes.
if ( is_robots() ) {
    /**
     * Fired when the template loader determines a robots.txt request.
     *
     * @since 2.1.0
     */
    do_action( 'do_robots' );
    return;
} elseif ( is_favicon() ) {
    /**
/
home
/
cyberdodo
/
public_html
/
htdocs
/
cms
/
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';
 
}
 
/
home
/
cyberdodo
/
public_html
/
htdocs
/
index.php
<?php
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define('WP_USE_THEMES', true);
 
/** Loads the WordPress Environment and Template */
require dirname(__FILE__).'/cms/wp-blog-header.php';
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE Apache
REQUEST_URI /en/news/yahoo-news-2/
PHP_FCGI_MAX_REQUESTS 99999
PHPRC /home/cyberdodo/fcgi-bin/../etc/php7.3
PWD /home/cyberdodo/fcgi-bin
SHLVL 0
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
CONTENT_LENGTH 0
HTTP_CONNECTION close
SCRIPT_NAME /index.php
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /en/news/yahoo-news-2/
REMOTE_PORT 56682
SCRIPT_FILENAME /home/cyberdodo/public_html/htdocs/index.php
SERVER_ADMIN [no address given]
CONTEXT_DOCUMENT_ROOT /home/cyberdodo/public_html/htdocs
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /home/cyberdodo/public_html/htdocs
REMOTE_ADDR 34.229.239.82
SERVER_PORT 80
SERVER_ADDR 94.23.8.213
SERVER_NAME cyberdodo.com
SERVER_SIGNATURE
HTTP_HOST cyberdodo.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
SCRIPT_URI http://cyberdodo.com/en/news/yahoo-news-2/
SCRIPT_URL /en/news/yahoo-news-2/
REDIRECT_STATUS 200
REDIRECT_SCRIPT_URI http://cyberdodo.com/en/news/yahoo-news-2/
REDIRECT_SCRIPT_URL /en/news/yahoo-news-2/
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711696249.8784
REQUEST_TIME 1711696249
DB_NAME cyberdodo_main
DB_USER cyberdodo
DB_PASSWORD JvZxRWK28e2I
DB_HOST localhost
WP_HOME https://cyberdodo.com
WP_SITEURL https://cyberdodo.com/cms
Key Value
DB_NAME cyberdodo_main
DB_USER cyberdodo
DB_PASSWORD JvZxRWK28e2I
DB_HOST localhost
WP_HOME https://cyberdodo.com
WP_SITEURL https://cyberdodo.com/cms
0. Whoops\Handler\PrettyPageHandler