-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
PHP Deprecated: Accessing $wgHooks directly is deprecated #781
Comments
Seb35
added a commit
to WikiValley/SemanticResultFormats
that referenced
this issue
Oct 23, 2023
HookContainer service is available since 1.35, just like extension.json compatibility statement, so no need of a compatibility layer. Issue: SemanticMediaWiki#781
JeroenDeDauw
pushed a commit
that referenced
this issue
Oct 24, 2023
HookContainer service is available since 1.35, just like extension.json compatibility statement, so no need of a compatibility layer. Issue: #781
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Setup
Issue
see Stacktrace: This cause massive log spam
Maybe this is helping: https://phabricator.wikimedia.org/T333926
Steps to reproduce
happens on every request
Stacktrace
"PHP message: PHP Deprecated: Accessing $wgHooks directly is deprecated, use HookContainer::getHandlers() or HookContainer::register() instead. [Called from SemanticResultFormats::onExtensionFunction in /srv/www/mediawiki_test/w/extensions/SemanticResultFormats/SemanticResultFormats.php at line 97] in /srv/www/mediawiki_test/w/includes/debug/MWDebug.php on line 382"
The text was updated successfully, but these errors were encountered: