Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 13d 05h 35m 38s
Claim 50% off
Solved Templates

ClassNotFOundError in site using Shaper_travelia

Asked by Jan Korshavn 1 month ago Last activity 2 weeks ago

Hi,
My site https://flr.no seems to have a problem with the Shaper Travelia template. After turning off the Backward Compability Plugin 6, the site is down.

Could you check if this problem could be solved so that I don't need to reactivate that plugin? Also check for the error Class "JText" not found (from SPPB?).

Following the advice og mySites.guru on this one:
https://mysites.guru/blog/joomla-compat-plugin-is-a-crutch/

Best regards,
Jan Korshavn

Accepted answer

Marked as the solution
Toufiq Senior Staff

Hi there,

Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. Updated error.php file. Please check now & let me know.

Best regards,

Toufiqur Rahman (Team Lead, Support)

8 more replies

Jan Korshavn Asked this

Looks fine now, I'll open the site again.

So no I don't need the Compat 6 plugin?

/JanK

Jan Korshavn Asked this

And what will happen after the next major update of any involved files? Joomla, template or SPPB?

Toufiq Senior Staff

So no I don't need the Compat 6 plugin?

You need to enable this plugin

Before update, you should keep the backup error.php file.

Jan Korshavn Asked this
1 month ago · edited

Why do I need the plugin? The site seem to work fine without it?

The error.php file, is it the one located here?: /www/templates/shaper_travelia

Will this file create the same problem if there's an update of the template? Or Joomla? Please advice.

rgds,
JanK

Toufiq Senior Staff

Why do I need the plugin? The site seem to work fine without it?

Joomla cms recommended to keep enabled this plugin.

error.php file location

templates/your_template/error.php

Jan Korshavn Asked this

Have you read this?

https://mysites.guru/blog/joomla-compat-plugin-is-a-crutch/

So in advance of the upcoming Joomla 6.2 upgrade, I saw this:

*The sneaky part: because the compat plugin rewrites class references on the fly, there’s no log entry or warning that an extension is using deprecated code. Everything passes the Joomla pre-update check. Everything looks ready for the next version. Then you upgrade and find out it wasn’t.

  • Since I'm already on J6, should I really need this plugin?

Your comment on the error.php is very short.. and not answering my question.

JanK

Jan Korshavn Asked this

Now the site is down again, seems that there's a SPPB addon problem with the class JText - not found..? Have you checked that?

JanK

Toufiq Senior Staff

This plugin helps ensure compatibility of Joomla's class map classes & backward compatibility with newer Joomla versions. I’ll discuss this matter with the developer. Thank you.

Jan Korshavn Asked this

Yes, that's true. But at is says right above that part with turning on the plugin;

It's a stopgap while you deal with the extension. And in this case, that's your template.

Any plans on upgrading Travelia?

Toufiq Senior Staff

Any plans on upgrading Travelia?

Any specific area?

Jan Korshavn Asked this

Yes, so that we can turn off the backward compability as mentioned in this thread.

Toufiq Senior Staff

I have already discussed this with our team, and they confirmed that there are currently no plans to implement it in the near future. However, they mentioned that we may revisit and improve this functionality with the release of Joomla 7.

Log in to reply.