Welcome, Guest
Username: Password: Remember me

TOPIC: joomla to 3.6.3 - Parse error: 198

joomla to 3.6.3 - Parse error: 198 1 year 8 months ago #894

  • Gallusik
  • Gallusik's Avatar
  • Offline
  • Новый участник
  • Posts: 1
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
The administrator has disabled public write access.

joomla to 3.6.3 - Parse error: 198 1 year 8 months ago #895

  • mavik
  • mavik's Avatar
  • Offline
  • Администратор
  • Posts: 128
  • Thank you received: 22
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
        ));
The administrator has disabled public write access.
Time to create page: 0.198 seconds
Powered by Kunena Forum