6.0.0-alpha14
6/27/25

[#14715] hasMethod() on null when clicking on a tag in tag cloud
Summary hasMethod() on null when clicking on a tag in tag cloud
Queue Ansel
Queue Version 3.0.8
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester michael (at) bigmichi1 (dot) de
Created 10/19/2017 (2808 days ago)
Due
Updated 10/20/2017 (2807 days ago)
Assigned
Resolved 10/20/2017 (2807 days ago)
Github Issue Link
Github Pull Request
Milestone 3.0.9
Patch No

History
10/20/2017 09:09:28 PM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
Milestone ⇒ 3.0.9
 
10/20/2017 08:33:30 PM Git Commit Comment #5 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_2):

commit aa18a44887ada6b639d91b526e77b578fb1b0ae9
Author: Jan Schneider <jan@horde.org>
Date:   Fri, 20 Oct 2017 22:28:06 +0200

[jan] Fix error when clicking on a tag in the tag cloud (Michael 
Cramer <michael@bigmichi1.de>, Bug #14715).

  M docs/CHANGES
  M package.xml

https://github.com/horde/ansel/commit/aa18a44887ada6b639d91b526e77b578fb1b0ae9
10/20/2017 08:33:29 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_2):

commit b1ad8f870da59a2bd588e7f03652a678dffdda4a
Author: Michael Cramer <michael@bigmichi1.de>
Date:   Fri, 20 Oct 2017 22:11:56 +0200

add missing $registry

add missing $registry to global and change $GLOBALS['registry'] to 
$registry to be consistent

Bug: 14715

  M lib/TagBrowser.php

https://github.com/horde/ansel/commit/b1ad8f870da59a2bd588e7f03652a678dffdda4a
10/20/2017 03:43:42 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_2):

commit 3376e49986f286c77bc4b5379d82c1019adbb976
Author: Jan Schneider <jan@horde.org>
Date:   Fri, 20 Oct 2017 17:43:24 +0200

[jan] Fix error when clicking on a tag in the tag cloud (Michael 
Cramer <michael@bigmichi1.de>, Bug #14715).

  M docs/CHANGES
  M package.xml

https://github.com/horde/ansel/commit/3376e49986f286c77bc4b5379d82c1019adbb976
10/20/2017 02:45:02 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_2):

commit 1aada75297781216fe47b582d4cebd46ac751cdc
Author: Michael Cramer <michael@bigmichi1.de>
Date:   Fri, 20 Oct 2017 16:43:34 +0200

add missing $registry

add missing $registry to global and change $GLOBALS['registry'] to 
$registry to be consistent

Bug: 14715

  M lib/TagBrowser.php

https://github.com/horde/ansel/commit/1aada75297781216fe47b582d4cebd46ac751cdc
10/19/2017 04:58:04 PM michael (at) bigmichi1 (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ hasMethod() on null when clicking on a tag in tag cloud
Queue ⇒ Ansel
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
when i click on a tag in the tag cloud block in ansel a error is shown:

Ein schwerer Fehler ist aufgetreten:
Call to a member function hasMethod() on null
Details wurden für den Administrator mitgeloggt.

in horde.log file the following is logged:

2017-10-19T18:56:29+02:00 EMERG: HORDE [ansel] Error: Call to a member 
function hasMethod() on null in 
/srv/www/docs/ansel/lib/TagBrowser.php:112
Stack trace:
#0 /srv/www/docs/ansel/lib/View/Results.php(146): 
Ansel_TagBrowser->getSlice(0, 9)
#1 /srv/www/docs/ansel/view.php(56): Ansel_View_Results->html()
#2 {main} [pid 14314 on line 74 of "/usr/share/php/Horde/ErrorHandler.php"]

Saved Queries