Topic-icon Class 'Route' not found error

Active Subscriptions:

None
2 years 7 months ago #67435 by buztan
On upgrading to latest version 9 I am getting the error below when using a menu link to 'Account Settings'.  This was working fine under the 8.x version?0 Error  Class 'Route' not found
The topic has been locked.
Support Specialist
2 years 7 months ago #67436 by mel
Replied by mel on topic Class 'Route' not found error
We completely gutted large parts of JFBConnect to be compatible with Joomla 4. This looked like it slipped through the cracks on testing.

In /components/com_jfbconnect/views/account/tmpl/default.php, can you add the following statement around line 16 after the other use statements:
use Joomla\CMS\Router\Route;

The change will be checked in for the next release.

-Melissa
The topic has been locked.
Active Subscriptions:

None
2 years 7 months ago #67438 by buztan
Thanks, that does the trick. Since JFBConnect only provides one menu item and you missed testing that, you may wish to adjust your testing regime ;-)
The topic has been locked.
Support Specialist
2 years 7 months ago #67439 by mel
Replied by mel on topic Class 'Route' not found error
Yep. We have an extensive automated testing suite, but this is one that I test manually. I've added it to our TO-DO list for automated tests. Sorry for the inconvenience. We should have a bug fix release coming out very soon.

-Melissa
The topic has been locked.