-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Fatal error: Class 'JExtensionHelper' not found in" by using CLI update.php #18316
Comments
It's an issue that will have to be addressed with that script, not a core error that can be fixed. The problem is the update runs as one single PHP process. So the CMS environment is bootstrapped to the old version platform and in the middle of the update to 3.8 many files have been renamed and inherently removed. The script errors out after running the "delete old files" step because the class it relies on no longer exists as a "real" class and the class aliases are not loaded. |
Thanks for the fast reply. Joomla! ist already updated by the script. The script then is using And then the error is happening because In my understanding this seems to be a 3.8.1 thing. Thanks for any further info on this. I still want to get more into and understand all this. Thanks. |
The process starts using whatever old version you're coming from (presumably any non-3.8 release will hit this). So in memory Joomla is loaded using the old version of the API, no part of which loads |
Roger that. Thank you. |
So what's the solution? |
Steps to reproduce the issue
/JROOT/cli
folder/JROOT/cli
/usr/local/bin/php5-56STABLE-CLI update.php --core
Expected result
No error like described below.
Finish all jobs from
/administrator/components/com_admin/script.php
Actual result
Script stops working at:
$result = $jUpdate->finaliseUpgrade();
Command: php5-56STABLE-CLI update.php --core
Command: php7-70STABLE-CLI update.php --core
Command: php7-71STABLE-CLI update.php --core
System information (as much as possible)
• Tried to update different < 3.8.1 versions to 3.8.1 with same result
• Used PHP 5.6, 7.0 and 7.1 with different error results
• Apache
Additional comments
Line with
JExtensionHelper
committed here:2474c3c#diff-e3c745afdbb43914c4f183a8c1587346
System use current Joomla! version after updating but not all jobs from
/administrator/components/com_admin/script.php
are done.The text was updated successfully, but these errors were encountered: