ERROR V9 Touch_gallery / Call to a member function getFileSetName() on null

… too late for today…

var/www/vhosts/osweed.io/httpdocs/market/packages/touch_gallery/blocks/touch_gallery/controller.php

        $style .= "#tg-galleryOverlay" . $this->buID . "{";
        $style .= "background-color:" . $this->overlayBgColor . ";}";
        if ($this->controlsBgColorRest) {
            $style .= "#tg-galleryOverlay" . $this->buID . " .tg-has-icons{";
            $style .= "background-color:" . $this->controlsBgColorRest . ";}";
        }
        if ($this->controlsBgColor) {
            $style .= "#tg-galleryOverlay" . $this->buID . " .tg-has-icons:hover{";
            $style .= "background-color:" . $this->controlsBgColor . ";}";
        }

        $style .= "</style>";

        return $style;
    }

    public function addInlineJs()
    {
        if (empty($this->fileSetName)) {
            $this->fileSetName = htmlentities($fs->getFileSetName(), ENT_QUOTES, APP_CHARSET);
            $this->set('fileSetName', $this->fileSetName);
        }

        $this->showDesc = empty($this->showDesc) ? 0 : 1;
        $this->showClose = empty($this->showClose) ? 0 : 1;
        $this->hideControls = empty($this->hideControls) ? 0 : 1;
        $this->hideDelay = empty($this->hideDelay) ? '' : $this->hideDelay;
        $this->loopSlides = empty($this->loopSlides) ? 0 : 1;
        $this->hideArrowsEdge = empty($this->hideArrowsEdge) ? 0 : 1;

        $js = "<script type='text/javascript'>";
        $js .= "$(document).ready(function() {";
        $js .= "$('#touchgallery-thumbs" . $this->buID . " a').touchGallery({";
        $js .= "bid: " . $this->buID . ",";
        $js .= "picClick: '" . $this->picClick . "',";
        $js .= "showCaptions: " . $this->showDesc . ",";
        $js .= "hideControls: " . $this->hideControls . ",";
        $js .= "showClose: " . $this->showClose . ",";
        $js .= "loopSlides: " . $this->loopSlides . ",";
        $js .= "hideArrowsEdge: " . $this->hideArrowsEdge . ",";

Arguments

  1. “Call to a member function getFileSetName() on null”

I took the liberty of removing all that environment info from your post. It wasn’t particularly helpful and also contained some information which really should stay private.

Did you have a particular question? It looks like you might be using a commercial package. In that case, you may want to contact the developer for support: Support - concrete5