PHP 7.x not compatible with Artisteer


Author Message
Yoerak

Posted: 4/29/2017
Quote message 

After installing joomla 3.7 I will take php version 7.1, but after that the website gets an error front end seems below:

0 - Using $this when not in object context.

How can it be solved?
 
Laura

Posted: 6/15/2017
Quote message 

Hi,

Here is manual solution also:

1.
open template folder on the server >> html/modules.php file
2.
find the following lines:
function modChrome_artnostyle($module, &$params, &$attribs)
function modChrome_artblock($module, &$params, &$attribs)
function modChrome_artvmenu($module, &$params, &$attribs)
function modChrome_artarticle($module, &$params, &$attribs)

and remove & character, e.g.:
function modChrome_artnostyle($module, $params, $attribs)

This should help.

Thank you,
Olivia