By Richard Sparks on Monday, 27 June 2022
Posted in Technical Issues
Replies 5
Likes 0
Views 487
Votes 0
18:03:52 | !!!!!! EXCEPTION !!!!!! =Attempted to load class "FH" from the global namespace. Did you forget a "use" statement? /home/xxxxxx/public_html/components/com_easyblog/router.php:1279

Looks like you're assuming your own framework is loaded when it's not.
Hey there,

May I know how did you manage to replicate this error as I just took a look at your site and I do not hit this error?
·
Tuesday, 28 June 2022 10:45
·
0 Likes
·
0 Votes
·
0 Comments
·
I discovered it while trying to connect my website to MySites.guru service. This was my problem:

I'm having trouble with the one Joomla 4 website I've added to MySites.guru - Restaurant Pro. When I click the "Launch Admin Console" links, it shows the usual "One moment please..." screen, but then goes to https://restaurantprowebsites.com/plugins/system/bfnetwork/bfnetwork/bfAutologin.php with a blank screen. If I copy the URL from the address bar, it is https://Ud6VaR8yF8VXp4Sy:%5E9HafSek%5EU%23%2A84%24L@restaurantprowebsites.com/plugins/system/bfnetwork/bfnetwork/bfAutologin.php.

On all other websites in MySites.guru (all Joomla 3), when you click the Launch Admin Console link, it will automatically log into the password-protected /administrator folder, then log into Joomla backend.

I reported this to MySites.guru and Phil Taylor did some tests. That's when he found the EasyBlog error I reported to you. Somehow that interferes with MySites.guru functionality. Phil deployed a work-around but it still won't automatically log into the /administrator folder. I had to remove that password protection so it will login to Joomla backend.

I thought it would be helpful to report this issue to you so others don't experience the same issue.
·
Tuesday, 28 June 2022 19:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the info and just wondering, are you referring to https://mysites.guru/blog/one-click-login-to-any-joomla-or-wordpress-admin-console-with-mysites-guru?

Anyway, you can download the attached router.php and paste it at JoomlaFolder/components/com_easyblog/router.php for the fix and see how it goes?

EDITED
·
Wednesday, 29 June 2022 11:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, this is what I'm referring to: https://mysites.guru/blog/one-click-login-to-any-joomla-or-wordpress-admin-console-with-mysites-guru

I'll try the new router you provided and work with MySites.guru to see if the issue is fixed. I'll let you know what we find.
·
Wednesday, 29 June 2022 19:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Alright sure.
·
Thursday, 30 June 2022 10:17
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post