Update from 4.3.4 to 5.0
Error Class "JPlugin" not found
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
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
For the Moment you can rename the jce plugin
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.
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.
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.
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.
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.
@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.
Title |
|
@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.
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.
The problem could come from a quickicon or a module that is not core but loads in the dashboard.
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
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?
And check the logs on your server. That's where you will get hints of what's going on.
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.
Can you please give me access to the site? harald.leithner@community.joomla.org
@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.
thanks I logged in but everthing is working, except front end looks odd but not sure if this is expected.
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.
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?
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.
you can keep jce and custom css. the upgrade should work as it is, only disabling of system plugins is needed.
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.
@HLeithner it is all set on 4.4, same URL, same credentials for you to use.
@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)
I just tried to log in after you and its stuck in a login loop again.
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)
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-09-10 12:06:35 |
Closed_By | ⇒ | jweaver0312 |
Status | Closed | ⇒ | New |
Closed_Date | 2023-09-10 12:06:35 | ⇒ | |
Closed_By | jweaver0312 | ⇒ |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-09-10 12:07:01 |
Closed_By | ⇒ | jweaver0312 |
I faced this issue after upgrading from 4.4.3 to 5 and i fixed it by dissabling akeeba backup from my database.
@thodorisgo that didn't fix the issue for me. Hopefully someone else will find a solution form me.
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
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.
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..
Enable the plugin in the database.
As long as you are using extensions which are not ready for J5 you need the compatibility plugin.
Die you disabled all 3rd Party systrm Plugins before you Upgrades?