Error
Unknown named parameter $slug Error thrown with message "Unknown named parameter $slug" Stacktrace: #19 Error in /home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php:177 #18 call_user_func_array in /home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php:177 #17 WPEmerge\Kernels\HttpKernel:executeHandler in /home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php:205 #16 WPEmerge\Kernels\HttpKernel:WPEmerge\Kernels\{closure} in /home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php:40 #15 WPEmerge\Kernels\HttpKernel:executeMiddleware in /home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php:44 #14 WPEmerge\Kernels\HttpKernel:WPEmerge\Middleware\{closure} in /home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Input/OldInputMiddleware.php:44 #13 WPEmerge\Input\OldInputMiddleware:handle in /home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php:53 #12 call_user_func_array in /home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php:53 #11 WPEmerge\Kernels\HttpKernel:executeMiddleware in /home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php:44 #10 WPEmerge\Kernels\HttpKernel:WPEmerge\Middleware\{closure} in /home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Flash/FlashMiddleware.php:40 #9 WPEmerge\Flash\FlashMiddleware:handle in /home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php:53 #8 call_user_func_array in /home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php:53 #7 WPEmerge\Kernels\HttpKernel:executeMiddleware in /home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php:206 #6 WPEmerge\Kernels\HttpKernel:run in /home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php:237 #5 WPEmerge\Kernels\HttpKernel:handle in /home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php:332 #4 WPEmerge\Kernels\HttpKernel:filterTemplateInclude in /home/lauricj/www/wp-includes/class-wp-hook.php:324 #3 WP_Hook:apply_filters in /home/lauricj/www/wp-includes/plugin.php:205 #2 apply_filters in /home/lauricj/www/wp-includes/template-loader.php:104 #1 require_once in /home/lauricj/www/wp-blog-header.php:19 #0 require in /home/lauricj/www/index.php:17
Stack frames (20)
19
Error
/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php177
18
call_user_func_array
/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php177
17
WPEmerge\Kernels\HttpKernel executeHandler
/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php205
16
WPEmerge\Kernels\HttpKernel WPEmerge\Kernels\{closure}
/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php40
15
WPEmerge\Kernels\HttpKernel executeMiddleware
/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php44
14
WPEmerge\Kernels\HttpKernel WPEmerge\Middleware\{closure}
/vendor/htmlburger/wpemerge/src/Input/OldInputMiddleware.php44
13
WPEmerge\Input\OldInputMiddleware handle
/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php53
12
call_user_func_array
/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php53
11
WPEmerge\Kernels\HttpKernel executeMiddleware
/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php44
10
WPEmerge\Kernels\HttpKernel WPEmerge\Middleware\{closure}
/vendor/htmlburger/wpemerge/src/Flash/FlashMiddleware.php40
9
WPEmerge\Flash\FlashMiddleware handle
/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php53
8
call_user_func_array
/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php53
7
WPEmerge\Kernels\HttpKernel executeMiddleware
/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php206
6
WPEmerge\Kernels\HttpKernel run
/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php237
5
WPEmerge\Kernels\HttpKernel handle
/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php332
4
WPEmerge\Kernels\HttpKernel filterTemplateInclude
/home/lauricj/www/wp-includes/class-wp-hook.php324
3
WP_Hook apply_filters
/home/lauricj/www/wp-includes/plugin.php205
2
apply_filters
/home/lauricj/www/wp-includes/template-loader.php104
1
require_once
/home/lauricj/www/wp-blog-header.php19
0
require
/home/lauricj/www/index.php17
/home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php
    /**
     * Make a middleware class instance.
     *
     * @codeCoverageIgnore
     * @param  string $class
     * @return object
     */
    protected function makeMiddleware( $class ) {
        return $this->factory->make( $class );
    }
 
    /**
     * Execute a handler.
     *
     * @param  Handler           $handler
     * @param  array             $arguments
     * @return ResponseInterface
     */
    protected function executeHandler( Handler $handler, $arguments = [] ) {
        $response = call_user_func_array( [$handler, 'execute'], $arguments );
        $response = $this->toResponse( $response );
 
        if ( ! $response instanceof ResponseInterface ) {
            throw new ConfigurationException(
                'Response returned by controller is not valid ' .
                '(expected ' . ResponseInterface::class . '; received ' . gettype( $response ) . ').'
            );
        }
 
        return $response;
    }
 
    /**
     * {@inheritDoc}
     */
    public function run( RequestInterface $request, $middleware, $handler, $arguments = [] ) {
        $this->error_handler->register();
 
        try {
            $handler = $handler instanceof Handler ? $handler : $this->handler_factory->make( $handler );
/home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php
    /**
     * Make a middleware class instance.
     *
     * @codeCoverageIgnore
     * @param  string $class
     * @return object
     */
    protected function makeMiddleware( $class ) {
        return $this->factory->make( $class );
    }
 
    /**
     * Execute a handler.
     *
     * @param  Handler           $handler
     * @param  array             $arguments
     * @return ResponseInterface
     */
    protected function executeHandler( Handler $handler, $arguments = [] ) {
        $response = call_user_func_array( [$handler, 'execute'], $arguments );
        $response = $this->toResponse( $response );
 
        if ( ! $response instanceof ResponseInterface ) {
            throw new ConfigurationException(
                'Response returned by controller is not valid ' .
                '(expected ' . ResponseInterface::class . '; received ' . gettype( $response ) . ').'
            );
        }
 
        return $response;
    }
 
    /**
     * {@inheritDoc}
     */
    public function run( RequestInterface $request, $middleware, $handler, $arguments = [] ) {
        $this->error_handler->register();
 
        try {
            $handler = $handler instanceof Handler ? $handler : $this->handler_factory->make( $handler );
/home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php
 
        return $response;
    }
 
    /**
     * {@inheritDoc}
     */
    public function run( RequestInterface $request, $middleware, $handler, $arguments = [] ) {
        $this->error_handler->register();
 
        try {
            $handler = $handler instanceof Handler ? $handler : $this->handler_factory->make( $handler );
 
            $middleware = array_merge( $middleware, $this->getHandlerMiddleware( $handler ) );
            $middleware = $this->expandMiddleware( $middleware );
            $middleware = $this->uniqueMiddleware( $middleware );
            $middleware = $this->sortMiddleware( $middleware );
 
            $response = $this->executeMiddleware( $middleware, $request, function () use ( $handler, $arguments ) {
                return $this->executeHandler( $handler, $arguments );
            } );
        } catch ( Exception $exception ) {
            $response = $this->error_handler->getResponse( $request, $exception );
        }
 
        $this->error_handler->unregister();
 
        return $response;
    }
 
    /**
     * {@inheritDoc}
     */
    public function handle( RequestInterface $request, $arguments = [] ) {
        $route = $this->router->execute( $request );
 
        if ( $route === null ) {
            return null;
        }
 
/home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php
     * Make a middleware class instance.
     *
     * @param  string $class
     * @return object
     */
    protected abstract function makeMiddleware( $class );
 
    /**
     * Execute an array of middleware recursively (last in, first out).
     *
     * @param  string[][]        $middleware
     * @param  RequestInterface  $request
     * @param  Closure           $next
     * @return ResponseInterface
     */
    protected function executeMiddleware( $middleware, RequestInterface $request, Closure $next ) {
        $top_middleware = array_shift( $middleware );
 
        if ( $top_middleware === null ) {
            return $next( $request );
        }
 
        $top_middleware_next = function ( $request ) use ( $middleware, $next ) {
            return $this->executeMiddleware( $middleware, $request, $next );
        };
 
        $instance = $this->makeMiddleware( $top_middleware[0] );
        $arguments = array_merge(
            [$request, $top_middleware_next],
            array_slice( $top_middleware, 1 )
        );
 
        return call_user_func_array( [$instance, 'handle'], $arguments );
    }
}
 
/home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php
     */
    protected abstract function makeMiddleware( $class );
 
    /**
     * Execute an array of middleware recursively (last in, first out).
     *
     * @param  string[][]        $middleware
     * @param  RequestInterface  $request
     * @param  Closure           $next
     * @return ResponseInterface
     */
    protected function executeMiddleware( $middleware, RequestInterface $request, Closure $next ) {
        $top_middleware = array_shift( $middleware );
 
        if ( $top_middleware === null ) {
            return $next( $request );
        }
 
        $top_middleware_next = function ( $request ) use ( $middleware, $next ) {
            return $this->executeMiddleware( $middleware, $request, $next );
        };
 
        $instance = $this->makeMiddleware( $top_middleware[0] );
        $arguments = array_merge(
            [$request, $top_middleware_next],
            array_slice( $top_middleware, 1 )
        );
 
        return call_user_func_array( [$instance, 'handle'], $arguments );
    }
}
 
/home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Input/OldInputMiddleware.php
 
    /**
     * Constructor.
     *
     * @codeCoverageIgnore
     * @param OldInput $old_input
     */
    public function __construct( OldInput $old_input ) {
        $this->old_input = $old_input;
    }
 
    /**
     * {@inheritDoc}
     */
    public function handle( RequestInterface $request, Closure $next ) {
        if ( $this->old_input->enabled() && $request->isPost() ) {
            $this->old_input->set( $request->body() );
        }
 
        return $next( $request );
    }
}
 
/home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php
     * @return ResponseInterface
     */
    protected function executeMiddleware( $middleware, RequestInterface $request, Closure $next ) {
        $top_middleware = array_shift( $middleware );
 
        if ( $top_middleware === null ) {
            return $next( $request );
        }
 
        $top_middleware_next = function ( $request ) use ( $middleware, $next ) {
            return $this->executeMiddleware( $middleware, $request, $next );
        };
 
        $instance = $this->makeMiddleware( $top_middleware[0] );
        $arguments = array_merge(
            [$request, $top_middleware_next],
            array_slice( $top_middleware, 1 )
        );
 
        return call_user_func_array( [$instance, 'handle'], $arguments );
    }
}
 
/home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php
     * @return ResponseInterface
     */
    protected function executeMiddleware( $middleware, RequestInterface $request, Closure $next ) {
        $top_middleware = array_shift( $middleware );
 
        if ( $top_middleware === null ) {
            return $next( $request );
        }
 
        $top_middleware_next = function ( $request ) use ( $middleware, $next ) {
            return $this->executeMiddleware( $middleware, $request, $next );
        };
 
        $instance = $this->makeMiddleware( $top_middleware[0] );
        $arguments = array_merge(
            [$request, $top_middleware_next],
            array_slice( $top_middleware, 1 )
        );
 
        return call_user_func_array( [$instance, 'handle'], $arguments );
    }
}
 
/home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php
     */
    protected abstract function makeMiddleware( $class );
 
    /**
     * Execute an array of middleware recursively (last in, first out).
     *
     * @param  string[][]        $middleware
     * @param  RequestInterface  $request
     * @param  Closure           $next
     * @return ResponseInterface
     */
    protected function executeMiddleware( $middleware, RequestInterface $request, Closure $next ) {
        $top_middleware = array_shift( $middleware );
 
        if ( $top_middleware === null ) {
            return $next( $request );
        }
 
        $top_middleware_next = function ( $request ) use ( $middleware, $next ) {
            return $this->executeMiddleware( $middleware, $request, $next );
        };
 
        $instance = $this->makeMiddleware( $top_middleware[0] );
        $arguments = array_merge(
            [$request, $top_middleware_next],
            array_slice( $top_middleware, 1 )
        );
 
        return call_user_func_array( [$instance, 'handle'], $arguments );
    }
}
 
/home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Flash/FlashMiddleware.php
     *
     * @var Flash
     */
    protected $flash = null;
 
    /**
     * Constructor.
     *
     * @codeCoverageIgnore
     * @param Flash $flash
     */
    public function __construct( Flash $flash ) {
        $this->flash = $flash;
    }
 
    /**
     * {@inheritDoc}
     */
    public function handle( RequestInterface $request, Closure $next ) {
        $response = $next( $request );
 
        if ( $this->flash->enabled() ) {
            $this->flash->shift();
            $this->flash->save();
        }
 
        return $response;
    }
}
 
/home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php
     * @return ResponseInterface
     */
    protected function executeMiddleware( $middleware, RequestInterface $request, Closure $next ) {
        $top_middleware = array_shift( $middleware );
 
        if ( $top_middleware === null ) {
            return $next( $request );
        }
 
        $top_middleware_next = function ( $request ) use ( $middleware, $next ) {
            return $this->executeMiddleware( $middleware, $request, $next );
        };
 
        $instance = $this->makeMiddleware( $top_middleware[0] );
        $arguments = array_merge(
            [$request, $top_middleware_next],
            array_slice( $top_middleware, 1 )
        );
 
        return call_user_func_array( [$instance, 'handle'], $arguments );
    }
}
 
/home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Middleware/ExecutesMiddlewareTrait.php
     * @return ResponseInterface
     */
    protected function executeMiddleware( $middleware, RequestInterface $request, Closure $next ) {
        $top_middleware = array_shift( $middleware );
 
        if ( $top_middleware === null ) {
            return $next( $request );
        }
 
        $top_middleware_next = function ( $request ) use ( $middleware, $next ) {
            return $this->executeMiddleware( $middleware, $request, $next );
        };
 
        $instance = $this->makeMiddleware( $top_middleware[0] );
        $arguments = array_merge(
            [$request, $top_middleware_next],
            array_slice( $top_middleware, 1 )
        );
 
        return call_user_func_array( [$instance, 'handle'], $arguments );
    }
}
 
/home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php
        return $response;
    }
 
    /**
     * {@inheritDoc}
     */
    public function run( RequestInterface $request, $middleware, $handler, $arguments = [] ) {
        $this->error_handler->register();
 
        try {
            $handler = $handler instanceof Handler ? $handler : $this->handler_factory->make( $handler );
 
            $middleware = array_merge( $middleware, $this->getHandlerMiddleware( $handler ) );
            $middleware = $this->expandMiddleware( $middleware );
            $middleware = $this->uniqueMiddleware( $middleware );
            $middleware = $this->sortMiddleware( $middleware );
 
            $response = $this->executeMiddleware( $middleware, $request, function () use ( $handler, $arguments ) {
                return $this->executeHandler( $handler, $arguments );
            } );
        } catch ( Exception $exception ) {
            $response = $this->error_handler->getResponse( $request, $exception );
        }
 
        $this->error_handler->unregister();
 
        return $response;
    }
 
    /**
     * {@inheritDoc}
     */
    public function handle( RequestInterface $request, $arguments = [] ) {
        $route = $this->router->execute( $request );
 
        if ( $route === null ) {
            return null;
        }
 
        $route_arguments = $route->getArguments( $request );
/home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php
     */
    public function handle( RequestInterface $request, $arguments = [] ) {
        $route = $this->router->execute( $request );
 
        if ( $route === null ) {
            return null;
        }
 
        $route_arguments = $route->getArguments( $request );
 
        $request = $request
            ->withAttribute( 'route', $route )
            ->withAttribute( 'route_arguments', $route_arguments );
 
        $response = $this->run(
            $request,
            $route->getAttribute( 'middleware', [] ),
            $route->getAttribute( 'handler' ),
            array_merge(
                [$request],
                $arguments,
                $route_arguments
            )
        );
 
        $this->container[ WPEMERGE_RESPONSE_KEY ] = $response;
 
        return $response;
    }
 
    /**
     * Respond with the current response.
     *
     * @return void
     */
    public function respond() {
        $response = $this->getResponse();
 
        if ( ! $response instanceof ResponseInterface ) {
            return;
/home/lauricj/www/wp-content/themes/lauricefinearts/vendor/htmlburger/wpemerge/src/Kernels/HttpKernel.php
                } );
            break;
        }
 
        return $query_vars;
    }
 
    /**
     * Filter the main template file.
     *
     * @param  string $template
     * @return string
     */
    public function filterTemplateInclude( $template ) {
        /** @var WP_Query $wp_query */
        global $wp_query;
 
        $this->template = $template;
 
        $response = $this->handle( $this->request, [$template] );
 
        // A route has matched so we use its response.
        if ( $response instanceof ResponseInterface ) {
            if ( $response->getStatusCode() === 404 ) {
                $wp_query->set_404();
            }
 
            add_action( 'wpemerge.kernels.http_kernel.respond', [$this, 'respond'] );
 
            return WPEMERGE_DIR . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'view.php';
        }
 
        // No route has matched, but we still want to compose views.
        $composers = $this->view_service->getComposersForView( $template );
 
        if ( ! empty( $composers ) ) {
            add_action( 'wpemerge.kernels.http_kernel.respond', [$this, 'compose'] );
 
            return WPEMERGE_DIR . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'view.php';
        }
/home/lauricj/www/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.
/home/lauricj/www/wp-includes/plugin.php
        $all_args = func_get_args(); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection
        _wp_call_all_hook( $all_args );
    }
 
    if ( ! isset( $wp_filter[ $hook_name ] ) ) {
        if ( isset( $wp_filter['all'] ) ) {
            array_pop( $wp_current_filter );
        }
 
        return $value;
    }
 
    if ( ! isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $hook_name;
    }
 
    // Pass the value to WP_Hook.
    array_unshift( $args, $value );
 
    $filtered = $wp_filter[ $hook_name ]->apply_filters( $value, $args );
 
    array_pop( $wp_current_filter );
 
    return $filtered;
}
 
/**
 * Calls the callback functions that have been added to a filter hook, specifying arguments in an array.
 *
 * @since 3.0.0
 *
 * @see apply_filters() 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_filters        Stores the number of times each filter 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 filter hook.
 * @param array  $args      The arguments supplied to the functions hooked to `$hook_name`.
/home/lauricj/www/wp-includes/template-loader.php
            if ( 'is_attachment' === $tag ) {
                remove_filter( 'the_content', 'prepend_attachment' );
            }
 
            break;
        }
    }
 
    if ( ! $template ) {
        $template = get_index_template();
    }
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    $template = apply_filters( 'template_include', $template );
    if ( $template ) {
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
/home/lauricj/www/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/lauricj/www/index.php
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define( 'WP_USE_THEMES', true );
 
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
 

Environment & details:

Key Value
methods [GET, HEAD]
condition (object) WPEmerge\Routing\Conditions\UrlCondition
middleware [web]
namespace LauriceFineArts\Controllers\Web\
handler (object) WPEmerge\Helpers\Handler
query (NULL)
name
empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE Apache
REQUEST_URI /en/artiste/charles-camoin-en/
USER lauricj
SCRIPT_NAME /index.php
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /en/artiste/charles-camoin-en/
REMOTE_PORT 24458
SCRIPT_FILENAME /home/lauricj/www/index.php
SERVER_ADMIN postmaster@lauricefineart.com
DOCUMENT_ROOT /home/lauricj/www
REMOTE_ADDR 216.73.216.142
SERVER_PORT 443
SERVER_ADDR 10.28.20.106
SERVER_NAME lauricefineart.com
SERVER_SIGNATURE
HTTP_REMOTE_IP 216.73.216.142
HTTP_REFERER https://lauricefineart.com/?p=1392
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_X_OVHREQUEST_ID 92d6c158a55b698167716fc9cdc71537
HTTP_X_FORWARDED_PROTO https
HTTP_X_FORWARDED_FOR 216.73.216.142
HTTP_X_PREDICTOR 1
HTTP_HOST lauricefineart.com
ENVIRONMENT production
CFG_CLUSTER cluster028
HTTP_AUTHORIZATION
HTTPS on
SCRIPT_URI https://lauricefineart.com:443/en/artiste/charles-camoin-en/
SCRIPT_URL /en/artiste/charles-camoin-en/
GEOIP_LONGITUDE -119.070099
GEOIP_LATITUDE 34.355598
GEOIP_AREA_CODE 805
GEOIP_DMA_CODE 803
GEOIP_CITY Santa Paula
GEOIP_REGION CA
GEOIP_COUNTRY_NAME United States
GEOIP_COUNTRY_CODE US
UNIQUE_ID aLmmykHCmXBX8zkfbcwByAAALS0
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1756997322.0242
REQUEST_TIME 1756997322
argv Array ( )
argc 0
Key Value
USER lauricj
SCRIPT_NAME /index.php
REQUEST_URI /en/artiste/charles-camoin-en/
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /en/artiste/charles-camoin-en/
REMOTE_PORT 24458
SCRIPT_FILENAME /home/lauricj/www/index.php
SERVER_ADMIN postmaster@lauricefineart.com
DOCUMENT_ROOT /home/lauricj/www
REMOTE_ADDR 216.73.216.142
SERVER_PORT 443
SERVER_ADDR 10.28.20.106
SERVER_NAME lauricefineart.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
HTTP_REMOTE_IP 216.73.216.142
HTTP_REFERER https://lauricefineart.com/?p=1392
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_X_OVHREQUEST_ID 92d6c158a55b698167716fc9cdc71537
HTTP_X_FORWARDED_PROTO https
HTTP_X_FORWARDED_FOR 216.73.216.142
HTTP_X_PREDICTOR 1
HTTP_HOST lauricefineart.com
ENVIRONMENT production
CFG_CLUSTER cluster028
HTTP_AUTHORIZATION
HTTPS on
SCRIPT_URI https://lauricefineart.com:443/en/artiste/charles-camoin-en/
SCRIPT_URL /en/artiste/charles-camoin-en/
GEOIP_LONGITUDE -119.070099
GEOIP_LATITUDE 34.355598
GEOIP_AREA_CODE 805
GEOIP_DMA_CODE 803
GEOIP_CITY Santa Paula
GEOIP_REGION CA
GEOIP_COUNTRY_NAME United States
GEOIP_COUNTRY_CODE US
UNIQUE_ID aLmmykHCmXBX8zkfbcwByAAALS0
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1756997322.0242
REQUEST_TIME 1756997322
argv Array ( )
argc 0
0. Whoops\Handler\PrettyPageHandler