Jump to content

Archived

This topic is now archived and is closed to further replies.

lordphate

Warning: array_merge() [function.array-merge]

Recommended Posts

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/arshem/public_html/dating/functions.php on line 2112

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/arshem/public_html/dating/functions.php on line 2112

Warning: array_merge() [function.array-merge]: Argument #3 is not an array in /home/arshem/public_html/dating/functions.php on line 2112

Warning: array_merge() [function.array-merge]: Argument #4 is not an array in /home/arshem/public_html/dating/functions.php on line 2112


[code]elseif($deg=='all'){
$num=count_network($m_id,"1","num")+count_network($m_id,"2","num")+

count_network($m_id,"3","num")+count_network($m_id,"4","num");

$friend=array_merge(count_network($m_id,"1","ar"),count_network($m_id,"2","ar"),

count_network($m_id,"3","ar"),count_network($m_id,"4","ar"));  <==== LIne 2112
} [/code]

Share this post


Link to post
Share on other sites
I'm guessing that your function count_network() probably returns a number and not an array.

The arguments in array_merge(arg1, arg2) need to be arrays - like it says in the error messages

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.