Page MenuHomePhabricator

Extension WhoIsWatching // PHP Fatal error: Class 'WhoIsWatching\\Article' not found in /WhoIsWatching/src/Hook.php on line 40
Closed, ResolvedPublic

Description

Environment

  • MediaWiki 1.27.4 (cc61b62) 01:40, 16. Nov. 2017
  • PHP 5.6.33-0+deb8u1 (apache2handler)
  • MariaDB 10.0.32-MariaDB-0+deb8u1
  • WhoIsWatching 0.12.1 (ad393cd) 22:20, 19. Mar. 2018

Issue
PHP Fatal error: Class 'WhoIsWatching\\Article' not found in /WhoIsWatching/src/Hook.php on line 40

Cause
As soon as a page contains a redirect like #REDIRECT [[Page_Name]] the issue may be observed.

Event Timeline

Kghbln created this task.Mar 29 2018, 8:58 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 29 2018, 8:58 AM

@MarkAHershberger FYI Since you have refactored the extension back in October 2017. A fix will be great to have. Cheers

Kghbln renamed this task from PHP Fatal error: Class 'WhoIsWatching\\Article' not found in /WhoIsWatching/src/Hook.php on line 40 to Extension WhoIsWatching // PHP Fatal error: Class 'WhoIsWatching\\Article' not found in /WhoIsWatching/src/Hook.php on line 40.Mar 29 2018, 9:00 AM
MarkAHershberger closed this task as Resolved.Apr 17 2018, 7:08 PM
MarkAHershberger claimed this task.

@MarkAHershberger Thanks a ton for the fix! Much appreciated!