Summary | Strange errors |
Queue | Ansel |
Queue Version | 3.0.8 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | lameventanas (at) gmail (dot) com |
Created | 10/16/2018 (2431 days ago) |
Due | |
Updated | 10/23/2018 (2424 days ago) |
Assigned | |
Resolved | 10/23/2018 (2424 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Assigned to Michael Rubinsky
State ⇒ Resolved
Priority ⇒ 1. Low
https://github.com/horde/ansel/commit/08ff386571c2c4ec70ba18624e1c565fab1934f1#diff-ea1b54269fb2ae258c13427955902ec2
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Ansel
Summary ⇒ Strange errors
Type ⇒ Bug
State ⇒ Unconfirmed
[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.