Differences

This shows you the differences between two versions of the page.

knowhow:dokuwiki [2009/12/06 12:37]
attilio pavone
knowhow:dokuwiki [2009/12/06 13:18] (current)
attilio pavone
Line 6: Line 6:
After installing dokuwiki-rc2009-12-02 and upgrading to php 5.3.1 I got a few errors that I resolved as follows. After installing dokuwiki-rc2009-12-02 and upgrading to php 5.3.1 I got a few errors that I resolved as follows.
-  - ''Warning: call_user_func_array() expects parameter 2 to be array, null given in /web/htdocs/www.utillyty.eu/home/wiki/lib/plugins/blog/syntax/blog.php on line 184''+==== Blog plugin warning (in my home page) ==== 
 + 
 +''Warning: call_user_func_array() expects parameter 2 to be array, null given in /web/htdocs/www.utillyty.eu/home/wiki/lib/plugins/blog/syntax/blog.php on line 184''
original line: original line:
Line 14: Line 16:
modified line: modified line:
-<code>call_user_func_array(array(&$renderer, $i[0]),$i[1]);</code> +<code>call_user_func_array(array(&$renderer, $i[0]),$i[1]?$i[1]:array());</code> 
-  - +==== pageutils warnings ==== 
 + 
 +''Warning: call_user_func_array() expects parameter 2 to be array, null given in /web/htdocs/www.utillyty.eu/home/wiki/inc/parserutils.php on line 426  
 +'' 
 + 
 +''Warning: call_user_func_array() expects parameter 2 to be array, null given in /web/htdocs/www.utillyty.eu/home/wiki/inc/parserutils.php on line 562 
 +'' 
 + 
 +original lines: 
 + 
 +<code>call_user_func_array(array(&$renderer, $instruction[0]),$instruction[1]);</code> 
 + 
 +modified lines: 
 + 
 +<code>call_user_func_array(array(&$renderer, $instruction[0]), $instruction[1]?$instruction[1]:array());</code> 
 + 
 +NB: actually in 562 it was $Renderer (with a capital 'R') so I substituted it accordingly... 
 + 

Navigation
Personal Tools