mod-change_category often gives "Notice: Undefined variable: modcatlist [...] on line 72"
- Status
- Closed
- Subject
- mod-change_category often gives "Notice: Undefined variable: modcatlist [...] on line 72"
- Version
- 1.9.x
- Category
- Error
- Feature
- Category
Modules - Resolution status
- Fixed or Solved
- Submitted by
- amette
- Lastmod by
- Marc Laporte
- Rating
- Description
Complete error-message is:
Notice: Undefined variable: modcatlist in /modules/mod-change_category.php on line 72Steps to reproduce:
- assign mod-change_category.php to a column
- go to Admin->General or tiki-print.php
- see the error messageEditing my wiki HomePage I even had Tiki dieing completely with errors:
Notice: Undefined variable: modcatlist in /home/amette/public_html/tikiwiki-BRANCH-1-9/modules/mod-change_category.php on line 72
Warning: Cannot modify header information - headers already sent by (output started at /home/amette/public_html/tikiwiki-BRANCH-1-9/modules/mod-change_category.php:72) in /home/amette/public_html/tikiwiki-BRANCH-1-9/tiki-editpage.php on line 775
- Solution
I think that count($categs) on line 31 in the module doesn't give results for those pages - this could be solved in the module easily...
Didn't touch it though - perhaps there is some more generic solution in tikilib ?!?Ok, after adding the edit-wiki-page error above: perhaps it's better to solve it in the module itself?
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 383
- Created
- Monday 10 October, 2005 14:04:17 UTC
by Unknown - LastModif
- Thursday 30 September, 2021 13:14:19 UTC