Whoops! There was an error.
InvalidArgumentException
Unrecognized extension in file: /home/hcmi/public_html. InvalidArgumentException thrown with message "Unrecognized extension in file: /home/hcmi/public_html." Stacktrace: #8 InvalidArgumentException in /home/hcmi/public_html/wp-content/themes/hcmi/vendor/illuminate/view/Factory.php:305 #7 Illuminate\View\Factory:getEngineFromPath in /home/hcmi/public_html/wp-content/themes/hcmi/vendor/illuminate/view/Factory.php:274 #6 Illuminate\View\Factory:viewInstance in /home/hcmi/public_html/wp-content/themes/hcmi/vendor/illuminate/view/Factory.php:122 #5 Illuminate\View\Factory:file in /home/hcmi/public_html/wp-content/themes/hcmi/vendor/roots/acorn/src/Roots/helpers.php:78 #4 Roots\view in /home/hcmi/public_html/wp-content/themes/hcmi/vendor/roots/acorn/src/Roots/globals.php:13 #3 view in /home/hcmi/public_html/wp-content/themes/hcmi/index.php:21 #2 include in /home/hcmi/public_html/wp-includes/template-loader.php:106 #1 require_once in /home/hcmi/public_html/wp-blog-header.php:19 #0 require in /home/hcmi/public_html/index.php:17
Stack frames (9)
8
InvalidArgumentException
/vendor/illuminate/view/Factory.php305
7
Illuminate\View\Factory getEngineFromPath
/vendor/illuminate/view/Factory.php274
6
Illuminate\View\Factory viewInstance
/vendor/illuminate/view/Factory.php122
5
Illuminate\View\Factory file
/vendor/roots/acorn/src/Roots/helpers.php78
4
Roots\view
/vendor/roots/acorn/src/Roots/globals.php13
3
view
/index.php21
2
include
/home/hcmi/public_html/wp-includes/template-loader.php106
1
require_once
/home/hcmi/public_html/wp-blog-header.php19
0
require
/home/hcmi/public_html/index.php17
/home/hcmi/public_html/wp-content/themes/hcmi/vendor/illuminate/view/Factory.php
            $this->finder->find($view);
        } catch (InvalidArgumentException $e) {
            return false;
        }
 
        return true;
    }
 
    /**
     * Get the appropriate view engine for the given path.
     *
     * @param  string  $path
     * @return \Illuminate\Contracts\View\Engine
     *
     * @throws \InvalidArgumentException
     */
    public function getEngineFromPath($path)
    {
        if (! $extension = $this->getExtension($path)) {
            throw new InvalidArgumentException("Unrecognized extension in file: {$path}.");
        }
 
        $engine = $this->extensions[$extension];
 
        return $this->engines->resolve($engine);
    }
 
    /**
     * Get the extension used by the view file.
     *
     * @param  string  $path
     * @return string|null
     */
    protected function getExtension($path)
    {
        $extensions = array_keys($this->extensions);
 
        return Arr::first($extensions, function ($value) use ($path) {
            return Str::endsWith($path, '.'.$value);
        });
Arguments
  1. "Unrecognized extension in file: /home/hcmi/public_html."
    
/home/hcmi/public_html/wp-content/themes/hcmi/vendor/illuminate/view/Factory.php
     *
     * @param  mixed  $data
     * @return array
     */
    protected function parseData($data)
    {
        return $data instanceof Arrayable ? $data->toArray() : $data;
    }
 
    /**
     * Create a new view instance from the given arguments.
     *
     * @param  string  $view
     * @param  string  $path
     * @param  \Illuminate\Contracts\Support\Arrayable|array  $data
     * @return \Illuminate\Contracts\View\View
     */
    protected function viewInstance($view, $path, $data)
    {
        return new View($this, $this->getEngineFromPath($path), $view, $path, $data);
    }
 
    /**
     * Determine if a given view exists.
     *
     * @param  string  $view
     * @return bool
     */
    public function exists($view)
    {
        try {
            $this->finder->find($view);
        } catch (InvalidArgumentException $e) {
            return false;
        }
 
        return true;
    }
 
    /**
Arguments
  1. "/home/hcmi/public_html"
    
/home/hcmi/public_html/wp-content/themes/hcmi/vendor/illuminate/view/Factory.php
        $this->finder = $finder;
        $this->events = $events;
        $this->engines = $engines;
 
        $this->share('__env', $this);
    }
 
    /**
     * Get the evaluated view contents for the given view.
     *
     * @param  string  $path
     * @param  \Illuminate\Contracts\Support\Arrayable|array  $data
     * @param  array  $mergeData
     * @return \Illuminate\Contracts\View\View
     */
    public function file($path, $data = [], $mergeData = [])
    {
        $data = array_merge($mergeData, $this->parseData($data));
 
        return tap($this->viewInstance($path, $path, $data), function ($view) {
            $this->callCreator($view);
        });
    }
 
    /**
     * Get the evaluated view contents for the given view.
     *
     * @param  string  $view
     * @param  \Illuminate\Contracts\Support\Arrayable|array  $data
     * @param  array  $mergeData
     * @return \Illuminate\Contracts\View\View
     */
    public function make($view, $data = [], $mergeData = [])
    {
        $path = $this->finder->find(
            $view = $this->normalizeName($view)
        );
 
        // Next, we will create the view instance and call the view creator for the view
        // which can set any data, etc. Then we will return the view instance back to
Arguments
  1. "/home/hcmi/public_html"
    
  2. "/home/hcmi/public_html"
    
  3. []
    
/home/hcmi/public_html/wp-content/themes/hcmi/vendor/roots/acorn/src/Roots/helpers.php
 *
 * @param  string|null  $view
 * @param  \Illuminate\Contracts\Support\Arrayable|array  $data
 * @param  array  $mergeData
 * @return \Illuminate\View\View|\Illuminate\Contracts\View\Factory
 *
 * @copyright Taylor Otwell
 * @link https://github.com/laravel/framework/blob/8.x/src/Illuminate/Foundation/helpers.php
 */
function view($view = null, $data = [], $mergeData = [])
{
    $factory = \app(ViewFactory::class);
 
    if (func_num_args() === 0) {
        return $factory;
    }
 
    return $factory->exists($view)
        ? $factory->make($view, $data, $mergeData)
        : $factory->file($view, $data, $mergeData);
}
 
 
/**
 * @deprecated
 */
function app(...$args)
{
    return \app(...$args);
}
 
/**
 * @deprecated
 */
function app_path(...$args)
{
    return \app_path(...$args);
}
 
/**
Arguments
  1. "/home/hcmi/public_html"
    
  2. []
    
  3. []
    
/home/hcmi/public_html/wp-content/themes/hcmi/vendor/roots/acorn/src/Roots/globals.php
<?php
 
if (! function_exists('asset')) {
    function asset(string $asset)
    {
        return Roots\asset($asset);
    }
}
 
if (! function_exists('view')) {
    function view()
    {
        return Roots\view(...func_get_args());
    }
}
 
Arguments
  1. "/home/hcmi/public_html"
    
  2. []
    
/home/hcmi/public_html/wp-content/themes/hcmi/index.php
<html <?php language_attributes(); ?>>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
    <link rel="manifest" href="/site.webmanifest">
    <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
    <meta name="msapplication-TileColor" content="#2b5797">
    <meta name="theme-color" content="#ffffff">
    <?php wp_head(); ?>
  </head>
 
  <body <?php body_class(); ?>>
    <?php wp_body_open(); ?>
    <?php do_action('get_header'); ?>
 
    <div id="app">
      <?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
    </div>
 
    <?php do_action('get_footer'); ?>
    <?php wp_footer(); ?>
  </body>
</html>
 
Arguments
  1. "/home/hcmi/public_html"
    
  2. []
    
/home/hcmi/public_html/wp-includes/template-loader.php
            }
 
            break;
        }
    }
 
    if ( ! $template ) {
        $template = get_index_template();
    }
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    $template = apply_filters( 'template_include', $template );
    if ( $template ) {
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
Arguments
  1. "/home/hcmi/public_html/wp-content/themes/hcmi/index.php"
    
/home/hcmi/public_html/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/hcmi/public_html/wp-includes/template-loader.php"
    
/home/hcmi/public_html/index.php
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define( 'WP_USE_THEMES', true );
 
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
 
Arguments
  1. "/home/hcmi/public_html/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"LiteSpeed"
REQUEST_URI
"/"
PATH
"/usr/local/bin:/bin:/usr/bin"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_HOST
"hcmi.greenkey.global"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_X_HTTPS
"1"
DOCUMENT_ROOT
"/home/hcmi/public_html"
REMOTE_ADDR
"3.148.182.104"
REMOTE_PORT
"50359"
SERVER_ADDR
"178.20.216.62"
SERVER_NAME
"hcmi.greenkey.global"
SERVER_ADMIN
"webmaster@hcmi.kindly.dk"
SERVER_PORT
"443"
REQUEST_SCHEME
"https"
HTTPS
"on"
HTTP_AUTHORIZATION
""
X_SPDY
"HTTP2"
SSL_PROTOCOL
"TLSv1.3"
SSL_CIPHER
"TLS_AES_256_GCM_SHA384"
SSL_CIPHER_USEKEYSIZE
"256"
SSL_CIPHER_ALGKEYSIZE
"256"
SCRIPT_FILENAME
"/home/hcmi/public_html/index.php"
QUERY_STRING
""
SCRIPT_URI
"https://hcmi.greenkey.global/"
SCRIPT_URL
"/"
SCRIPT_NAME
"/index.php"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
X-LSCACHE
"on"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1747732994.1383
REQUEST_TIME
1747732994
argv
[]
argc
0
empty
0. Whoops\Handler\PrettyPageHandler