By Rob Kivit on Friday, 06 April 2018
Replies 20
Likes 0
Views 1.2K
Votes 0
Hello,
After updating Easyblog to the latest version 5.2.1 my website can not be started anymore because of the following error:
Class 'EasyBlogRouter' not found

Before updating Easyblog to the latest version 5.2.1 i have first download the full installer package com_easyblog_full_pro_5-10 from your website and install it in Joomla which gives no problems. But when I tried to start the front end it gives; 0 error Class 'EasyBlogRouter' not found

I have tested this in my own development environment and not yet in my production environment (old version is still running there)

Hope you can help me before I gonna update to the latest version Easylog 5.2.1 on my production environment

Thanks!

See also the attachments
Hello Rob,

Can you provide us Backend and FTP access to your development site? I believe http://www.robkivit-natuurfotografie.nl/ is your production site because I can't replicate the issue anywhere on the site.
·
Friday, 06 April 2018 11:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Nick,
My development site is local on my Mac so it is a little bit difficult to access the backend.

I’m a little bit afraid to update Easyblog to the latest 5.2.1 on my production site because of the error on my development site

Based on the information I have send to you, you still have no suggestions what went wrong during the upgrade to 5.2.1 ?

Gr. Rob
·
Friday, 06 April 2018 14:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Rob,

I am afraid there is template override or module that still using old code (EasyBlogRouter) instead of EBR. There was the same issue with other customer this morning that has a template override which still using old code.
·
Friday, 06 April 2018 15:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Nick,
Can you tell me where to look and how to fix it?

Thanks

Rob
·
Friday, 06 April 2018 16:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Rob,

You might want to check if any of your published modules has this code: EasyBlogRouter:: and change it to EBR::. Or you can check your template override (if you have any) for that particular code and change it accordingly.
·
Friday, 06 April 2018 17:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Nick,
Thanks,
Problem is I am not Developer ?
Is it an option that you first analyse the production site to see where the problem should occurs when updating to the latest version so I can change it first without any riscs on the development site to see if it works ? (If I am capable enough to do this ?)

Gr. Rob
·
Friday, 06 April 2018 17:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Rob,

Is your development site is an exact copy of your production site? If that the case, can you provide us the backend access to your production site? I am unable to login with the current username and password. I have checked your production site's FTP and seems like you don't have any template override. I need to see if there is any module that would causing this error.
·
Friday, 06 April 2018 18:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Nick,
How can I send you the credentials for this. Shall I make a new ticket ?

Gr. Rob
·
Friday, 06 April 2018 18:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Nick,
I have just updated the site details...

Thanks for your help !

Gr. Rob
·
Friday, 06 April 2018 18:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Rob,

I am sorry but it is hard to debug like this. Is it possible for you to upload your development site to your server so that we can debug it directly on that affected page?
·
Friday, 06 April 2018 19:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Nick,
I understand,
Maybe better to upgrade Easyblog on the production site and see what happens. I trust you that all errors will be fixed if there are any. After succesfull upgrade we can see how to fix this at the development website

Ok ?

Gr. Rob
·
Friday, 06 April 2018 19:15
·
0 Likes
·
0 Votes
·
0 Comments
·
I have this too and it's on a live site so appreciate the help.
Is there a way to Grep all the files for this perhaps..I tried disabling all easy blog modules and plugins but it didnt work.
·
Friday, 06 April 2018 21:40
·
0 Likes
·
0 Votes
·
0 Comments
·
I have tried to set the default protostar as the theme for the home page so that has no template overrides etc..

When trying to run the maintenance in the backend I get this

Fatal error: Cannot declare class EasyBlogMaintenanceScriptFixDuplicateIntroContent, because the name is already in use in site.com/html/administrator/components/com_easyblog/updates/5.1.5/FixDuplicateIntroContent.php on line 42
·
Friday, 06 April 2018 21:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Found my solution which was a RokSprocket Module that can contain an easy blog resource had to delete and recreate from memory as I couldn't even edit it..
·
Friday, 06 April 2018 22:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Rob,

I believe the error that you are getting is most likely because a 3rd party module / extension is actually trying to use a deprecated class since EasyBlog version 3.9. The class name EasyBlogRouter is deprecated on 3.9 and it has been removed in 5.2

Having said that, perhaps if you could perform the upgrade during a weekday? As our response time during the weekend may be a little slower than usual since most of our team members are resting.
·
Friday, 06 April 2018 23:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark,
Thanks for responding !
No problem at all of course
We’ll trying it on a working day
Have a nice weekend

Gr. Rob
·
Friday, 06 April 2018 23:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for understanding Rob, greatly appreciated.
·
Friday, 06 April 2018 23:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark/Nick,
I found the problem in a third party module JSN Joomla Shine on my development site. Somehow when you're using an JSN Article list and want to display the latest blogs from Easyblog it results in the error Class EasyblogRouter not found. So I replaced the JSN Article list by an real "Easyblog Latest Blogs" module and so far I can see everything works fine now. Tomorrow, I will give it a try on the production site.

Thanks for helping me out and pushing me into the right direction!

Gr. Rob
·
Monday, 09 April 2018 06:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Rob,

Glad to hear you found the issue. Keep us updated then.
·
Monday, 09 April 2018 10:16
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post