Hello,
I keep getting the error :
Fatal error: Call to undefined function akismet_http_post() in /home/dirtprof/public_html/members/wp-content/plugins/enhanced-wordpress-contactform/wp-contactform.php on line 125
...when testing the contact form.
I did nothing to the code.
I believe it is in this portion of the code :
//Before we send the email, we need to check with Akismet
global $akismet_api_host, $akismet_api_port;
$c['user_ip'] = preg_replace( '/[^0-9., ]/', '', $_SERVER['REMOTE_ADDR'] );
$c['user_agent'] = $_SERVER['HTTP_USER_AGENT'];
$c['referrer'] = $_SERVER['HTTP_REFERER'];
$c['blog'] = get_option('home');
$c['permalink'] = $c['blog'].$_SERVER['REQUEST_URI'];
$c['comment_type'] = 'pxsmail';
$c['comment_author'] = $name;
$c['comment_author_email'] = $email;
$c['comment_author_url'] = $blog;
$c['comment_content'] = $_POST['msg'];
$ignore = array( 'HTTP_COOKIE' );
foreach ( $_SERVER as $key => $value )
if ( !in_array( $key, $ignore ) )
$c["$key"] = $value;
$query_string = '';
foreach ( $c as $key => $data )
$query_string .= $key . '=' . urlencode( stripslashes($data) ) . '&';
$response = akismet_http_post($query_string, $akismet_api_host, '/1.1/comment-check', $akismet_api_port);
I use Thesis 1.5 as my theme.
Not sure what is wrong.
Mark