Fatal error: Call to undefined method JchOptimizeLinkBuilder::getEndHeadTag() in /var/www/atlas-ellebye.dk/public_html/plugins/system/jch_optimize/jchoptimize/linkbuilder.php on line 507
Crikey! There was an error...
Whoops \ Exception \ ErrorException (E_ERROR)
Call to undefined method JchOptimizeLinkBuilder::getEndHeadTag() Whoops\Exception\ErrorException thrown with message "Call to undefined method JchOptimizeLinkBuilder::getEndHeadTag()" Stacktrace: #0 Whoops\Exception\ErrorException in /var/www/atlas-ellebye.dk/public_html/plugins/system/jch_optimize/jchoptimize/linkbuilder.php:507
Stack frames (1)
0
Whoops
\
Exception
\
ErrorException
/
var
/
www
/
atlas-ellebye.dk
/
public_html
/
plugins
/
system
/
jch_optimize
/
jchoptimize
/
linkbuilder.php
507
        //If files were excluded while preserving execution order and a combined js file falls below the last excluded file,
        //or if no files were excluded, we may need to add the async attribute or place it at the bottom 
        if($sType == 'js' && !$this->oParser->bExclude_js)
        {
            //Get last js index
            $iIndex = $this->oParser->iIndex_js;
            $sNewLinkLast = str_replace('JCHI', $iIndex, $sNewLink);

            //Place last combined js file at bottom of page if option is set
            if ($this->params->get('pro_bottom_js', '0') == '1')
            {
                //Add async attribute to last combined js file if option is set
                $sNewLinkLast = str_replace('></script>', $this->getAsyncAttribute($iIndex) . '></script>', $sNewLinkLast);
                $sSearchArea = preg_replace('#' . self::getEndBodyTag() . '#i', $this->sTab . $sNewLinkLast . $this->sLnEnd . '</body>', 
                    $sSearchArea, 1);
            }
            //Or put it at the bottom of the HEAD section
            else
            {
                $sSearchArea = preg_replace('#' . self::getEndHeadTag() . '#i', $this->sTab . $sNewLinkLast . $this->sLnEnd . '</head>', 
                    $sSearchArea, 1);
            }
        }

        $sSearchArea = preg_replace_callback('#<JCH_' . strtoupper($sType) . '([^>]++)>#',
                                       function($aM) use ($sNewLink)
        {
            return str_replace('JCHI', $aM[1], $sNewLink);
        }, $sSearchArea);

                $this->oParser->setFullHtml($sSearchArea);

                JCH_DEBUG ? JchPlatformProfiler::stop('ReplaceLinks - ' . $sType, TRUE) : null;
        }

        /**
         * Create and cache aggregated file if it doesn't exists.
         *
         * @param array $aFunction    Name of function used to aggregate files
         * @param array $aArgs        Arguments used by function above

Environment & details:

empty
empty
empty
empty
Key Value
joomla TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjo0OntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjM6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTU0NDYxMTE4MTtzOjQ6Imxhc3QiO2k6MTU0NDYxMTE4MTtzOjM6Im5vdyI7aToxNTQ0NjExMTgxO31zOjU6InRva2VuIjtzOjMyOiJxUk9zUFIwRmNpdVgwbUt6bE5PT1RwSHVVWFdRVWg2VSI7fXM6ODoicmVnaXN0cnkiO086MjQ6Ikpvb21sYVxSZWdpc3RyeVxSZWdpc3RyeSI6Mzp7czo3OiIAKgBkYXRhIjtPOjg6InN0ZENsYXNzIjoxOntzOjU6InVzZXJzIjtPOjg6InN0ZENsYXNzIjoxOntzOjU6ImxvZ2luIjtPOjg6InN0ZENsYXNzIjoxOntzOjQ6ImZvcm0iO086ODoic3RkQ2xhc3MiOjE6e3M6NDoiZGF0YSI7YTowOnt9fX19fXM6MTQ6IgAqAGluaXRpYWxpemVkIjtiOjA7czo5OiJzZXBhcmF0b3IiO3M6MToiLiI7fXM6NDoidXNlciI7TzoyMDoiSm9vbWxhXENNU1xVc2VyXFVzZXIiOjE6e3M6MjoiaWQiO2k6MDt9czoyNToicGxnX3N5c3RlbV9sYW5ndWFnZWZpbHRlciI7Tzo4OiJzdGRDbGFzcyI6MTp7czo4OiJsYW5ndWFnZSI7czo1OiJkYS1ESyI7fX19czoxNDoiACoAaW5pdGlhbGl6ZWQiO2I6MDtzOjk6InNlcGFyYXRvciI7czoxOiIuIjt9
Key Value
PATH /usr/local/bin:/usr/bin:/bin
PWD /
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING gzip
HTTP_CONNECTION Keep-Alive
CONTENT_LENGTH 0
HTTP_HOST atlas-ellebye.dk
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
UNIQUE_ID XBDlbN@JhDBkXBA-e39lxQAAAMQ
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME atlas-ellebye.dk
SERVER_ADDR 10.10.49.105
SERVER_PORT 80
REMOTE_ADDR 54.163.42.154
DOCUMENT_ROOT /var/www/atlas-ellebye.dk/public_html
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /var/www/atlas-ellebye.dk/public_html
SERVER_ADMIN [no address given]
SCRIPT_FILENAME /var/www/atlas-ellebye.dk/public_html/index.php
REMOTE_PORT 36716
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /index.php/login
SCRIPT_NAME /index.php
PATH_INFO /login
PATH_TRANSLATED /var/www/atlas-ellebye.dk/public_html/login
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1544611181.07
REQUEST_TIME 1544611181
Key Value
PATH /usr/local/bin:/usr/bin:/bin
PWD /
0. Whoops\Handler\PrettyPageHandler