No Code Attached Yet
avatar jweaver0312
jweaver0312
7 Sep 2023

Steps to reproduce the issue

Update from 4.3.4 to 5.0

Expected result

No error expected
screen shot 2023-09-07 at 18 24 32

Actual result

Error Class "JPlugin" not found

Additional comments

PHP 8.2.5
Attaching call stack

After the update, can not sign in anymore, stuck in login loop, debugging is not yielding any results there. Same happens from 4.3.4 to 5.0.0

avatar jweaver0312 jweaver0312 - open - 7 Sep 2023
avatar jweaver0312 jweaver0312 - change - 7 Sep 2023
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 7 Sep 2023
avatar joomla-cms-bot joomla-cms-bot - change - 7 Sep 2023
Labels Added: No Code Attached Yet
avatar jweaver0312 jweaver0312 - change - 7 Sep 2023
The description was changed
avatar jweaver0312 jweaver0312 - edited - 7 Sep 2023
avatar jweaver0312 jweaver0312 - change - 7 Sep 2023
The description was changed
avatar jweaver0312 jweaver0312 - edited - 7 Sep 2023
avatar HLeithner
HLeithner - comment - 7 Sep 2023

Die you disabled all 3rd Party systrm Plugins before you Upgrades?

avatar HLeithner
HLeithner - comment - 7 Sep 2023

For the Moment you can rename the jce plugin

avatar richard67
richard67 - comment - 7 Sep 2023

Updating to 5.0 always has to be done from the latest 4.4. direct update from 4.3.x to 5.0.0 is not supported.

E.g. the update SQL scripts from 4.4 will not be there and so not run when updating directly from 4.3.x to 5. This is currently only one update SQL script, but it might become more during the live time of 4.4.

The same applies to deleting obsolete files and folders on update. Things which would be deleted when updating from 4.3 to 4.4 before updating to 5 will not be deleted when updating directly from 4.3 to 5.

avatar jweaver0312
jweaver0312 - comment - 7 Sep 2023

Die you disabled all 3rd Party systrm Plugins before you Upgrades?

With that disabled, the JPlugin error disappears, but still can not log back in after logging out of 5.0 for the 1st time.

avatar richard67
richard67 - comment - 7 Sep 2023

Well, you can of course ignore what I wrote, but ignoring does not help. As I wrote, updating directly from 4.3.4 to 5 is not supported, and one of the results is that files which would be deleted when updating via 4.4 will not be deleted.

Such files are for example the plugin files which changed their location due to restructuring plugins in 4.4. The files at the old location on 4.4 will not be deleted.

I think this then causes false results in the autoloader file when that is generated at the end of the update, and that’s what causes your problems.

Believe me, your updated site is broken. Throw it away and start again with the 4.3.4 backup you hopefully have made before the update. Restore the backup files into an empty folder and the backup database into an empty database. Then update to 4.4.0-beta1, and then update to 5.0.0-beta1.

I promise you that this will work without a flaw.

For the reasons stated above I think we should close this issue as expected behavior.

avatar jweaver0312
jweaver0312 - comment - 7 Sep 2023

Well, you can of course ignore what I wrote, but ignoring does not help. As I wrote, updating directly from 4.3.4 to 5 is not supported, and one of the results is that files which would be deleted when updating via 4.4 will not be deleted.

Such files are for example the plugin files which changed their location due to restructuring plugins in 4.4. The files at the old location on 4.4 will not be deleted.

I think this then causes false results in the autoloader file when that is generated at the end of the update, and that’s what causes your problems.

Believe me, your updated site is broken. Throw it away and start again with the 4.3.4 backup you hopefully have made before the update. Restore the backup files into an empty folder and the backup database into an empty database. Then update to 4.4.0-beta1, and then update to 5.0.0-beta1.

I promise you that this will work without a flaw.

For the reasons stated above I think we should close this issue as expected behavior.

Followed your steps exactly, and still same error message and issue with signing in. You broke your promise. I respond and test things in the order I see a response, you were not the 1st response, and I will not be addressing your further replies since you chose to be a jerk. Good day to you.

avatar richard67
richard67 - comment - 7 Sep 2023

since you chose to be a jerk.

@jweaver0312 But in opposite to you I was not offending someone by using swear words. You violate our code of conduct.

avatar jweaver0312
jweaver0312 - comment - 7 Sep 2023

@richard67 "jerk" is not a swear word.

Well, you can of course ignore what I wrote, but ignoring does not help.

Those very words you wrote were uncalled for and disrespectful. How about this, unless you have something to respectfully add to help, then do not say it.

You need to understand that I do not sit in front of a computer every second to be able to address all responses. We human beings, things happen. We get held up by other activities around.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41641.

avatar jweaver0312 jweaver0312 - change - 7 Sep 2023
Title
[5.0] After updating from 4.3.4 - Error: 0 Class "JPlugin" not found
[5.0] After updating from 4.4.0 - Error: 0 Class "JPlugin" not found
avatar jweaver0312 jweaver0312 - edited - 7 Sep 2023
avatar jweaver0312 jweaver0312 - change - 7 Sep 2023
The description was changed
avatar jweaver0312 jweaver0312 - edited - 7 Sep 2023
avatar obuisard
obuisard - comment - 7 Sep 2023

@jweaver0312 Insults are not tolerated, are definitely a lack of respect for the person who answered you and will definitely not get you very much help from other users or developers. @richard67 was trying to be helpful but you may have missed his first comment, so let's give it the benefit of the doubt.

There is no upgrade path from 4.3 to 5.0, any upgrade needs to go through 4.4. The installer then should get you indications on what can be a problem when moving from 4.4 to 5.0. This is a process that requires a few steps and some time for completion. Please try again.

avatar jweaver0312
jweaver0312 - comment - 7 Sep 2023

I tried it from 4.4 to 5.0 again and the installer did not indicate anything being a problem prior to proceeding to perform the update. I did disable JCE prior to the upgrade which cleared the JPlugin class error (so I'll safely assume there for now that that is caused by JCE that will need an update later to support 5.0). However, even with debug on, it did not fix the error or point to any issue that is causing me to be stuck on a sign in loop (not getting past the signin page) after signing out for the 1st time.

avatar obuisard
obuisard - comment - 7 Sep 2023

The problem could come from a quickicon or a module that is not core but loads in the dashboard.

avatar jweaver0312
jweaver0312 - comment - 7 Sep 2023

Can you explain what you mean a bit more? Do you mean additional 3rd party stuff? The only 3rd party items to my knowledge is JCE as that was the only thing I installed after installing Joomla

avatar richard67
richard67 - comment - 7 Sep 2023

Does JCE provide a Media Field? I've heard of cases where that made problems. Could you (just for testing on a non production copy) uninstall all JCE stuff including plugins and fields before updating from 4.3.4 to 4.4-beta1?

avatar obuisard
obuisard - comment - 7 Sep 2023

And check the logs on your server. That's where you will get hints of what's going on.

avatar jweaver0312
jweaver0312 - comment - 7 Sep 2023

I uninstalled JCE from 4.3.4 prior to moving to 4.4-beta1, and then updated to 5.0-beta1, it still stays in a sign in loop after logging out.

I went to the server error logs and they are not indicating any errors.

avatar HLeithner
HLeithner - comment - 8 Sep 2023

Can you please give me access to the site? harald.leithner@community.joomla.org

avatar rdeutz
rdeutz - comment - 8 Sep 2023

@jweaver0312 calling someone a jerk is not what we want to see here. Understand this a the last warning, next time I will give you a break.

avatar HLeithner
HLeithner - comment - 8 Sep 2023

thanks I logged in but everthing is working, except front end looks odd but not sure if this is expected.

avatar jweaver0312
jweaver0312 - comment - 8 Sep 2023

In the front end, I have no articles (basically no data inherited from 4.4 aside from settings) there as it was created as a staging environment plus custom CSS added. Though with 5.0, I’ll likely just trash the custom CSS since 5.0 does have some dark mode involved (even though there’s some rendering issues - that’ll be a separate report)

I’ll try on my end again to see if I can get it to replicate again, as I’m still curious what happened as even as strangely now, it is letting me in. If I can’t replicate it by the end of today, I’ll close this issue out.

avatar HLeithner
HLeithner - comment - 8 Sep 2023

that's really strange because there are no articles in the installation, which actually can't be deleted on upgrade (at least I wouldn't believe this).

can you please setup a j 4.4 installation with example data installed and give me access again so I can do the update my self?

avatar jweaver0312
jweaver0312 - comment - 8 Sep 2023

What I meant was, I initially created this installation as a direct staging clone of my production 4.3.4, deleted content, updated to 4.4 and then 5.0.

Looking through it, there's nothing really "private" or "confidential" so this time around, I will just leave everything intact when I rebuild the clone (minus JCE of course) and I'll remove the Custom CSS.

I'll let you know when it is done, when it is done, it will be the same URL and credentials I provided prior.

avatar HLeithner
HLeithner - comment - 8 Sep 2023

you can keep jce and custom css. the upgrade should work as it is, only disabling of system plugins is needed.

avatar jweaver0312
jweaver0312 - comment - 8 Sep 2023

I just tested it again myself, keeping everything and just left JCE in a disabled state on 5.0, and the login issue replicated. Let me just delete it again and rebuild it so I can put it on 4.4 for you.

avatar jweaver0312
jweaver0312 - comment - 8 Sep 2023

@HLeithner it is all set on 4.4, same URL, same credentials for you to use.

avatar HLeithner
HLeithner - comment - 10 Sep 2023

@jweaver0312 I did the update, everything went well without data loss,,, I keeped jce deactivated so I see no problem (except the server need a really long time for upgrading but I think that's not relevant here)

avatar jweaver0312
jweaver0312 - comment - 10 Sep 2023

I just tried to log in after you and its stuck in a login loop again.

avatar jweaver0312
jweaver0312 - comment - 10 Sep 2023

It now appears to be a caching issue for the browser after updating to 5.0, that the browser needs to be cleared of history/cache/cookies, before logging in after, weirdly that does not happen during the 4.4 update. After updating to 4.4, I can sign out and sign back in, but seemingly, 5.0 requires that clear (major version)

avatar jweaver0312 jweaver0312 - change - 10 Sep 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-09-10 12:06:35
Closed_By jweaver0312
avatar jweaver0312 jweaver0312 - close - 10 Sep 2023
avatar jweaver0312 jweaver0312 - close - 10 Sep 2023
avatar jweaver0312 jweaver0312 - change - 10 Sep 2023
Status Closed New
Closed_Date 2023-09-10 12:06:35
Closed_By jweaver0312
avatar jweaver0312 jweaver0312 - reopen - 10 Sep 2023
avatar jweaver0312 jweaver0312 - change - 10 Sep 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-09-10 12:07:01
Closed_By jweaver0312
avatar jweaver0312 jweaver0312 - close - 10 Sep 2023
avatar thodorisgo
thodorisgo - comment - 25 Feb 2024

I faced this issue after upgrading from 4.4.3 to 5 and i fixed it by dissabling akeeba backup from my database.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41641.

avatar Lumiga
Lumiga - comment - 27 Feb 2024

@thodorisgo that didn't fix the issue for me. Hopefully someone else will find a solution form me.

avatar Kupers
Kupers - comment - 20 Mar 2024

0 Class "JPlugin" not found
I got this too
4.2.5-4.4.3-5.0.3
I installed a clean version 4.4.3, installed plugins from the old version, updated them to the current one with support for 5
updated to 5.0.3 and everything works
if I update in this order 4.2.5-4.4.3 updating plugins -5.0.3
then I get an error

avatar HLeithner
HLeithner - comment - 24 Mar 2024

One of your installed plugins are outdated so we need the b/c plugin which should be activated automatically when you install 4.4.x. can you confirm that this is activate?

Also for upgrade disable all 3rd party system plugins.

avatar ssnobben
ssnobben - comment - 14 Jul 2024

I also have this problem and wonder after an update to J 5.1 how to solve to remove this issue? I cant have the compability plg off then I get stucked in Joomla backend and have to enable it in the db to get it work again..

avatar chmst
chmst - comment - 14 Jul 2024

Enable the plugin in the database.
As long as you are using extensions which are not ready for J5 you need the compatibility plugin.

Add a Comment

Login with GitHub to post a comment