Helix problem - Forum | JoomShaper
Solved Helix Framework

Helix problem

Asked by Damian Tabin 4 years ago Last activity 4 years ago

Hi,
I have Helix 2.0.6 (and the template of 'estate'). When I try to log in as a superuser, or create an account I have the following error:

Call to undefined method Joomla\CMS\Helper\MediaHelper::getCleanMediaFieldValue()

I have opened the debug console, and it comes from a file of

JROOT/plugins/system/helixultimate/html/layouts/form/field/media.php, line 79 which is:

if ($showPreview)
{
    $cleanValue = MediaHelper::getCleanMediaFieldValue($value);

    if ($cleanValue && file_exists(JPATH_ROOT . '/' . $cleanValue))
    {
        $src = Uri::root() . $value;
    }
    else
    {
        $src = '';
    }

It is werid behaviour, because 2 days ago I was able to log in, and I did not update the framework. I will be more than happy if someone can help me.

Best regards,DT

Accepted answer

Marked as the solution
Toufiq Senior Staff

Please check now. Thanks

15 more replies

Damian Tabin Asked this

Hey, I managed to solve that error.

Instead of:

$cleanValue = MediaHelper::getCleanMediaFieldValue($value);

I have used

$cleanValue = "echo MediaHelper::cleanImageURL($oldValue)";

As the result, when I try to log in/register a new user I have completly different error:

Call to undefined method Joomla\CMS\Document\HtmlDocument::getWebAssetManager().

Any help would be appriciated.

Best regards, DT

Toufiq Senior Staff

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Please tell me some information about your system.

  1. PHP version
  2. Joomla version

And can you share an screencast video when occurred this problem.

-Thanks

Toufiq Senior Staff

Will you please upload your video google drive? mediafire is blocked here

Toufiq Senior Staff

Give me permission to watch the video. Thanks

Damian Tabin Asked this

Hi,

It is working now?

Toufiq Senior Staff

Please provide me the Joomla administrator access & FTP access. I will check & fix your issue. Thanks

Log in to reply.