Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 13d 01h 09m 16s
Claim 50% off
Awaiting an answer Helix Framework

Bug in Helix Ultimate 2.1.3 Presets

Asked by Alvaro 1 year ago Last activity 1 year ago

Helix is a very powerful framework that allows us to customize and add features. I've always used custom presets, with colors for text, headers, and links for the topbar and footer that don't come by default. And other colors as needed. So duplicating a preset and changing the colors in options.xml was the way to go, and when loading Helix, it automatically recognized the new preset and saved it to the database in "presets-data":"{}". Since the latest version 2.1.3, this gives an error in JROOT\plugins\system\helixultimate\src\fields\helixpresets.php on line 149 with createPresetData().

This has nothing to do with new color names, it has to do with a new preset. We've tested with the original Helix, and it's not possible to add a preset directly from options.xml as usual.

Please fix this bug.

PS: I must also thank you for adding requested improvements in version 1.2.3, such as the numerical value for the logo height, among others, to the main element. It means that, even though it takes a while, they're listening to us.

Regards

2 replies

Toufiq Senior Staff

Hi there,

Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. To better address the issue, could you kindly provide Joomla administrator access? This will enable me to thoroughly investigate the matter and provide you with a prompt resolution.

I appreciate your cooperation and will ensure to get back to you as soon as possible.

Best regards,

Toufiqur Rahman (Team Lead, Support)

Alvaro Asked this

I always work locally, but here I recorded a video where I add a new preset, and how Helix Ultimate 2.1.2 and 2.1.3 respond to the same action.
Video: https://app.screencast.com/xT6k7gQeSq7pO

Please solve in next update. Regards

Toufiq Senior Staff

We will fix it next relase. Here is the initial solution.

Download the file and replace this file on this file location.

plugins\system\helixultimate\src\fields\helixpresets.php

helixpresets.php.zip

Alvaro Asked this

Hi there. This problem has not yet been resolved as of Helix 2.2.1.

With the fix proposed by Toufiq, there are no problems with array_merge, but when opening the presets panel, it displays the following: Warning: Undefined property: stdClass::$preset4 in plugins\system\helixultimate\src\fields\helixpresets.php on line 147, where $preset4 could be $preset2 or $preset3, and it is the preset that does not have the JSON inside presets-data:"{}" in the database.
Regards

Log in to reply.