| Summary | Whups "Edit Types" fails due to static/non-static clash |
| Queue | Whups |
| Queue Version | FRAMEWORK_6_0 |
| Type | Bug |
| State | Resolved |
| Priority | 2. Medium |
| Owners | Horde Developers (at) , ralf.lang (at) ralf-lang (dot) de |
| Requester | ralf.lang (at) ralf-lang (dot) de |
| Created | 05/15/2025 (217 days ago) |
| Due | 05/24/2025 (208 days ago) |
| Updated | 05/29/2025 (203 days ago) |
| Assigned | 05/15/2025 (217 days ago) |
| Resolved | 05/29/2025 (203 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Resolved
commit 18dabab4aaf9cbc08383cfd5f0bf96c6958ba581
Author: Ralf Lang <ralf.lang@ralf-lang.de>
Date: Wed, 21 May 2025 21:22:13 +0200
Release 4.0.0-alpha7 (API Version: 4.0.0-alpha1)
fix: Make example hook only load if not yet loaded. Users should
follow this example
fix: Use return value rather than pass-by-reference
fix:
Bug #15187https://bugs.horde.org/ticket/15187 Whups 'Edit Types'fails due to static/non-static clash
fix: Remove reference from signatures.
M .horde.yml
M composer.json
M doc/changelog.yml
https://github.com/horde/whups/commit/18dabab4aaf9cbc08383cfd5f0bf96c6958ba581
commit 770f2905f9ea17fc0e9a58d23dabf0d1fff6db29
Author: Ralf Lang <ralf.lang@ralf-lang.de>
Date: Sun, 18 May 2025 20:56:59 +0200
fix:
Bug #15187https://bugs.horde.org/ticket/15187 Whups 'Edit Types'fails due to static/non-static clash
M lib/Whups.php
https://github.com/horde/whups/commit/770f2905f9ea17fc0e9a58d23dabf0d1fff6db29
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Assigned to
Assigned to Ralf Lang
Queue ⇒ Whups
Due ⇒ 05/24/2025
Summary ⇒ Whups "Edit Types" fails due to static/non-static clash
Type ⇒ Bug
State ⇒ Assigned
call_user_func(): Argument
#1($callback) must be a valid callback,non-static method Horde_Form_Type_html::about() cannot be called
statically
in /usr/local/horde/web/horde-composer/vendor/horde/whups/lib/Whups.php:1264
1. Whups_Form_Admin_AddAttribute->__construct()
horde/whups/admin/index.php:904
2. Whups::fieldTypeNames() horde/whups/lib/Form/Admin/AddAttribute.php:29
3. Whups::fieldTypes() whups/lib/Whups.php:1279