emo joomla to 3.6.3 - Parse error: 198

More
8 years 7 months ago #894

Hello
I have update joomla to 3.6.3 and have error in administrator menu.
I can't do anything. I must delete mavik from ftp.

Parse error: syntax error, unexpected '[' in /home/gallusi2/domains/gallusi2.linuxpl.eu/public_html/zs/plugins/content/mavikthumbnails/mavikthumbnails.php on line 198

Please help

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #895

In last version I've used too new syntax of PHP.
You can download version 2.3.1, get this file from it.
Or replace

        $this->dispatcher->trigger('onMavikThumbnailsBeforeGenerate', [
            'plugin' => $this, 'params' => $params
        ]);
to
        $this->dispatcher->trigger('onMavikThumbnailsBeforeGenerate', array(
            'plugin' => $this, 'params' => $params
        ));

Please Log in or Create an account to join the conversation.

Time to create page: 0.035 seconds
Powered by Kunena Forum