1. underwatercolours
  2. Sherlock Holmes
  3. Commercial Templates
  4. Friday, 19 December 2025
  5.  Subscribe via email
I just renewed and can't get any of the templates to work with a fresh Joomla 6 install. Am I missing something?
Accepted Answer Pending Moderation
0
Votes
Undo
I deactivated the compat plugin first, forcing the error immediately (btw. in error.php :D ). Found the respective line in VSC. Correct and get next error.
Later I systematically went through all the to-be-replaced classes: search in VSC and correct one by one.
Accepted Answer Pending Moderation
0
Votes
Undo
I've been in a situation similar to yours:
My proposal: Do it yourself!

The problem is that i have no idea which files or what to do or what to change
Accepted Answer Pending Moderation
0
Votes
Undo
Perhaps Ciaran will provide us with instructions on this ;)
Accepted Answer Pending Moderation
0
Votes
Undo
The problem is that i have no idea which files or what to do or what to change


What to do can be found here: https://manual.joomla.org/migrations/44-50/compat-plugin/#class-aliases
You have to go through all the PHP files of the template. Best use VSC.
Accepted Answer Pending Moderation
0
Votes
Undo
Hello dear J51 community,

I also had it rewritten today using the Carmen template with the help of AI, and it now runs under Joomla 6 without the Behaviour – Backward Compatibility plugin. I'm also no longer getting any errors.

Dautrich, thank you very much for your support and advice.

(Working time approx. 1.5 hours)

All the best for 2026 and good health! :)
Accepted Answer Pending Moderation
0
Votes
Undo
Best wishes for 2026.

So what i'm doing wrong? Went to the above mentioned classes and used VSC, Changed f.i. JFactory into \Joomla\CMS\Factory and that didn't worked so i changed the whole list again into Joomla\CMS\Factory. Still getting errors like "syntax error, unexpected fully qualified name "\Joomla\CMS\Form\FormFieldTplh...", expecting identifier."

Used VSC to open folder and find/replace all files.
Accepted Answer Pending Moderation
0
Votes
Undo
Okay, that sounds promising! It was just a matter of revising the .php files, right? Did you adjust the files before or after installing a template in Joomla 6? Did you rewrite everything in the code and then deactivate the compatibility plugin, and it worked without any problems? I would modify the workaround so that I can apply it to multiple j51 templates.


No, I did it the hard way first: While on J5 on a local test site, I set Debug mode to on and error reporting to maximum. Then I switched off the J5 compatibility plugin. After reload, the frontend crashed immediately, but error reporting showed the line number. I opened the complete template as a folder in VSC, giving me direct access to the template's files. I corrected this first error and looked around in the respective file for other old Joomla classes, which I replaced as well.
Repeating these steps as long as I ran into issues finally gave me a first J5-native version (with many hidden issues still). Then I systematically searched for the remaining old Joomla classes in the template, searching through all PHP files including template overrides; VSC is very good at searching.

After I had a working, J5-native template version, I did the identical exercise on the two J51 extensions I use (and on one from a different developer). Having done all this, I used the standard Joomla update procedure to update my test site to J6. Success! As a bonus, I tried to disable the J6 compatibility plugin. Success, again!
  • Page :
  • 1
  • 2


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

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok