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
 
Adam

Posted: 9/21/2017
Quote message 

For what it's worth:

The Artisteer "team" seems to be missing in action, BUT... it looks like they have made some coding changes regarding this issue.

On some of my older websites, I had to go into the server and make the changes that Olivia outlined above. Quick ,easy and solved the problem.

On my NEWER templates (maybe a year old-ish) I looked at the modules.php file and the "&" did not exist in those lines.

I'm really hoping that this means my future templates will automatically be PHP 7+ compatible.

Hope this helps somebody.

And THANK YOU, OLIVIA!

Adam