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
Key Value
laikanxia_cookie_id
"241221223838703"
laikanxia_google_v
"1"
empty
Key Value
SERVER_SOFTWARE
"Apache"
REQUEST_URI
"/en/feed"
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
"/en/feed"
REMOTE_PORT
"24406"
SCRIPT_FILENAME
"/home/advachem/public_html/index.php"
SERVER_ADMIN
"webmaster@advachem.com"
CONTEXT_DOCUMENT_ROOT
"/home/advachem/public_html"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"http"
DOCUMENT_ROOT
"/home/advachem/public_html"
REMOTE_ADDR
"172.69.6.52"
SERVER_PORT
"80"
SERVER_ADDR
"192.168.40.102"
SERVER_NAME
"www.advachem.com"
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_CF_CONNECTING_IP
"18.191.103.228"
HTTP_CONNECTION
"Keep-Alive"
HTTP_CDN_LOOP
"cloudflare; loops=1"
HTTP_CF_VISITOR
"{\"scheme\":\"http\"}"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_X_FORWARDED_PROTO
"http"
HTTP_X_FORWARDED_FOR
"18.191.103.228"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_CF_IPCOUNTRY
"US"
HTTP_HOST
"www.advachem.com"
HTTP_COOKIE
"laikanxia_cookie_id=241221223838703; laikanxia_google_v=1"
HTTP_CF_RAY
"8f589e3a0a876157-ORD"
proxy-nokeepalive
"1"
SCRIPT_URI
"http://www.advachem.com/en/feed"
SCRIPT_URL
"/en/feed"
UNIQUE_ID
"Z2bS-kCPQ18FIQvXnW4lqwAAAA8"
REDIRECT_STATUS
"200"
REDIRECT_SCRIPT_URI
"http://www.advachem.com/en/feed"
REDIRECT_SCRIPT_URL
"/en/feed"
REDIRECT_UNIQUE_ID
"Z2bS-kCPQ18FIQvXnW4lqwAAAA8"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
"1734791930.2866"
REQUEST_TIME
"1734791930"
argv
[]
argc
"0"
empty
0. Whoops\Handler\PrettyPageHandler