This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Fixed
FS#1995 PHP Warning while rendering a faulty footnote followed by a list
Backend
2010-07-05lupo49
The following error message will appear, if you add a non-complete footnote (second closing bracket is missing) followed by a list item (which also has a footnote in it):
--
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Doku_Renderer_xhtml::list_item' was given in /var/www/icke/inc/parser/renderer.php on line 78
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Doku_Renderer_xhtml::list_close' was given in /var/www/icke/inc/parser/renderer.php on line 78
--
Wiki-Code:
TextTextTextTextTextText ((Faulty Footnote 1)
- List Item 1
- List Item 2((Footnote 2))
- List Item 3
(Error occurs in Lemming release as well as in the ICKE-Wiki)
2010-09-03gb
Confirmed in devel revision 396c218 too.
2010-10-03ChrisS
reopened. I can reproduce in current dev.
2010-10-03gb
Reproducable for any revision. Adding purge=1 when loading the page helps :-)
2010-10-03ChrisS
Its non-trivial to get the parser to handle this gracefully.
I've pushed a patch for nesting mode to check for existence of methods before attempting to call them, which will remove the warnings.
2011-01-06lupo49
Can you post the link to this patch?
2011-02-06lupo49
Fixed in current codebase. The warning message won't show up and it's traceable where the bracket is missing.