No Code Attached Yet bug
avatar dautrich
dautrich
18 Oct 2023

Steps to reproduce the issue

When updating from J4.3.4 to J4.4.0, sometimes an error message regarding a missing class appears. The version info in the top bar still indicates 4.3.4. The error message offers to return to the dashboard, which works. After that, everything seems to be okay. The log file joomla_update.php doesn't show any error.
grafik

This happens only occasionally, not on all updates.

Expected result

After update, the message about the new version is displayed. You're supposed to go to the dashboard.

Actual result

grafik

System information (as much as possible)

Joomla 4.4
PHP 8.2.2
MySQL 8.0.33

Additional comments

avatar dautrich dautrich - open - 18 Oct 2023
avatar joomla-cms-bot joomla-cms-bot - change - 18 Oct 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 18 Oct 2023
avatar dautrich dautrich - change - 18 Oct 2023
The description was changed
avatar dautrich dautrich - edited - 18 Oct 2023
avatar woluweb
woluweb - comment - 18 Oct 2023

Delete the file administrator/cache/autoload_psr4.php

If that does not solve, then unzip the Updata package and again delete the file administrator/cache/autoload_psr4.php

Actually, see https://docs.joomla.org/J4.x:Fix_%22Reinstall_Joomla!_core_files%22_in_4.4.0_broke_Installation_and_backend_login

avatar dautrich
dautrich - comment - 18 Oct 2023

@woluweb
The update has been run without issues. The only nasty thing is the error message. After that, frontend and backend work without any issues.

avatar richard67
richard67 - comment - 20 Oct 2023

So the message came only one time and after using the back to dashboard button all works without having to delete the autoloader file manually? If so, does the backend show the right version, or still the 4.3.4?

The class mentioned in the message belongs to the Backwards Compatibility plugin for J5, which is already installed on 4.4.0 but not doing anything, just for being present when later updating to to 5. No idea what could try to access this class in J4.4, except of the procedure which generates the autoloader file.

We might have to dig deeper to see what happens. Unfortunately I cannot reproduce the issue.

avatar richard67 richard67 - change - 20 Oct 2023
Labels Added: bug
avatar richard67 richard67 - labeled - 20 Oct 2023
avatar dautrich
dautrich - comment - 20 Oct 2023

@richard67

So the message came only one time and after using the back to dashboard button all works without having to delete the autoloader file manually? If so, does the backend show the right version, or still the 4.3.4?

The message come just once. After navigating to the dashboard, it shows the proper version 4.4.0. I didn't delete the autoloader file.
If a remember correctly, I saw this message two times when updating a site to 4.4.0; did that for about a dozen sites.

avatar richard67
richard67 - comment - 20 Oct 2023

Maybe some kind of caching issue? @dautrich Do you have the PHP opcache extension enabled on these 2 sites?

avatar dautrich
dautrich - comment - 20 Oct 2023

@richard67

I never cared about opcache. System information tells me that Zend Opcache is up and running:

grafik

All my websites are hosted by 1blu. So I assume that this cache is up and running for all my websites (I didn't check closer).

avatar richard67
richard67 - comment - 20 Oct 2023

Yes, but it could be some kind of timing issue with that. Anyway that's just an idea and would be hard to reproduce.

avatar richard67
richard67 - comment - 20 Oct 2023

The updater should invalidate the opcache for every updated and deleted file, so that should not be an issue, but who knows, maybe there is still something missing.

avatar dautrich
dautrich - comment - 20 Oct 2023

Maybe it would be better not to invest too much time into this issue.
Another idea: Why not add a sentence to the FAQ? Something like:
“Some users have occasionally seen the following error message: xxx. This shouldn't be seen as a serious error message and can be ignored.”

avatar richard67
richard67 - comment - 20 Oct 2023

Another idea: Why not add a sentence to the FAQ? Something like: “Some users have occasionally seen the following error message: xxx. This shouldn't be seen as a serious error message and can be ignored.”

Godd idea. @dautrich Can you do that? Or maybe release managers @laoneo @MacJoom ?

avatar dautrich
dautrich - comment - 20 Oct 2023

@richard67 I don't have any rights on joomla.org

avatar dautrich dautrich - change - 22 Apr 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-04-22 10:14:44
Closed_By dautrich
avatar dautrich dautrich - close - 22 Apr 2024
avatar dautrich
dautrich - comment - 22 Apr 2024

Didn't happen on later updates anymore. No reproducible. Closed by the author.

Add a Comment

Login with GitHub to post a comment