• kherge

    (@kherge)


    Line 387 produces an “Bad Argument” error from the implode() function. The variable being imploded is actually a string on my computer.

    To fix this error, replace this:

    if(isset($curl_version['protocols']))
    				$curl_message .= 'Supports: ' . implode(', ',$curl_version['protocols']) . '. ';

    With this:

    if(isset($curl_version['protocols']))
    				if(is_array($curl_version))
    					$curl_message .= 'Supports: ' . implode(', ',$curl_version['protocols']) . '. ';
    				else
    					$curl_message .= 'Supports: ' . $curl_version['protocols'] . '. ';
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘OpenID Plugin (WP 2.5) produces implode() “Bad Argument” error’ is closed to new replies.