The problem is your theme, it was developed by a theme developer that doesn't understand what they are doing and doesn't follow best practices. It is including a PHP file that it should not be including, phpmailer. This is what is breaking things.
PHPMailer is built into WordPress and is relied on by plugins that send email using the wp_mail() function. Themes and plugins shouldn't be including their own version, because it causes this error to occur if you do.
See this screenshot of your themes functions.php file, notice the first require_once line in the code: http://grab.by/apU2
I went ahead and removed this line and the form is now submitting without any problems.
These issues are common with themes purchased from ThemeForest because they are usually developed by theme developers that don't really understand WordPress development. They look pretty, but they are terrible under the hood.
Posted 12 years ago on Thursday June 23, 2011 |
Permalink