PHP 7.2 Error

Cats Eye
13 Posts
Cats Eye posted this 24 May 2018

Hi

I am received a PHP error on Themler every time I change template from Home to Blog or others (screenshot attached). This only happens with PHP 7.2. I tested with PHP 7.0 and the problem goes away.

Error:

Themler V456
Joomla 3.8.8
PHP 7.2

Please could the team look into this problem?

Hi I am received a PHP error on Themler every time I change template from Home to Blog or others (screenshot attached). This only happens with PHP 7.2. I tested with PHP 7.0 and the problem goes away. Error: Themler V456 Joomla 3.8.8 PHP 7.2 Please could the team look into this problem?
Vote to pay developers attention to this features or issue.
8 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 24 May 2018

Hi,

Thank you for contacting us. Our developers will check this issue and provide a fix in the future Themler updates.

Thank you,
Olivia

Hi, Thank you for contacting us. Our developers will check this issue and provide a fix in the future Themler updates. Thank you, Olivia
gilsonpm
7 Posts
gilsonpm posted this 27 May 2018

I´ve problem with Joomla 3.8.8 and PHP 7.1.17
The home work's, but any others page the error appears
0 - Using $this when not in object context

I´ve problem with Joomla 3.8.8 and PHP 7.1.17 The home work's, but any others page the error appears 0 - Using $this when not in object context
Support Team
Support Team posted this 28 May 2018

Hi,

Please create a separate private topic with the details to access the site back end so we could review the issue.

Sincerely,
Hella

Hi, Please create a separate private topic with the details to access the site back end so we could review the issue. Sincerely, Hella
Messy
5 Posts
Messy posted this 13 December 2018

I am having this problem too, PHP 7.1 or 7.2 and Joomla 3.9.1
The home and blog pages (templates) work fine, but page (template) gives error
I've updated to the latest themler version
0 - Using $this when not in object context

I am having this problem too, PHP 7.1 or 7.2 and Joomla 3.9.1 The home and blog pages (templates) work fine, but page (template) gives error I've updated to the latest themler version 0 - Using $this when not in object context

Last edited 13 December 2018 by Messy

Messy
5 Posts
Messy posted this 13 December 2018

I am having this problem too, PHP 7.1 or 7.2 and Joomla 3.9.1
The home and blog pages (templates) work fine, but page (template) gives error
I've updated to the latest themler version
0 - Using $this when not in object context

After digging some deeper, I;ve found out the problem. In the template page_7.php there is:

$menu = &JSite::getMenu();

this should be:
$menu = JFactory::getApplication()->getMenu();

> I am having this problem too, PHP 7.1 or 7.2 and Joomla 3.9.1 > The home and blog pages (templates) work fine, but page (template) gives error > I've updated to the latest themler version > 0 - Using $this when not in object context After digging some deeper, I;ve found out the problem. In the template page_7.php there is: $menu = &JSite::getMenu(); this should be: $menu = JFactory::getApplication()->getMenu();
Support Team
Support Team posted this 13 December 2018

Hi Thomas,

I'm glad that you've managed to resolve the issue.
Please let us know if you have any further questions.

Thanks,
Ivan

Hi Thomas, I'm glad that you've managed to resolve the issue. Please let us know if you have any further questions. Thanks, Ivan
BePe
3 Posts
BePe posted this 19 January 2019

After digging some deeper, I;ve found out the problem. In the template page_7.php there is:

$menu = &JSite::getMenu();

this should be: $menu = JFactory::getApplication()->getMenu();

In template page_7.php I can't find $menu = &JSite::getMenu();
but I got the same error
I know it is the template, when I use protostar or beez it doesn't happen
What could it be?

> After digging some deeper, I;ve found out the problem. In the template page_7.php there is: > > $menu = &JSite::getMenu(); > > this should be: $menu = JFactory::getApplication()->getMenu(); In template page_7.php I can't find $menu = &JSite::getMenu(); but I got the same error I know it is the template, when I use protostar or beez it doesn't happen What could it be?
Support Team
Support Team posted this 21 January 2019

Hi @BePe,

Please feel free to create a new private support ticket and provide us with all necessary information there.

Thanks,
Ivan

Hi @BePe, Please feel free to create a new private support ticket and provide us with all necessary information there. Thanks, Ivan
You must log in or register to leave comments