1. piekielko
  2. RO CSVI
  3. Saturday, 22 August 2026
  4.  Subscribe via email
Hi,

My Joomla 6 is now 100% native, with no backward compatibility.
I found a Joomla 6 compatibility issue in the RO CSVI Joomla Content export.
When exporting the article_url field, the export fails with the following error:
{"error":true,"code":0,"message":"Class \"ContentHelperRoute\" not found"}


The issue is caused by an old Joomla routing class reference used in the Joomla Content export. In this file:
content/com_content/model/export/content.php

the class ContentHelperRoute is used here:

$fieldvalue = $this->sef->getSefUrl(\ContentHelperRoute::getArticleRoute($record->id, $record->catid));


This class is no longer available in Joomla 6. The current Joomla Content routing helper should be used instead. The missing import is:

use Joomla\Component\Content\Site\Helper\RouteHelper;


Then the old call should be replaced with:

$fieldvalue = $this->sef->getSefUrl(RouteHelper::getArticleRoute($record->id, $record->catid));


The same old routing reference also appears in:
content/com_content/model/maintenance.php

And this old call:

$urls[] = ContentHelperRoute::getArticleRoute($record->id, $record->catid);

should be replaced with:

$urls[] = RouteHelper::getArticleRoute($record->id, $record->catid);


kind regards,
Chris
Accepted Answer Pending Moderation
Hi Chris,

Thank you for your bug report, I have confirmed your finding and applied the changes as suggested. They will be included in the upcoming release this coming Tuesday.

Have a nice weekend.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. 1 hour ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hi

By the way, the same error was present in the J2Commerce export. Additionally, in my new, updated version, I've added support for Joomla's custom fields.

After this change, I can't imagine going back to Virtuemart. J2Commerce is a powerful beast with immense capabilities that Virtuemart will never be able to offer me. ;)

Have a nice weekend!
Attachments (1)
  1. 1 hour ago
  2. RO CSVI
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!