Whoops \ Exception \ ErrorException (E_COMPILE_ERROR)
Cannot use "parent" when current class scope has no parent Whoops\Exception\ErrorException thrown with message "Cannot use "parent" when current class scope has no parent" Stacktrace: #0 Whoops\Exception\ErrorException in /home/ang2990/cachesuite.com/kirby/src/Cms/FileVersion.php:92
Stack frames (1)
0
Whoops
\
Exception
\
ErrorException
/
src
/
Cms
/
FileVersion.php
92
/
home
/
ang2990
/
cachesuite.com
/
kirby
/
src
/
Cms
/
FileVersion.php
    }
 
    protected function setModifications(array $modifications = null)
    {
        $this->modifications = $modifications;
    }
 
    protected function setOriginal($original)
    {
        $this->original = $original;
    }
 
    /**
     * Convert the object to an array
     *
     * @return array
     */
    public function toArray(): array
    {
        $array = array_merge(parent::toArray(), [
            'modifications' => $this->modifications(),
        ]);
 
        ksort($array);
 
        return $array;
    }
}
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
CONTENT_LENGTH 0
HTTP_CONNECTION close
SCRIPT_NAME /index.php
REQUEST_URI /november-19th-2019/1:pros-and-cons
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/2.0
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /november-19th-2019/1:pros-and-cons
REMOTE_PORT 37820
SCRIPT_FILENAME /home/ang2990/cachesuite.com/index.php
SERVER_ADMIN webmaster@cachesuite.com
CONTEXT_DOCUMENT_ROOT /home/ang2990/cachesuite.com
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /home/ang2990/cachesuite.com
REMOTE_ADDR 54.226.126.38
SERVER_PORT 443
SERVER_ADDR 208.113.215.92
SERVER_NAME cachesuite.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
HTTP_HOST cachesuite.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
SSL_TLS_SNI cachesuite.com
HTTPS on
H2_STREAM_TAG 10134-3
H2_STREAM_ID 3
H2_PUSHED_ON
H2_PUSHED
H2_PUSH off
H2PUSH off
HTTP2 on
DH_USER ang2990
ds_id_39875598
dsid 39875598
HTTP_AUTHORIZATION
SCRIPT_URI https://cachesuite.com/november-19th-2019/1:pros-and-cons
SCRIPT_URL /november-19th-2019/1:pros-and-cons
QS_ConnectionId 171164955426715637342629
QS_AllConn 8
QS_SrvConn 8
UNIQUE_ID ZgWzE3jim5Z-yd@Ku9ZavAAAAAM
REDIRECT_STATUS 200
REDIRECT_SSL_TLS_SNI cachesuite.com
REDIRECT_HTTPS on
REDIRECT_H2_STREAM_TAG 10134-3
REDIRECT_H2_STREAM_ID 3
REDIRECT_H2_PUSHED_ON
REDIRECT_H2_PUSHED
REDIRECT_H2_PUSH off
REDIRECT_H2PUSH off
REDIRECT_HTTP2 on
REDIRECT_DH_USER ang2990
REDIRECT_ds_id_39875598
REDIRECT_dsid 39875598
REDIRECT_HTTP_AUTHORIZATION
REDIRECT_SCRIPT_URI https://cachesuite.com/november-19th-2019/1:pros-and-cons
REDIRECT_SCRIPT_URL /november-19th-2019/1:pros-and-cons
REDIRECT_QS_ConnectionId 171164955426715637342629
REDIRECT_QS_AllConn 8
REDIRECT_QS_SrvConn 8
REDIRECT_UNIQUE_ID ZgWzE3jim5Z-yd@Ku9ZavAAAAAM
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711649555.5009
REQUEST_TIME 1711649555
Key Value
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
CONTENT_LENGTH 0
HTTP_CONNECTION close
SCRIPT_NAME /index.php
REQUEST_URI /november-19th-2019/1:pros-and-cons
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/2.0
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /november-19th-2019/1:pros-and-cons
REMOTE_PORT 37820
SCRIPT_FILENAME /home/ang2990/cachesuite.com/index.php
SERVER_ADMIN webmaster@cachesuite.com
CONTEXT_DOCUMENT_ROOT /home/ang2990/cachesuite.com
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /home/ang2990/cachesuite.com
REMOTE_ADDR 54.226.126.38
SERVER_PORT 443
SERVER_ADDR 208.113.215.92
SERVER_NAME cachesuite.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
HTTP_HOST cachesuite.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
SSL_TLS_SNI cachesuite.com
HTTPS on
H2_STREAM_TAG 10134-3
H2_STREAM_ID 3
H2_PUSHED_ON
H2_PUSHED
H2_PUSH off
H2PUSH off
HTTP2 on
DH_USER ang2990
ds_id_39875598
dsid 39875598
HTTP_AUTHORIZATION
SCRIPT_URI https://cachesuite.com/november-19th-2019/1:pros-and-cons
SCRIPT_URL /november-19th-2019/1:pros-and-cons
QS_ConnectionId 171164955426715637342629
QS_AllConn 8
QS_SrvConn 8
UNIQUE_ID ZgWzE3jim5Z-yd@Ku9ZavAAAAAM
REDIRECT_STATUS 200
REDIRECT_SSL_TLS_SNI cachesuite.com
REDIRECT_HTTPS on
REDIRECT_H2_STREAM_TAG 10134-3
REDIRECT_H2_STREAM_ID 3
REDIRECT_H2_PUSHED_ON
REDIRECT_H2_PUSHED
REDIRECT_H2_PUSH off
REDIRECT_H2PUSH off
REDIRECT_HTTP2 on
REDIRECT_DH_USER ang2990
REDIRECT_ds_id_39875598
REDIRECT_dsid 39875598
REDIRECT_HTTP_AUTHORIZATION
REDIRECT_SCRIPT_URI https://cachesuite.com/november-19th-2019/1:pros-and-cons
REDIRECT_SCRIPT_URL /november-19th-2019/1:pros-and-cons
REDIRECT_QS_ConnectionId 171164955426715637342629
REDIRECT_QS_AllConn 8
REDIRECT_QS_SrvConn 8
REDIRECT_UNIQUE_ID ZgWzE3jim5Z-yd@Ku9ZavAAAAAM
FCGI_ROLE RESPONDER
0. Whoops\Handler\PrettyPageHandler