Deprecated: Return type of SendGrid\ReplyTo::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 49

Deprecated: Return type of SendGrid\ClickTracking::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 88

Deprecated: Return type of SendGrid\OpenTracking::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 127

Deprecated: Return type of SendGrid\SubscriptionTracking::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 188

Deprecated: Return type of SendGrid\Ganalytics::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 273

Deprecated: Return type of SendGrid\TrackingSettings::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 338

Deprecated: Return type of SendGrid\BccSettings::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 379

Deprecated: Return type of SendGrid\BypassListManagement::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 407

Deprecated: Return type of SendGrid\Footer::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 456

Deprecated: Return type of SendGrid\SandBoxMode::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 484

Deprecated: Return type of SendGrid\SpamCheck::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 533

Deprecated: Return type of SendGrid\MailSettings::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 606

Deprecated: Return type of SendGrid\ASM::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 648

Deprecated: Return type of SendGrid\Attachment::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 720

Deprecated: Return type of SendGrid\Content::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 768

Deprecated: Return type of SendGrid\Personalization::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 873

Deprecated: Return type of SendGrid\Email::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 924

Deprecated: Return type of SendGrid\Mail::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 1147

Deprecated: Return type of Whoops\Exception\FrameCollection::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php on line 101

Deprecated: Return type of Whoops\Exception\FrameCollection::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php on line 110

Deprecated: Return type of Whoops\Exception\FrameCollection::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php on line 119

Deprecated: Return type of Whoops\Exception\FrameCollection::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/kotech/web/sunnycreations.hk/public_html/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php on line 128
Whoops! There was an error.
6. Whoops\Exception\ErrorException
…/­vendor/­league/­container/­src/­Inflector/­InflectorAggregate.php19
5. Whoops\Run handleError
…/­vendor/­composer/­ClassLoader.php414
4. include
…/­vendor/­composer/­ClassLoader.php414
3. Composer\Autoload\includeFile
…/­vendor/­composer/­ClassLoader.php301
2. Composer\Autoload\ClassLoader loadClass
…/­vendor/­league/­container/­src/­Container.php71
1. League\Container\Container __construct
…/­src/­App/­Application.php316
0. App\Application __construct
…/­index.php14

Whoops \ Exception \ ErrorException (E_DEPRECATED)

Callstack information; navigate with mouse or keyboard using Ctrl+↑ or Ctrl+↓
Copy-to-clipboard button
Exception message and its type
Code snippet where the error was thrown
Server state information
Application provided context information
Whoops\Exception\ErrorException thrown with message "League\Container\Inflector\InflectorAggregate::add(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead" Stacktrace: #6 Whoops\Exception\ErrorException in /home/kotech/web/sunnycreations.hk/public_html/vendor/league/container/src/Inflector/InflectorAggregate.php:19 #5 Whoops\Run:handleError in /home/kotech/web/sunnycreations.hk/public_html/vendor/composer/ClassLoader.php:414 #4 include in /home/kotech/web/sunnycreations.hk/public_html/vendor/composer/ClassLoader.php:414 #3 Composer\Autoload\includeFile in /home/kotech/web/sunnycreations.hk/public_html/vendor/composer/ClassLoader.php:301 #2 Composer\Autoload\ClassLoader:loadClass in /home/kotech/web/sunnycreations.hk/public_html/vendor/league/container/src/Container.php:71 #1 League\Container\Container:__construct in /home/kotech/web/sunnycreations.hk/public_html/src/App/Application.php:316 #0 App\Application:__construct in /home/kotech/web/sunnycreations.hk/public_html/index.php:14

League\Container\Inflector\InflectorAggregate::add(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead

/home/kotech/web/sunnycreations.hk/public_html/vendor/league/container/src/Inflector/InflectorAggregate.php
     * @var array
     */
    protected $inflectors = [];
 
    /**
     * {@inheritdoc}
     */
    public function add($type, callable $callback = null)
    {
        if (is_null($callback)) {
/home/kotech/web/sunnycreations.hk/public_html/vendor/composer/ClassLoader.php
/**
 * Scope isolated include.
 *
 * Prevents access to $this/self from included files.
 */
function includeFile($file)
{
    include $file;
}
 
/home/kotech/web/sunnycreations.hk/public_html/vendor/composer/ClassLoader.php
/**
 * Scope isolated include.
 *
 * Prevents access to $this/self from included files.
 */
function includeFile($file)
{
    include $file;
}
 
/home/kotech/web/sunnycreations.hk/public_html/vendor/composer/ClassLoader.php
     *
     * @param  string    $class The name of the class
     * @return bool|null True if loaded, null otherwise
     */
    public function loadClass($class)
    {
        if ($file = $this->findFile($class)) {
            includeFile($file);
 
            return true;
/home/kotech/web/sunnycreations.hk/public_html/vendor/league/container/src/Container.php
    ) {
        // set required dependencies
        $this->providers         = (is_null($providers))
                                 ? (new ServiceProviderAggregate)->setContainer($this)
                                 : $providers->setContainer($this);
 
        $this->inflectors        = (is_null($inflectors))
                                 ? (new InflectorAggregate)->setContainer($this)
                                 : $inflectors->setContainer($this);
 
/home/kotech/web/sunnycreations.hk/public_html/src/App/Application.php
 
        $whoops = new \Whoops\Run;
        $whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler);
        $whoops->register();
 
        //R::setup("mysql:host=localhost;dbname=bullseye", "fcj_online", "ZXCasdQWE123");
 
        $this->container = new \League\Container\Container;
 
        $this->container->share('response', "Zend\\Diactoros\\Response");
/home/kotech/web/sunnycreations.hk/public_html/index.php
use App\EmailClient;
use League\Route\Http\Exception\NotFoundException;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use RedBeanPHP\R;
use Stringy\Stringy;
 
$app = new \App\Application();
$route = $app->getRoute();
 
empty
empty
empty
empty
empty
Key Value
TEMP /home/kotech/tmp
TMPDIR /home/kotech/tmp
TMP /home/kotech/tmp
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin
HOSTNAME
USER kotech
HOME /home/kotech
SCRIPT_NAME /index.php
REQUEST_URI /sitemap.xml
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /sitemap.xml
REMOTE_PORT 49494
SCRIPT_FILENAME /home/kotech/web/sunnycreations.hk/public_html/index.php
SERVER_ADMIN info@sunnycreations.hk
CONTEXT_DOCUMENT_ROOT /home/kotech/web/sunnycreations.hk/public_html
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /home/kotech/web/sunnycreations.hk/public_html
REMOTE_ADDR 216.73.216.10
SERVER_PORT 443
SERVER_ADDR 43.231.0.108
SERVER_NAME sunnycreations.com.hk
SERVER_SOFTWARE Apache/2.4.66 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.5.5
SERVER_SIGNATURE
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_X_FORWARDED_FOR 216.73.216.10
HTTP_HOST sunnycreations.com.hk
proxy-nokeepalive 1
SSL_TLS_SNI sunnycreations.com.hk
HTTPS on
REDIRECT_STATUS 200
REDIRECT_SSL_TLS_SNI sunnycreations.com.hk
REDIRECT_HTTPS on
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1792909228.8435
REQUEST_TIME 1792909228
empty
0. Whoops\Handler\PrettyPageHandler