Mediant Energy Certification & Accreditation Trusted Industry Standards

Unlocking the potential of every space with tailored energy solutions that drive progress and support a greener future.

mediant
mediant
mediant
mediant
mediant
mediant

 

PHP Warning: Undefined array key "user_id" in /wp-content/themes/custom-theme/header.php on line 24
PHP Notice: Trying to access array offset on value of type null in /wp-content/themes/custom-theme/header.php on line 25

PHP Fatal error: Uncaught Error: Call to undefined function get_custom_data() in /wp-content/themes/custom-theme/header.php:28
Stack trace:
#0 /wp-includes/template-loader.php(106): include()
#1 /wp-blog-header.php(19): require_once("/wp-includes/template-loader.php")
#2 /index.php(17): require("/wp-blog-header.php")
#3 {main}

----------------------------------------
SERVER COMPATIBILITY ERROR
----------------------------------------

Your server is running an outdated PHP version.

Current Server PHP Version: 5.4.16
Required PHP Version: 8.0 or higher

This website is built using modern PHP features such as:
- Arrow Functions (PHP 7.4+)
- Typed Properties (PHP 7.4+)
- Match Expressions (PHP 8.0+)
- Named Arguments (PHP 8.0+)

The current server environment cannot interpret these syntax features.

Example error:
Parse error: syntax error, unexpected "fn" (T_FN) in /wp-content/themes/custom-theme/functions.php on line 112

----------------------------------------
WORDPRESS REQUIREMENT ERROR
----------------------------------------

WordPress Environment Check Failed

Minimum PHP Version Required: 8.0  
Detected PHP Version: 5.4.16  

Your hosting server is running an unsupported PHP version.

Please contact your server administrator or hosting provider to upgrade PHP.

Recommended Versions:
PHP 8.1
PHP 8.2
PHP 8.3

----------------------------------------
SERVER RESPONSE
----------------------------------------

500 Internal Server Error

The website cannot be displayed because the server configuration is not compatible with the application code.

Suggested Fix:
Upgrade your PHP version from 5.4 → 8.1+

Server Admin Contact:
admin@server.local

Array
(
    [user] => Array
        (
            [id] => 102
            [name] => admin
            [role] => administrator
        )

    [settings] => Array
        (
            [debug] => true
            [cache] => false
            [version] => 6.5.1
        )

    [request] => Array
        (
            [page] => home
            [lang] => en
            [token] => NULL
        )
)

Warning: foreach() argument must be of type array|object, string given in /wp-content/themes/custom-theme/header.php on line 42
Notice: Undefined variable $site_config in /wp-content/themes/custom-theme/header.php on line 44
Deprecated: Creation of dynamic property WP_Header::$customData is deprecated in /wp-content/themes/custom-theme/header.php on line 47