[Tickets #14866] Strange errors

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Oct 16 02:28:43 UTC 2018


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/14866
------------------------------------------------------------------------------
  Ticket             | 14866
  Created By         | lameventanas at gmail.com
  Summary            | Strange errors
  Queue              | Ansel
  Version            | 3.0.8
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


lameventanas at gmail.com (2018-10-16 02:28) wrote:

If I click on a tag (from the tag cloud), I get this error:

[ansel] Error: Call to a member function hasMethod() on null in  
/var/www/horde/ansel/lib/TagBrowser.php:112
Stack trace:
#0 /var/www/horde/ansel/lib/View/Results.php(146):  
Ansel_TagBrowser->getSlice(0, 9)
#1 /var/www/horde/ansel/view.php(56): Ansel_View_Results->html()
#2 {main} [pid 21624 on line 74 of "/var/www/pear/php/Horde/ErrorHandler.php"]

Changing this:
$registry->hasMethod('forums/numMessagesBatch')) {

To this:
$GLOBALS['registry']->hasMethod('forums/numMessagesBatch')) {

But then I get:
[ansel] PHP ERROR: Division by zero [pid 21651 on line 157 of  
"/var/www/horde/ansel/lib/View/Results.php"]

Which leads me to think that I'm not using the stable release.

I installed everything using the pear installed method, as described  
in the docs.  I'm not really sure which version I'm using after  
following the pear install method.





More information about the bugs mailing list