Skip to content
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: Use of Hooks::register was deprecated in MediaWiki 1.35, PHP Deprecated: Accessing $wgHooks directly is deprecated #223

Open
AbdulazizAlwafaee opened this issue Sep 30, 2023 · 0 comments

Comments

@AbdulazizAlwafaee
Copy link

Setup and configuration

  • SMW version: 4.1.2
  • SESP version: 3.0.4
  • MW version: 1.40.0
  • PHP version: 8.1.2
  • DB (MySQL etc. and version): 10.6.12-MariaDB-0ubuntu0.22.04.1

Issue

PHP Deprecated:  Use of Hooks::register was deprecated in MediaWiki 1.35. [Called from SESP\HookRegistry::register in /var/www/wiki/extensions/SemanticExtraSpecialProperties/src/HookRegistry.php at line 36] in /var/www/wiki/includes/debug/MWDebug.php on line 382
PHP Deprecated:  Accessing $wgHooks directly is deprecated, use HookContainer::getHandlers() or HookContainer::register() instead. [Called from SemanticResultFormats::onExtensionFunction in /var/www/wiki/extensions/SemanticResultFormats/SemanticResultFormats.php at line 97] in /var/www/wiki/includes/debug/MWDebug.php on line 382

Steps to reproduce the observation (recommendation is to use the sandbox):

php maintenance/runJobs.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants