project-single
Aedes 2019
Next: HANGZHOU ASIAN GAMES PARK
 
project-information
project-thumbnail-close
project-thumbnail
project-thumbnail-close
cursor-previous
cursor-next
EST NY US
GTM+1 NL DE
GTM+8 HZ CN
AA
Kirby CMS Debugger
Whoops \ Exception \ ErrorException (E_WARNING)
get_resource_type() expects parameter 1 to be resource, null given Whoops\Exception\ErrorException thrown with message "get_resource_type() expects parameter 1 to be resource, null given" Stacktrace: #2 Whoops\Exception\ErrorException in /nfs/c02/h06/mnt/15188/domains/archi-tectonics.com/html/kirby/vendor/getkirby/toolkit/vendors/abeautifulsite/SimpleImage.php:57 #1 get_resource_type in /nfs/c02/h06/mnt/15188/domains/archi-tectonics.com/html/kirby/vendor/getkirby/toolkit/vendors/abeautifulsite/SimpleImage.php:57 #0 abeautifulsite\SimpleImage:__destruct in [internal]:0
Stack frames (3)
2
Whoops
\
Exception
\
ErrorException
/
vendor
/
getkirby
/
toolkit
/
vendors
/
abeautifulsite
/
SimpleImage.php
57
1
get_resource_type
/
vendor
/
getkirby
/
toolkit
/
vendors
/
abeautifulsite
/
SimpleImage.php
57
0
abeautifulsite
\
SimpleImage
__destruct
[internal]
0
/
nfs
/
c02
/
h06
/
mnt
/
15188
/
domains
/
archi-tectonics.com
/
html
/
kirby
/
vendor
/
getkirby
/
toolkit
/
vendors
/
abeautifulsite
/
SimpleImage.php
     *                                  Where red, green, blue - integers 0-255, alpha - integer 0-127<br>
     *                                  (is used for creating image from scratch)
     *
     * @throws Exception
     *
     */
    public function __construct($filename = null, $width = null, $height = null, $color = null) {
        if ($filename !== null) {
            $this->load($filename);
        } elseif ($width !== null) {
            $this->create($width, $height, $color);
        }
    }
 
    /**
     * Destroy image resource
     *
     */
    public function __destruct() {
        if( get_resource_type($this->image) === 'gd' ) {
            imagedestroy($this->image);
        }
    }
 
    /**
     * Adaptive resize
     *
     * This function has been deprecated and will be removed in an upcoming release. Please
     * update your code to use the `thumbnail()` method instead. The arguments for both
     * methods are exactly the same.
     *
     * @param int           $width
     * @param int|null      $height If omitted - assumed equal to $width
     *
     * @return SimpleImage
     *
     */
    public function adaptive_resize($width, $height = null) {
 
        return $this->thumbnail($width, $height);
/
nfs
/
c02
/
h06
/
mnt
/
15188
/
domains
/
archi-tectonics.com
/
html
/
kirby
/
vendor
/
getkirby
/
toolkit
/
vendors
/
abeautifulsite
/
SimpleImage.php
     *                                  Where red, green, blue - integers 0-255, alpha - integer 0-127<br>
     *                                  (is used for creating image from scratch)
     *
     * @throws Exception
     *
     */
    public function __construct($filename = null, $width = null, $height = null, $color = null) {
        if ($filename !== null) {
            $this->load($filename);
        } elseif ($width !== null) {
            $this->create($width, $height, $color);
        }
    }
 
    /**
     * Destroy image resource
     *
     */
    public function __destruct() {
        if( get_resource_type($this->image) === 'gd' ) {
            imagedestroy($this->image);
        }
    }
 
    /**
     * Adaptive resize
     *
     * This function has been deprecated and will be removed in an upcoming release. Please
     * update your code to use the `thumbnail()` method instead. The arguments for both
     * methods are exactly the same.
     *
     * @param int           $width
     * @param int|null      $height If omitted - assumed equal to $width
     *
     * @return SimpleImage
     *
     */
    public function adaptive_resize($width, $height = null) {
 
        return $this->thumbnail($width, $height);
[internal]

Environment & details:

Key Value
Kirby Toolkit v2.4.1
Kirby CMS v2.4.1
empty
empty
empty
empty
empty
Key Value
PHPRC /home/15188/etc/
PATH /usr/local/bin:/usr/bin:/bin
PWD /etc/apache2/gs-bin
SHLVL 0
SCRIPT_NAME /index.php
REQUEST_URI /work/aedes-2019
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /work/aedes-2019
REMOTE_PORT 40012
SCRIPT_FILENAME /home/15188/domains/archi-tectonics.com/html/index.php
SERVER_ADMIN webmaster@archi-tectonics.com
DOCUMENT_ROOT /home/15188/domains/archi-tectonics.com/html
REMOTE_ADDR 54.82.119.116
SERVER_PORT 80
SERVER_ADDR 64.13.232.211
SERVER_NAME archi-tectonics.com
SERVER_SOFTWARE Apache/2.2.34
SERVER_SIGNATURE
Apache/2.2.34 Server at archi-tectonics.com Port 80
HTTP_ACCEPT_ENCODING gzip
HTTP_CONNECTION close
HTTP_HOST archi-tectonics.com
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/)
SITE_HTMLROOT /home/15188/domains/archi-tectonics.com/html
SITE_CGIROOT /home/15188/cgi-bin
SITE_ROOT /home/15188
DATABASE_SERVER internal-db.s15188.gridserver.com
ACCESS_DOMAIN s15188.gridserver.com
WM_UCONTROL_XMLRPC_SERVER http://10.0.0.13
proxy_nokeepalive 1
force_proxy_request_1_0 1
SCRIPT_URI http://archi-tectonics.com/work/aedes-2019
SCRIPT_URL /work/aedes-2019
UNIQUE_ID XLozSUAN6BAAADQv0doAAAA9
REDIRECT_STATUS 200
REDIRECT_WM_UCONTROL_XMLRPC_SERVER http://10.0.0.13
REDIRECT_proxy_nokeepalive 1
REDIRECT_force_proxy_request_1_0 1
REDIRECT_SCRIPT_URI http://archi-tectonics.com/work/aedes-2019
REDIRECT_SCRIPT_URL /work/aedes-2019
REDIRECT_UNIQUE_ID XLozSUAN6BAAADQv0doAAAA9
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1555706697.6017
REQUEST_TIME 1555706697
argv Array ( )
argc 0
Key Value
PHPRC /home/15188/etc/
PATH /usr/local/bin:/usr/bin:/bin
PWD /etc/apache2/gs-bin
SHLVL 0
SCRIPT_NAME /index.php
REQUEST_URI /work/aedes-2019
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /work/aedes-2019
REMOTE_PORT 40012
SCRIPT_FILENAME /home/15188/domains/archi-tectonics.com/html/index.php
SERVER_ADMIN webmaster@archi-tectonics.com
DOCUMENT_ROOT /home/15188/domains/archi-tectonics.com/html
REMOTE_ADDR 54.82.119.116
SERVER_PORT 80
SERVER_ADDR 64.13.232.211
SERVER_NAME archi-tectonics.com
SERVER_SOFTWARE Apache/2.2.34
SERVER_SIGNATURE
Apache/2.2.34 Server at archi-tectonics.com Port 80
HTTP_ACCEPT_ENCODING gzip
HTTP_CONNECTION close
HTTP_HOST archi-tectonics.com
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/)
SITE_HTMLROOT /home/15188/domains/archi-tectonics.com/html
SITE_CGIROOT /home/15188/cgi-bin
SITE_ROOT /home/15188
DATABASE_SERVER internal-db.s15188.gridserver.com
ACCESS_DOMAIN s15188.gridserver.com
WM_UCONTROL_XMLRPC_SERVER http://10.0.0.13
proxy_nokeepalive 1
force_proxy_request_1_0 1
SCRIPT_URI http://archi-tectonics.com/work/aedes-2019
SCRIPT_URL /work/aedes-2019
UNIQUE_ID XLozSUAN6BAAADQv0doAAAA9
REDIRECT_STATUS 200
REDIRECT_WM_UCONTROL_XMLRPC_SERVER http://10.0.0.13
REDIRECT_proxy_nokeepalive 1
REDIRECT_force_proxy_request_1_0 1
REDIRECT_SCRIPT_URI http://archi-tectonics.com/work/aedes-2019
REDIRECT_SCRIPT_URL /work/aedes-2019
REDIRECT_UNIQUE_ID XLozSUAN6BAAADQv0doAAAA9
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1555706697.6017
REQUEST_TIME 1555706697
argv Array ( )
argc 0
0. Whoops\Handler\PrettyPageHandler