Whoops \ Exception \ ErrorException (E_COMPILE_ERROR)
Array and string offset access syntax with curly braces is no longer supported Whoops\Exception\ErrorException thrown with message "Array and string offset access syntax with curly braces is no longer supported" Stacktrace: #3 Whoops\Exception\ErrorException in /home/danovici/public_html/ventanaplast.ro/administrator/components/com_easyslider/classes/jsn.easyslider.slider.php:56 #2 Whoops\Run:handleError in /home/danovici/public_html/ventanaplast.ro/libraries/gantry5/vendor/filp/whoops/src/Whoops/Run.php:486 #1 Whoops\Run:handleShutdown in /home/danovici/public_html/ventanaplast.ro/libraries/gantry5/src/classes/Gantry/Component/Whoops/SystemFacade.php:160 #0 Gantry\Component\Whoops\SystemFacade:handleShutdown in [internal]:0
Stack frames (4)
3
Whoops\Exception\ErrorException
/home/danovici/public_html/ventanaplast.ro/administrator/components/com_easyslider/classes/jsn.easyslider.slider.php56
2
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php486
1
Whoops\Run handleShutdown
/src/classes/Gantry/Component/Whoops/SystemFacade.php160
0
Gantry\Component\Whoops\SystemFacade handleShutdown
[internal]0
        {
            $query = $this->_db->getQuery(true);
            $query->clear();
            $query->select('*');
            $query->from($this->_db->quoteName('#__jsn_easyslider_sliders'));
            $query->where($this->_db->quoteName('slider_id') . ' =  ' . (int) $sliderID /*. ' AND ' . $this->_db->quoteName('published') . ' = 1'*/ );
            $this->_db->setQuery($query);
            return $this->_db->loadObject();
        }
        catch (Exception $e)
        {
            return false;
        }
    }
 
 
    public function randomString($length = 32, $chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890')
    {
        $charsLength     = (strlen($chars) - 1);
        $string         = $chars{rand(0, $charsLength)};
 
        for ($i = 1; $i < $length; $i = strlen($string))
        {
            $r = $chars{rand(0, $charsLength)};
            if ($r != $string{$i - 1}) $string .=  $r;
        }
 
        return $string;
    }
}
     *
     * @return void
     */
    public function handleShutdown()
    {
        // If we reached this step, we are in shutdown handler.
        // An exception thrown in a shutdown handler will not be propagated
        // to the exception handler. Pass that information along.
        $this->canThrowExceptions = false;
 
        $error = $this->system->getLastError();
        if ($error && Misc::isLevelFatal($error['type'])) {
            // If there was a fatal error,
            // it was not handled in handleError yet.
            $this->allowQuit = false;
            $this->handleError(
                $error['type'],
                $error['message'],
                $error['file'],
                $error['line']
            );
        }
    }
 
    /**
     * @param Throwable $exception
     *
     * @return Inspector
     */
    private function getInspector($exception)
    {
        return new Inspector($exception);
    }
 
    /**
     * Resolves the giving handler.
     *
     * @param callable|HandlerInterface $handler
     *
     * @return HandlerInterface
        }
 
        // Propagate error to the next handler.
        if ($this->platformExceptionHandler) {
            call_user_func_array($this->platformExceptionHandler, [&$exception]);
        }
    }
 
    /**
     * Special case to deal with Fatal errors and the like.
     */
    public function handleShutdown()
    {
        $handler = $this->whoopsShutdownHandler;
 
        $error = $this->getLastError();
 
        // Ignore core warnings and errors.
        if ($error && !($error['type'] & (E_CORE_WARNING | E_CORE_ERROR))) {
            $handler();
        }
    }
}
 

Environment & details:

empty
empty
empty
empty
Key Value
joomla TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjo0OntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjM6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTcxMTcxNjczMztzOjQ6Imxhc3QiO2k6MTcxMTcxNjczMztzOjM6Im5vdyI7aToxNzExNzE2NzMzO31zOjY6ImNsaWVudCI7Tzo4OiJzdGRDbGFzcyI6MTp7czo5OiJmb3J3YXJkZWQiO3M6MTM6IjQ0LjE5NS4zMC4yMTYiO319czo4OiJyZWdpc3RyeSI7TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjA6e31zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO31zOjQ6InVzZXIiO086MjA6Ikpvb21sYVxDTVNcVXNlclxVc2VyIjoxOntzOjI6ImlkIjtpOjA7fXM6MjU6InBsZ19zeXN0ZW1fbGFuZ3VhZ2VmaWx0ZXIiO086ODoic3RkQ2xhc3MiOjE6e3M6ODoibGFuZ3VhZ2UiO3M6NToicm8tUk8iO319fXM6MTQ6IgAqAGluaXRpYWxpemVkIjtiOjA7czo5OiJzZXBhcmF0b3IiO3M6MToiLiI7fQ==
Key Value
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
HTTP_ACCEPT */*
HTTP_CONNECTION close
CONTENT_LENGTH 0
HTTP_HOST ventanaplast.ro
HTTP_REFERER http://ventanaplast.ro/produse/protectie/pereti-de-vant
HTTP_USER_AGENT claudebot
HTTP_X_FORWARDED_FOR 44.195.30.216
HTTP_X_FORWARDED_PROTO https
HTTP_X_REAL_IP 44.195.30.216
REDIRECT_HTTPS on
REDIRECT_UNIQUE_ID Zga5ffClBSaO4xTrqZQ4tAAAANI
REDIRECT_SSL on
REDIRECT_SCRIPT_URL /produse/protectie/pereti-de-vant
REDIRECT_SCRIPT_URI https://ventanaplast.ro/produse/protectie/pereti-de-vant
REDIRECT_HTTP_AUTHORIZATION
REDIRECT_STATUS 200
HTTPS on
UNIQUE_ID Zga5ffClBSaO4xTrqZQ4tAAAANI
SSL on
SCRIPT_URL /produse/protectie/pereti-de-vant
SCRIPT_URI https://ventanaplast.ro/produse/protectie/pereti-de-vant
HTTP_AUTHORIZATION
SERVER_SIGNATURE <address>Apache Server at ventanaplast.ro Port 443</address>
SERVER_SOFTWARE Apache
SERVER_NAME ventanaplast.ro
SERVER_ADDR 185.2.168.12
SERVER_PORT 443
REMOTE_ADDR 44.195.30.216
DOCUMENT_ROOT /home/danovici/public_html/ventanaplast.ro
REQUEST_SCHEME https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /home/danovici/public_html/ventanaplast.ro
SERVER_ADMIN webmaster@ventanaplast.brilliant-mariage.ro
SCRIPT_FILENAME /home/danovici/public_html/ventanaplast.ro/index.php
REMOTE_PORT 52780
REDIRECT_URL /produse/protectie/pereti-de-vant
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /produse/protectie/pereti-de-vant
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711716733.3806
REQUEST_TIME 1711716733
empty
0. Whoops\Handler\PrettyPageHandler