-
-
Notifications
You must be signed in to change notification settings - Fork 825
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
Fixed fatal error for class not found when managed hook is invoked du… #17004
Conversation
(Standard links)
|
should this be against 5.24 branch? |
I would appreciate @totten 's thoughts on this |
just for information, this issue occurs only when upgrade done through UI but cannot be reproduce using CLI method. |
@pradpnayak Is there an extension that I can install to reproduce? I do 99% of my upgrades via cli so I have missed these. I just upgraded 'clean' installs via the UI without incident, so this must be extension specific. |
Civirules may be good one. |
Thanks That did it. I was able to reproduce the error. I did an I think we should have this against the RC and I am inclined to add to 5.24 as well. @totten what do you think? |
I agree. I've rebased this into the 5.25 branch. |
Jenkins re test this please |
…ring upgrade
Overview
For https://civicrm.stackexchange.com/questions/35285/is-this-wordpress-critical-error-after-upgrade-to-5-24-1-serious
Regression from 5.22.1 (#16521)
Before
Failed to load class after upgrade
After
Upgraded Civi without error
Technical Details
Since hook_civicrm_config() is not invoked while upgrade the get_include_path() doesn't have path for extension which may cause fatal error when managed hook is invoked.