February Recipes

Fatal error: Array and string offset access syntax with curly braces is no longer supported in /customers/e/3/8/midsummermadness.se/httpd.www/components/com_joomrecipe/helpers/html/joomrecipeutils.php on line 760 Crikey! There was an error...
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 /customers/e/3/8/midsummermadness.se/httpd.www/components/com_joomrecipe/helpers/html/joomrecipeutils.php:760 #2 Whoops\Run:handleError in /customers/e/3/8/midsummermadness.se/httpd.www/libraries/gantry5/vendor/filp/whoops/src/Whoops/Run.php:433 #1 Whoops\Run:handleShutdown in /customers/e/3/8/midsummermadness.se/httpd.www/libraries/gantry5/classes/Gantry/Component/Whoops/SystemFacade.php:155 #0 Gantry\Component\Whoops\SystemFacade:handleShutdown in [internal]:0
Stack frames (4)
3
Whoops\Exception\ErrorException
/customers/e/3/8/midsummermadness.se/httpd.www/components/com_joomrecipe/helpers/html/joomrecipeutils.php760
2
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php433
1
Whoops\Run handleShutdown
/classes/Gantry/Component/Whoops/SystemFacade.php155
0
Gantry\Component\Whoops\SystemFacade handleShutdown
[internal]0
    public static function htmlCut($text, $max_length) {

        $tags   = array();
        $result = "";

        $is_open   = false;
        $grab_open = false;
        $is_close  = false;
        $in_double_quotes = false;
        $in_single_quotes = false;
        $tag = "";

        $i = 0;
        $stripped = 0;

        $stripped_text = strip_tags($text);

        while ($i < strlen($text) && $stripped < strlen($stripped_text) && $stripped < $max_length)
        {
            $symbol  = $text{$i};
            $result .= $symbol;

            switch ($symbol)
            {
               case '<':
                    $is_open   = true;
                    $grab_open = true;
                    break;

               case '"':
                   if ($in_double_quotes)
                       $in_double_quotes = false;
                   else
                       $in_double_quotes = true;

                break;

                case "'":
                  if ($in_single_quotes)
                      $in_single_quotes = false;
    /**
     * Special case to deal with Fatal errors and the like.
     */
    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']
            );
        }
    }
 
    /**
     * In certain scenarios, like in shutdown handler, we can not throw exceptions
     * @var bool
     */
    private $canThrowExceptions = true;
 
    /**
     * Echo something to the browser
     * @param  string $output
     * @return $this
     */
    private function writeToOutputNow($output)
    {
        if ($this->sendHttpCode() && \Whoops\Util\Misc::canSendHeaders()) {
            $this->system->setHttpResponseCode(
                $this->sendHttpCode()
        }
 
        // 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 TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjozOntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjQ6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTcxMTYzODM1MztzOjQ6Imxhc3QiO2k6MTcxMTYzODM1MztzOjM6Im5vdyI7aToxNzExNjM4MzUzO31zOjY6ImNsaWVudCI7Tzo4OiJzdGRDbGFzcyI6MTp7czo5OiJmb3J3YXJkZWQiO3M6MTM6IjQ0LjIwNi4yMjcuNjUiO31zOjU6InRva2VuIjtzOjMyOiJjZnFKcFFkdzV3aHdaZkNKMVhjRXFmZzlUMkFTb2VJMSI7fXM6ODoicmVnaXN0cnkiO086MjQ6Ikpvb21sYVxSZWdpc3RyeVxSZWdpc3RyeSI6Mzp7czo3OiIAKgBkYXRhIjtPOjg6InN0ZENsYXNzIjowOnt9czoxNDoiACoAaW5pdGlhbGl6ZWQiO2I6MDtzOjk6InNlcGFyYXRvciI7czoxOiIuIjt9czo0OiJ1c2VyIjtPOjIwOiJKb29tbGFcQ01TXFVzZXJcVXNlciI6MTp7czoyOiJpZCI7aTowO319fXM6MTQ6IgAqAGluaXRpYWxpemVkIjtiOjA7czo5OiJzZXBhcmF0b3IiO3M6MToiLiI7fQ==
Key Value
ONECOM_DOMAIN_NAME midsummermadness.se
ONECOM_DOMAIN_ROOT /customers/e/3/8/midsummermadness.se/
ONECOM_MEMORYLIMIT 8589934592
ONECOM_CPU_SHARES 8192
ONECOM_EXEC php8.0
ONECOM_CONFIG_MTIME 1710433084066313
CONTENT_LENGTH 0
HTTP_CONNECTION close
PATH_TRANSLATED /customers/e/3/8/midsummermadness.se/httpd.www/component/joomrecipe/recipes/seasons/FEB-february
PATH_INFO /component/joomrecipe/recipes/seasons/FEB-february
SCRIPT_NAME /index.php
REQUEST_URI /index.php/component/joomrecipe/recipes/seasons/FEB-february
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 45472
SCRIPT_FILENAME /customers/e/3/8/midsummermadness.se/httpd.www/index.php
SERVER_ADMIN support@one.com
CONTEXT_DOCUMENT_ROOT /var/www
CONTEXT_PREFIX
REQUEST_SCHEME https
REMOTE_ADDR 44.206.227.65
SERVER_PORT 80
SERVER_ADDR 10.27.3.2
SERVER_NAME midsummermadness.se
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HTTP_X_VARNISH 7542407182
HTTP_ACCEPT_ENCODING gzip
HTTP_X_ORIGINAL_URL /index.php/component/joomrecipe/recipes/seasons/FEB-february
HTTP_X_ONECOM_HOST midsummermadness.se
HTTP_X_GROUPONE_BRAND one.com
HTTP_X_ONECOM_BRAND one.com
HTTP_X_FORWARDED_PROTO https
HTTP_X_ONECOM_FORWARDED_PROTO https
HTTP_VIA 1.1 webcache1 (Varnish/trunk)
HTTP_X_FORWARDED_FOR 44.206.227.65
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST midsummermadness.se
HTTP_SCHEME https
ENV_VCV_ENV_ADDONS_ID one.com
ENV_VCV_TOKEN_URL https://wpapi.one.com/api/v1.0/plugins/visualcomposer/activate
ONECOM_WP_ADDONS_API https://wpapi.one.com
ONECOM_WEBSHOP_HOST webshop2.cst.webpod11-cph3.one.com
HTTPS on
ONECOM_PHP_WORKERS 24
GROUPONE_BRAND_NAME one.com
ONECOM_BRAND_ID 1
ONECOM_TMPDIR /customers/e/3/8/midsummermadness.se//tmp
DOMAIN_NAME midsummermadness.se
ONECOM_DOCUMENT_ROOT /customers/e/3/8/midsummermadness.se/httpd.www
DOCUMENT_ROOT /customers/e/3/8/midsummermadness.se/httpd.www
FCGI_ROLE RESPONDER
PHP_SELF /index.php/component/joomrecipe/recipes/seasons/FEB-february
REQUEST_TIME_FLOAT 1711638353.0517
REQUEST_TIME 1711638353
Key Value
ONECOM_DOMAIN_NAME midsummermadness.se
ONECOM_DOMAIN_ROOT /customers/e/3/8/midsummermadness.se/
ONECOM_MEMORYLIMIT 8589934592
ONECOM_CPU_SHARES 8192
ONECOM_EXEC php8.0
ONECOM_CONFIG_MTIME 1710433084066313
CONTENT_LENGTH 0
HTTP_CONNECTION close
PATH_TRANSLATED /customers/e/3/8/midsummermadness.se/httpd.www/component/joomrecipe/recipes/seasons/FEB-february
PATH_INFO /component/joomrecipe/recipes/seasons/FEB-february
SCRIPT_NAME /index.php
REQUEST_URI /index.php/component/joomrecipe/recipes/seasons/FEB-february
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 45472
SCRIPT_FILENAME /customers/e/3/8/midsummermadness.se/httpd.www/index.php
SERVER_ADMIN support@one.com
CONTEXT_DOCUMENT_ROOT /var/www
CONTEXT_PREFIX
REQUEST_SCHEME https
REMOTE_ADDR 44.206.227.65
SERVER_PORT 80
SERVER_ADDR 10.27.3.2
SERVER_NAME midsummermadness.se
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HTTP_X_VARNISH 7542407182
HTTP_ACCEPT_ENCODING gzip
HTTP_X_ORIGINAL_URL /index.php/component/joomrecipe/recipes/seasons/FEB-february
HTTP_X_ONECOM_HOST midsummermadness.se
HTTP_X_GROUPONE_BRAND one.com
HTTP_X_ONECOM_BRAND one.com
HTTP_X_FORWARDED_PROTO https
HTTP_X_ONECOM_FORWARDED_PROTO https
HTTP_VIA 1.1 webcache1 (Varnish/trunk)
HTTP_X_FORWARDED_FOR 44.206.227.65
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST midsummermadness.se
HTTP_SCHEME https
ENV_VCV_ENV_ADDONS_ID one.com
ENV_VCV_TOKEN_URL https://wpapi.one.com/api/v1.0/plugins/visualcomposer/activate
ONECOM_WP_ADDONS_API https://wpapi.one.com
ONECOM_WEBSHOP_HOST webshop2.cst.webpod11-cph3.one.com
HTTPS on
ONECOM_PHP_WORKERS 24
GROUPONE_BRAND_NAME one.com
ONECOM_BRAND_ID 1
ONECOM_TMPDIR /customers/e/3/8/midsummermadness.se//tmp
DOMAIN_NAME midsummermadness.se
ONECOM_DOCUMENT_ROOT /customers/e/3/8/midsummermadness.se/httpd.www
DOCUMENT_ROOT /customers/e/3/8/midsummermadness.se/httpd.www
FCGI_ROLE RESPONDER
0. Whoops\Handler\PrettyPageHandler