Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 21h 40m 33s
Claim 50% off
Solved Helix Framework

Deprecated: Creation of dynamic property Helix3 on template shaper_spectrum

Asked by Mihai Soare 2 years ago Last activity 2 years ago

Hello,

I have the template shaper_spectrum. I upgraded the joomla from 4 to 5 and now i want to upgrade the PHP from 8.1 to 8.3 but i have a lot of errors.

Deprecated: Creation of dynamic property Joomla\CMS\Document\HtmlDocument::$helix3 is deprecated in /var/www/vhosts/aviation-training.ro/public_html/templates/shaper_spectrum/index.php on line 23

Deprecated: Creation of dynamic property Helix3FeatureContact::$position is deprecated in /var/www/vhosts/aviation-training.ro/public_html/templates/shaper_spectrum/features/contact.php on line 20

Deprecated: Creation of dynamic property Helix3FeatureFooter::$position is deprecated in /var/www/vhosts/aviation-training.ro/public_html/templates/shaper_spectrum/features/footer.php on line 20

Deprecated: Creation of dynamic property Helix3FeatureFooter::$load_pos is deprecated in /var/www/vhosts/aviation-training.ro/public_html/templates/shaper_spectrum/features/footer.php on line 21

Deprecated: Creation of dynamic property Helix3FeatureLogo::$load_pos is deprecated in /var/www/vhosts/aviation-training.ro/public_html/templates/shaper_spectrum/features/logo.php on line 22

Deprecated: Creation of dynamic property Helix3FeatureMenu::$position is deprecated in /var/www/vhosts/aviation-training.ro/public_html/templates/shaper_spectrum/features/menu.php on line 20

Deprecated: Creation of dynamic property Helix3FeaturePreloader::$position is deprecated in /var/www/vhosts/aviation-training.ro/public_html/templates/shaper_spectrum/features/preloader.php on line 18

Deprecated: Creation of dynamic property Helix3FeatureSocial::$load_pos is deprecated in /var/www/vhosts/aviation-training.ro/public_html/templates/shaper_spectrum/features/social.php on line 22

Deprecated: Creation of dynamic property Helix3FeatureTitle::$position is deprecated in /var/www/vhosts/aviation-training.ro/public_html/templates/shaper_spectrum/features/title.php on line 20

Can someone help me?

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
2 years ago · edited

Hi Mihai,

To fix most warning messages (not errors!):

download Helix3 template package, and then copy all files from that folder /features/

and upload & override here:
/templates/shaper_spectrum/features/

Paul Frankowski Senior Staff

And if we talk about index.php file from template folder find that part (lines 22-23)

if (file_exists($helix3_path)) {
    require_once($helix3_path);
    $this->helix3 = helix3::getInstance();

AND REPLACE WITH

if (file_exists($helix3_path)) {
    require_once($helix3_path);
    $helix3 = helix3::getInstance();

In theory it should help.

3 more replies

Mihai Soare Asked this
2 years ago · edited

Hello Paul,

Thank you for your support.
I uploaded the files from the Helix3 template and those messages disappeared.
There remains the problem with the index file.

Deprecated: Creation of dynamic property Joomla\CMS\Document\HtmlDocument::$helix3 is deprecated in /var/www/vhosts/aviation-training.ro/public_html/templates/shaper_spectrum/index.php on line 23

I tried to replace the code but then I get the following error:

0
Call to a member function getParam() on null

Do you have any ideas?

Paul Frankowski Senior Staff

Yes, in that case in template file index.php after line

defined('_JEXEC') or die('restricted access');

add new line: error_reporting(E_ERROR | E_PARSE);

till next template update this should help.

Mihai Soare Asked this
2 years ago · edited

I replaced that code and also i added a new line after defined... but I have the same error:

0

Call to a member function getParam() on null

Bellow is the modified code:

defined('_JEXEC') or die('resticted aceess');
error_reporting(E_ERROR | E_PARSE);

$doc = JFactory::getDocument();
$app = JFactory::getApplication();
$menu = $app->getMenu()->getActive();


//Load Helix
$helix3_path = JPATH_PLUGINS . '/system/helix3/core/helix3.php';

if (file_exists($helix3_path)) {
    require_once($helix3_path);
    $helix3 = helix3::getInstance();
} else {
    die('Please install and activate helix plugin');
}
Log in to reply.