Joomla warning: call_user_func_array() expects parameter 2 to be array, null given in /home/

If Joomla website shows the following warnings,

Warning: call_user_func_array() expects parameter 2 to be array, null given in /home/username/public_html/libraries/joomla/cache/cache.php on line 143

Warning: call_user_func_array() expects parameter 2 to be array, null given in /home/username/public_html/libraries/joomla/cache/cache.php on line 143

Warning: call_user_func_array() expects parameter 2 to be array, null given in /home/username/public_html/libraries/joomla/cache/cache.php on line 143

Warning: call_user_func_array() expects parameter 2 to be array, null given in /home/username/public_html/libraries/joomla/cache/cache.php on line 143

Warning: call_user_func_array() expects parameter 2 to be array, null given in /home/username/public_html/libraries/joomla/cache/cache.php on line 143

Warning: call_user_func_array() expects parameter 2 to be array, null given in /home/username/public_html/libraries/joomla/session/session.php on line 283

Warning: call_user_func_array() expects parameter 2 to be array, null given in /home/username/public_html/libraries/joomla/session/session.php on line 283

Warning: call_user_func_array() expects parameter 2 to be array, null given in /home/username/public_html/libraries/joomla/session/session.php on line 283

Warning: call_user_func_array() expects parameter 2 to be array, null given in /home/username/public_html/libraries/joomla/session/session.php on line 283

Warning: call_user_func_array() expects parameter 2 to be array, null given in /home/username/public_html/libraries/joomla/session/session.php on line 283

Warning: call_user_func_array() expects parameter 2 to be array, null given in /home/username/public_html/libraries/joomla/session/session.php on line 283

Then change
if(call_user_func_array( array( trim($class), ‘test’ ),null)) {

in libraries\joomla\cache\session.php and libraries\joomla\session\cache.php by
if(call_user_func_array( array( trim($class), ‘test’ ),array(null))) {

to solve the issue.

About these ads

4 Comments

  1. Thanks.. great it’s work

  2. goga_pgasovav

    Thank you! Only here I found real solution!

  3. Thank, that all i need instead of change php version. Thank a lot

  4. Thanks it works like a charm…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: