ErrorException (E_ERROR)
Invalid argument supplied for foreach() (View: /home/kschile/sallobos.cl/sallobos2020/htdocs/content/themes/KS/resources/views/home.blade.php)
Previous exceptions
  • Invalid argument supplied for foreach() (2)
ErrorException thrown with message "Invalid argument supplied for foreach() (View: /home/kschile/sallobos.cl/sallobos2020/htdocs/content/themes/KS/resources/views/home.blade.php)" Stacktrace: #28 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/view/Engines/PhpEngine.php:45 #27 Whoops\Exception\ErrorException in /home/kschile/sallobos.cl/sallobos2020/storage/views/68bfa2d137f952676dceb9e8e509b08db968003a.php:6 #26 Bugsnag\Handler:errorHandler in /home/kschile/sallobos.cl/sallobos2020/storage/views/68bfa2d137f952676dceb9e8e509b08db968003a.php:6 #25 include in /home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/view/Engines/PhpEngine.php:43 #24 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/view/Engines/CompilerEngine.php:59 #23 Illuminate\View\Engines\CompilerEngine:get in /home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/view/View.php:142 #22 Illuminate\View\View:getContents in /home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/view/View.php:125 #21 Illuminate\View\View:renderContents in /home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/view/View.php:90 #20 Illuminate\View\View:render in /home/kschile/sallobos.cl/sallobos2020/htdocs/content/mu-plugins/themosis-framework/src/Themosis/helpers.php:562 #19 view in /home/kschile/sallobos.cl/sallobos2020/htdocs/content/themes/KS/resources/controllers/PageController.php:37 #18 Theme\Controllers\PageController:index in /home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/routing/Controller.php:54 #17 call_user_func_array in /home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/routing/Controller.php:54 #16 Illuminate\Routing\Controller:callAction in /home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/routing/ControllerDispatcher.php:45 #15 Illuminate\Routing\ControllerDispatcher:dispatch in /home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/routing/Route.php:219 #14 Illuminate\Routing\Route:runController in /home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/routing/Route.php:176 #13 Illuminate\Routing\Route:run in /home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/routing/Router.php:680 #12 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/routing/Pipeline.php:30 #11 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/pipeline/Pipeline.php:104 #10 Illuminate\Pipeline\Pipeline:then in /home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/routing/Router.php:682 #9 Illuminate\Routing\Router:runRouteWithinStack in /home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/routing/Router.php:657 #8 Illuminate\Routing\Router:runRoute in /home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/routing/Router.php:623 #7 Illuminate\Routing\Router:dispatchToRoute in /home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/routing/Router.php:612 #6 Illuminate\Routing\Router:dispatch in /home/kschile/sallobos.cl/sallobos2020/htdocs/content/mu-plugins/themosis-framework/themosis.php:292 #5 Themosis:setRouter in /home/kschile/sallobos.cl/sallobos2020/htdocs/cms/wp-includes/class-wp-hook.php:324 #4 WP_Hook:apply_filters in /home/kschile/sallobos.cl/sallobos2020/htdocs/cms/wp-includes/class-wp-hook.php:348 #3 WP_Hook:do_action in /home/kschile/sallobos.cl/sallobos2020/htdocs/cms/wp-includes/plugin.php:517 #2 do_action in /home/kschile/sallobos.cl/sallobos2020/htdocs/cms/wp-includes/template-loader.php:13 #1 require_once in /home/kschile/sallobos.cl/sallobos2020/htdocs/cms/wp-blog-header.php:19 #0 require in /home/kschile/sallobos.cl/sallobos2020/htdocs/index.php:11
Stack frames (29)
28
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php45
27
Whoops\Exception\ErrorException
/storage/views/68bfa2d137f952676dceb9e8e509b08db968003a.php6
26
Bugsnag\Handler errorHandler
/storage/views/68bfa2d137f952676dceb9e8e509b08db968003a.php6
25
include
/vendor/illuminate/view/Engines/PhpEngine.php43
24
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php59
23
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php142
22
Illuminate\View\View getContents
/vendor/illuminate/view/View.php125
21
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php90
20
Illuminate\View\View render
/htdocs/content/mu-plugins/themosis-framework/src/Themosis/helpers.php562
19
view
/htdocs/content/themes/KS/resources/controllers/PageController.php37
18
Theme\Controllers\PageController index
/vendor/illuminate/routing/Controller.php54
17
call_user_func_array
/vendor/illuminate/routing/Controller.php54
16
Illuminate\Routing\Controller callAction
/vendor/illuminate/routing/ControllerDispatcher.php45
15
Illuminate\Routing\ControllerDispatcher dispatch
/vendor/illuminate/routing/Route.php219
14
Illuminate\Routing\Route runController
/vendor/illuminate/routing/Route.php176
13
Illuminate\Routing\Route run
/vendor/illuminate/routing/Router.php680
12
Illuminate\Routing\Router Illuminate\Routing\{closure}
/vendor/illuminate/routing/Pipeline.php30
11
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/illuminate/pipeline/Pipeline.php104
10
Illuminate\Pipeline\Pipeline then
/vendor/illuminate/routing/Router.php682
9
Illuminate\Routing\Router runRouteWithinStack
/vendor/illuminate/routing/Router.php657
8
Illuminate\Routing\Router runRoute
/vendor/illuminate/routing/Router.php623
7
Illuminate\Routing\Router dispatchToRoute
/vendor/illuminate/routing/Router.php612
6
Illuminate\Routing\Router dispatch
/htdocs/content/mu-plugins/themosis-framework/themosis.php292
5
Themosis setRouter
/htdocs/cms/wp-includes/class-wp-hook.php324
4
WP_Hook apply_filters
/htdocs/cms/wp-includes/class-wp-hook.php348
3
WP_Hook do_action
/htdocs/cms/wp-includes/plugin.php517
2
do_action
/htdocs/cms/wp-includes/template-loader.php13
1
require_once
/htdocs/cms/wp-blog-header.php19
0
require
/htdocs/index.php11
/home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/view/Engines/PhpEngine.php
     *
     * @param  string  $__path
     * @param  array   $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data, EXTR_SKIP);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
Arguments
  1. Whoops\Exception\ErrorException {#2384
      #message: "Invalid argument supplied for foreach()"
      #code: 2
      #file: "/home/kschile/sallobos.cl/sallobos2020/storage/views/68bfa2d137f952676dceb9e8e509b08db968003a.php"
      #line: 6
      #severity: E_WARNING
    }
    
  2. 0
    
/home/kschile/sallobos.cl/sallobos2020/storage/views/68bfa2d137f952676dceb9e8e509b08db968003a.php
<?php echo $__env->make('header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <section class="section--main">
            <div class="section__slider">
                <div class="slider">
                    <div class="slides">
                        <?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $slider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="slide">
                                <div class="section__bg">
                                    <div class="bg"><img src="<?php echo e(bfi_thumb($slider['image']['url'],['width'=>1440,'height'=>768])); ?>" alt="<?php echo e($slider['title']); ?>"></div>
                                </div>
                                <div class="section__wrap">
                                    <div class="section__content section__content--md section__content--va">
                                        <?php if($slider['product_img']): ?>
                                            <div class="section__image"><img src="<?php echo e(bfi_thumb($slider['product_img']['url'],['height'=>260])); ?>" alt="<?php echo e($slider['title']); ?>"></div>
                                        <?php endif; ?>
                                        <h1 class="section__title"><?php echo e($slider['title']); ?></h1>
                                        <?php if($slider['subtitle']): ?>
                                            <p class="section__subtitle"><?php echo e($slider['subtitle']); ?></p>
                                        <?php endif; ?>
                                        <?php if($slider['description']): ?>
                                            <p class="section__description"><?php echo $slider['description']; ?></p>
                                        <?php endif; ?>
                                        <?php if($slider['link']): ?>
                                            <div class="section__buttons"><a href="<?php echo e($slider['link']); ?>" class="btn btn--md">Conoce más</a></div>
                                        <?php endif; ?>
                                    </div>
                                </div>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
            </div>
        </section>
 
 
        <div class="sections-categories">
            <?php $__currentLoopData = get_field('pages_products'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $page): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
 
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
Arguments
  1. "Invalid argument supplied for foreach()"
    
Exception message: Invalid argument supplied for foreach()
/home/kschile/sallobos.cl/sallobos2020/storage/views/68bfa2d137f952676dceb9e8e509b08db968003a.php
<?php echo $__env->make('header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <section class="section--main">
            <div class="section__slider">
                <div class="slider">
                    <div class="slides">
                        <?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $slider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="slide">
                                <div class="section__bg">
                                    <div class="bg"><img src="<?php echo e(bfi_thumb($slider['image']['url'],['width'=>1440,'height'=>768])); ?>" alt="<?php echo e($slider['title']); ?>"></div>
                                </div>
                                <div class="section__wrap">
                                    <div class="section__content section__content--md section__content--va">
                                        <?php if($slider['product_img']): ?>
                                            <div class="section__image"><img src="<?php echo e(bfi_thumb($slider['product_img']['url'],['height'=>260])); ?>" alt="<?php echo e($slider['title']); ?>"></div>
                                        <?php endif; ?>
                                        <h1 class="section__title"><?php echo e($slider['title']); ?></h1>
                                        <?php if($slider['subtitle']): ?>
                                            <p class="section__subtitle"><?php echo e($slider['subtitle']); ?></p>
                                        <?php endif; ?>
                                        <?php if($slider['description']): ?>
                                            <p class="section__description"><?php echo $slider['description']; ?></p>
                                        <?php endif; ?>
                                        <?php if($slider['link']): ?>
                                            <div class="section__buttons"><a href="<?php echo e($slider['link']); ?>" class="btn btn--md">Conoce más</a></div>
                                        <?php endif; ?>
                                    </div>
                                </div>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
            </div>
        </section>
 
 
        <div class="sections-categories">
            <?php $__currentLoopData = get_field('pages_products'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $page): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
 
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
Arguments
  1. 2
    
  2. "Invalid argument supplied for foreach()"
    
  3. "/home/kschile/sallobos.cl/sallobos2020/storage/views/68bfa2d137f952676dceb9e8e509b08db968003a.php"
    
  4. 6
    
  5. array:10 [
      "__path" => "/home/kschile/sallobos.cl/sallobos2020/storage/views//68bfa2d137f952676dceb9e8e509b08db968003a.php"
      "__data" => array:6 [
        "__env" => Illuminate\View\Factory {#608}
        "app" => Themosis\Foundation\Application {#544}
        "sliders" => null
        "products" => null
        "recipes" => null
        "is_front_page" => false
      ]
      "obLevel" => 0
      "__env" => Illuminate\View\Factory {#608}
      "app" => Themosis\Foundation\Application {#544}
      "sliders" => null
      "products" => null
      "recipes" => null
      "is_front_page" => false
      "__currentLoopData" => null
    ]
    
/home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/view/Engines/PhpEngine.php
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $__path
     * @param  array   $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data, EXTR_SKIP);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
Arguments
  1. "/home/kschile/sallobos.cl/sallobos2020/storage/views/68bfa2d137f952676dceb9e8e509b08db968003a.php"
    
/home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/view/Engines/CompilerEngine.php
     * @param  array   $data
     * @return string
     */
    public function get($path, array $data = [])
    {
        $this->lastCompiled[] = $path;
 
        // If this given view has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the view. We'll pass the compiler the path of the view.
        if ($this->compiler->isExpired($path)) {
            $this->compiler->compile($path);
        }
 
        $compiled = $this->compiler->getCompiledPath($path);
 
        // Once we have the path to the compiled file, we will evaluate the paths with
        // typical PHP just like any other templates. We also keep a stack of views
        // which have been rendered for right exception messages to be generated.
        $results = $this->evaluatePath($compiled, $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        $e = new ErrorException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
Arguments
  1. "/home/kschile/sallobos.cl/sallobos2020/storage/views//68bfa2d137f952676dceb9e8e509b08db968003a.php"
    
  2. array:6 [
      "__env" => Illuminate\View\Factory {#608}
      "app" => Themosis\Foundation\Application {#544}
      "sliders" => null
      "products" => null
      "recipes" => null
      "is_front_page" => false
    ]
    
/home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/view/View.php
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the view instance.
     *
     * @return array
     */
    public function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
Arguments
  1. "/home/kschile/sallobos.cl/sallobos2020/htdocs/content/themes/KS/resources/views/home.blade.php"
    
  2. array:6 [
      "__env" => Illuminate\View\Factory {#608}
      "app" => Themosis\Foundation\Application {#544}
      "sliders" => null
      "products" => null
      "recipes" => null
      "is_front_page" => false
    ]
    
/home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/view/View.php
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
     */
    protected function renderContents()
    {
        // We will keep track of the amount of views being rendered so we can flush
        // the section after the complete rendering operation is done. This will
        // clear out the sections for any separate views that may be rendered.
        $this->factory->incrementRender();
 
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
/home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/view/View.php
        $this->view = $view;
        $this->path = $path;
        $this->engine = $engine;
        $this->factory = $factory;
 
        $this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
    }
 
    /**
     * Get the string contents of the view.
     *
     * @param  callable|null  $callback
     * @return array|string
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? call_user_func($callback, $this, $contents) : null;
 
            // Once we have the contents of the view, we will flush the sections if we are
            // done rendering all views so that there is nothing left hanging over when
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Exception $e) {
            $this->factory->flushState();
 
            throw $e;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
/home/kschile/sallobos.cl/sallobos2020/htdocs/content/mu-plugins/themosis-framework/src/Themosis/helpers.php
 
if (!function_exists('view')) {
    /**
     * Helper function to build views.
     *
     * @param string $view      The view relative path, name.
     * @param array  $data      Passed data.
     * @param array  $mergeData
     *
     * @return string
     */
    function view($view = null, array $data = [], array $mergeData = [])
    {
        $factory = container('view');
 
        if (func_num_args() === 0) {
            return $factory;
        }
 
        return $factory->make($view, $data, $mergeData)->render();
    }
}
 
if (!function_exists('meta')) {
    /**
     * Helper function to get any meta data from objects.
     *
     * @param string $key
     * @param int    $id
     * @param string $context
     * @param bool   $single
     *
     * @return mixed|string
     */
    function meta($key = '', $id = null, $context = 'post', $single = true)
    {
        if (is_null($id)) {
            $id = get_the_ID();
        }
 
/home/kschile/sallobos.cl/sallobos2020/htdocs/content/themes/KS/resources/controllers/PageController.php
class PageController extends BaseController
{
        public function __construct(){
            $this->modules = get_field('modules',get_the_ID());
            if (!$this->modules) {
                $this->modules=[];
            }
        }
 
        public function index()
        {
            $sliders = get_field('slider',get_the_ID());
            $products = get_field('products',get_the_ID());
            $recipes = get_field('recipes',get_the_ID());
 
            return view('home', [
                'sliders'=>$sliders,
                'products'=>$products,
                'recipes'=>$recipes,
                'is_front_page'=>is_front_page()
            ]);
 
        }
 
        public function contents(){
            return view('content_page');
        }
 
        public function page($post){
            $characters     = get_field('character_recipes',$post->ID);
            $contents       = explode('<hr />', apply_filters('the_content', $post->post_content));
            $characters     = get_field('character_recipes',$post->ID);
            $pdf            = get_field('pdf',$post->ID);
            $products       = get_field('util_products',$post->ID);
            $relatedRecipes = get_field('recipes_relations',$post->ID);
            $video          = get_field('video_recipe',$post->ID);
 
            return view('singles.recipe',[
            'post'=>$post,
            'characters' =>$characters,
Arguments
  1. "home"
    
  2. array:4 [
      "sliders" => null
      "products" => null
      "recipes" => null
      "is_front_page" => false
    ]
    
/home/kschile/sallobos.cl/sallobos2020/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/kschile/sallobos.cl/sallobos2020/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
        ));
    }
}
 
Arguments
  1. array:2 [
      0 => Theme\Controllers\PageController {#2372}
      1 => "index"
    ]
    
  2. []
    
/home/kschile/sallobos.cl/sallobos2020/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']);
Arguments
  1. "index"
    
  2. []
    
/home/kschile/sallobos.cl/sallobos2020/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;
    }
 
    /**
Arguments
  1. Themosis\Route\Route {#1007}
    
  2. Theme\Controllers\PageController {#2372}
    
  3. "index"
    
/home/kschile/sallobos.cl/sallobos2020/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/kschile/sallobos.cl/sallobos2020/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/kschile/sallobos.cl/sallobos2020/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();
 
Arguments
  1. Themosis\Foundation\Request {#561
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: Closure() {#2365 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#563}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#569}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#569}
      +server: Symfony\Component\HttpFoundation\ServerBag {#565}
      +files: Symfony\Component\HttpFoundation\FileBag {#566}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#564}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#567}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/"
      #requestUri: "/?post_type=campaign&p=891"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/kschile/sallobos.cl/sallobos2020/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);
    }
 
    /**
     * Run the pipeline and return the result.
     *
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
Arguments
  1. Themosis\Foundation\Request {#561
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: Closure() {#2365 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#563}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#569}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#569}
      +server: Symfony\Component\HttpFoundation\ServerBag {#565}
      +files: Symfony\Component\HttpFoundation\FileBag {#566}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#564}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#567}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/"
      #requestUri: "/?post_type=campaign&p=891"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/kschile/sallobos.cl/sallobos2020/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.
     *
Arguments
  1. Closure($request) {#2374 …4}
    
/home/kschile/sallobos.cl/sallobos2020/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 \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    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)
Arguments
  1. Themosis\Route\Route {#1007}
    
  2. Themosis\Foundation\Request {#561
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: Closure() {#2365 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#563}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#569}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#569}
      +server: Symfony\Component\HttpFoundation\ServerBag {#565}
      +files: Symfony\Component\HttpFoundation\FileBag {#566}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#564}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#567}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/"
      #requestUri: "/?post_type=campaign&p=891"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/kschile/sallobos.cl/sallobos2020/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 \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    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.
     *
Arguments
  1. Themosis\Foundation\Request {#561
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: Closure() {#2365 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#563}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#569}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#569}
      +server: Symfony\Component\HttpFoundation\ServerBag {#565}
      +files: Symfony\Component\HttpFoundation\FileBag {#566}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#564}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#567}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/"
      #requestUri: "/?post_type=campaign&p=891"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Themosis\Route\Route {#1007}
    
/home/kschile/sallobos.cl/sallobos2020/vendor/illuminate/routing/Router.php
     * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    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 \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    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)
Arguments
  1. Themosis\Foundation\Request {#561
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: Closure() {#2365 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#563}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#569}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#569}
      +server: Symfony\Component\HttpFoundation\ServerBag {#565}
      +files: Symfony\Component\HttpFoundation\FileBag {#566}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#564}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#567}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/"
      #requestUri: "/?post_type=campaign&p=891"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/kschile/sallobos.cl/sallobos2020/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();
Arguments
  1. Themosis\Foundation\Request {#561
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: Closure() {#2365 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#563}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#569}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#569}
      +server: Symfony\Component\HttpFoundation\ServerBag {#565}
      +files: Symfony\Component\HttpFoundation\FileBag {#566}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#564}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#567}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/"
      #requestUri: "/?post_type=campaign&p=891"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/home/kschile/sallobos.cl/sallobos2020/htdocs/cms/wp-includes/class-wp-hook.php
 
        $this->iterations[ $nesting_level ] = $this->priorities;
 
        $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, $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.
Arguments
  1. ""
    
/home/kschile/sallobos.cl/sallobos2020/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 ] = $this->priorities;
 
        do {
            $priority = current( $this->iterations[ $nesting_level ] );
Arguments
  1. null
    
  2. array:1 [
      0 => ""
    ]
    
/home/kschile/sallobos.cl/sallobos2020/htdocs/cms/wp-includes/plugin.php
    if ( ! isset( $wp_filter[ $hook_name ] ) ) {
        if ( isset( $wp_filter['all'] ) ) {
            array_pop( $wp_current_filter );
        }
 
        return;
    }
 
    if ( ! isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $hook_name;
    }
 
    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[ $hook_name ]->do_action( $arg );
 
    array_pop( $wp_current_filter );
}
 
/**
 * Calls the callback functions that have been added to an action hook, specifying arguments in an array.
 *
 * @since 2.1.0
 *
 * @see do_action() This function is identical, but the arguments passed to the
 *                  functions hooked to `$hook_name` are supplied using an array.
 *
 * @global WP_Hook[] $wp_filter         Stores all of the filters and actions.
 * @global int[]     $wp_actions        Stores the number of times each action was triggered.
 * @global string[]  $wp_current_filter Stores the list of current filters with the current one last.
 *
 * @param string $hook_name The name of the action to be executed.
 * @param array  $args      The arguments supplied to the functions hooked to `$hook_name`.
 */
function do_action_ref_array( $hook_name, $args ) {
Arguments
  1. array:1 [
      0 => ""
    ]
    
/home/kschile/sallobos.cl/sallobos2020/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() ) {
    /**
Arguments
  1. "template_redirect"
    
/home/kschile/sallobos.cl/sallobos2020/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';
 
}
 
Arguments
  1. "/home/kschile/sallobos.cl/sallobos2020/htdocs/cms/wp-includes/template-loader.php"
    
/home/kschile/sallobos.cl/sallobos2020/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';
 
Arguments
  1. "/home/kschile/sallobos.cl/sallobos2020/htdocs/cms/wp-blog-header.php"
    

Environment & details:

Key Value
post_type
"campaign"
p
"891"
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache"
REQUEST_URI
"/?post_type=campaign&p=891"
USER
"kschile"
HOME
"/home/kschile"
SCRIPT_NAME
"/index.php"
QUERY_STRING
"post_type=campaign&p=891"
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REMOTE_PORT
"57024"
SCRIPT_FILENAME
"/home/kschile/sallobos.cl/sallobos2020/htdocs/index.php"
SERVER_ADMIN
"webmaster@sallobos.ks-chile.com"
CONTEXT_DOCUMENT_ROOT
"/home/kschile/sallobos.cl/sallobos2020/htdocs"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/home/kschile/sallobos.cl/sallobos2020/htdocs"
REMOTE_ADDR
"35.171.164.77"
SERVER_PORT
"443"
SERVER_ADDR
"10.10.10.205"
SERVER_NAME
"sallobos.cl"
SERVER_SIGNATURE
""
PATH
"/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin"
HTTP_X_HTTPS
"1"
HTTP_CONNECTION
"Keep-Alive"
HTTP_HOST
"sallobos.cl"
HTTP_ACCEPT_ENCODING
"br,gzip"
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/)"
proxy-nokeepalive
"1"
SSL_TLS_SNI
"sallobos.cl"
HTTPS
"on"
HTTP_AUTHORIZATION
""
SCRIPT_URI
"https://sallobos.cl/"
SCRIPT_URL
"/"
UNIQUE_ID
"Zw0eKbgVgf1WdNkx1z65ywAAARU"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1728912937.3356
REQUEST_TIME
1728912937
argv
array:1 [
  0 => "post_type=campaign&p=891"
]
argc
1
APP_ENV
"production"
DB_NAME
"kschile_lobos"
DB_USER
"kschile_lobos"
DB_PASSWORD
"5DLABBz7l=~@"
DB_HOST
"localhost"
WP_HOME
"https://sallobos.cl"
WP_SITEURL
"https://sallobos.cl/cms"
DB_PREFIX
"wp_ks_s_l_"
from_email
"no-reply@sallobos.cl"
https
"1"
api_mandrill
"8tJmWwkF5KNYwEV2FOkGOA"
bugsnag
"979c7d8c43c39d5cd05bc4c79df9ff30"
Key Value
APP_ENV
"production"
DB_NAME
"kschile_lobos"
DB_USER
"kschile_lobos"
DB_PASSWORD
"5DLABBz7l=~@"
DB_HOST
"localhost"
WP_HOME
"https://sallobos.cl"
WP_SITEURL
"https://sallobos.cl/cms"
DB_PREFIX
"wp_ks_s_l_"
from_email
"no-reply@sallobos.cl"
https
"1"
api_mandrill
"8tJmWwkF5KNYwEV2FOkGOA"
bugsnag
"979c7d8c43c39d5cd05bc4c79df9ff30"
0. Whoops\Handler\PrettyPageHandler