Fatal error: Declaration of Syltaen\Users::key($key) must be compatible with Syltaen\Model::key() in /home/advachem/public_html/wp-content/themes/syltaen/Models/Users/Users.php on line 5
Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_COMPILE_ERROR)
Declaration of Syltaen\Users::key($key) must be compatible with Syltaen\Model::key() Whoops\Exception\ErrorException thrown with message "Declaration of Syltaen\Users::key($key) must be compatible with Syltaen\Model::key()" Stacktrace: #0 Whoops\Exception\ErrorException in /home/advachem/public_html/wp-content/themes/syltaen/Models/Users/Users.php:5
Stack frames (1)
0
Whoops
\
Exception
\
ErrorException
/
home
/
advachem
/
public_html
/
wp-content
/
themes
/
syltaen
/
Models
/
Users
/
Users.php
5
<?php
 
namespace Syltaen;
 
class Users extends UsersModel
{
 
    public function __construct()
    {
        parent::__construct();
 
        $this->fields = [
            // "key"
        ];
    }
 
 
    // =============================================================================
    // > UNIQUE KEY
    // =============================================================================
    /**
     * Get a user by its user unique key
     *
     * @param string $key
     * @return self
     */
    public function key($key)
    {
        return $this->meta("key", $key);
    }
 
 
    /**
     * Generate a unique user key
     *
     * @return string
     */
    public static function generateKey($prefix = "", $suffix = "")
    {
        return $prefix . sha1(microtime(true) . mt_rand(10000, 90000)) . $suffix;
Arguments
  1. "Declaration of Syltaen\Users::key($key) must be compatible with Syltaen\Model::key()"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache"
REQUEST_URI
"/fr/portfolio-type/amenagement-dune-terrasse/img_6431/"
USER
"advachem"
HOME
"/home/advachem"
SCRIPT_NAME
"/index.php"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/fr/portfolio-type/amenagement-dune-terrasse/img_6431/"
REMOTE_PORT
"51454"
SCRIPT_FILENAME
"/home/advachem/public_html/index.php"
SERVER_ADMIN
"webmaster@advachem.com"
CONTEXT_DOCUMENT_ROOT
"/home/advachem/public_html"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/home/advachem/public_html"
REMOTE_ADDR
"3.80.3.57"
SERVER_PORT
"443"
SERVER_ADDR
"192.168.40.102"
SERVER_NAME
"www.corisimmo.eu"
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
"www.corisimmo.eu"
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
"www.corisimmo.eu"
HTTPS
"on"
SCRIPT_URI
"https://www.corisimmo.eu/fr/portfolio-type/amenagement-dune-terrasse/img_6431/"
SCRIPT_URL
"/fr/portfolio-type/amenagement-dune-terrasse/img_6431/"
UNIQUE_ID
"Y4He4gHmbenBvnXDRsqP6gAAAAY"
REDIRECT_STATUS
"200"
REDIRECT_SSL_TLS_SNI
"www.corisimmo.eu"
REDIRECT_HTTPS
"on"
REDIRECT_SCRIPT_URI
"https://www.corisimmo.eu/fr/portfolio-type/amenagement-dune-terrasse/img_6431/"
REDIRECT_SCRIPT_URL
"/fr/portfolio-type/amenagement-dune-terrasse/img_6431/"
REDIRECT_UNIQUE_ID
"Y4He4gHmbenBvnXDRsqP6gAAAAY"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
"1669455586.2828"
REQUEST_TIME
"1669455586"
argv
[]
argc
"0"
empty
0. Whoops\Handler\PrettyPageHandler