Fatal Error Cannot Redeclare Class Phpmailer In On Line 34
Contents |
here for a quick overview of the site cannot redeclare class phpmailer wordpress Help Center Detailed answers to any questions you might php fatal error: cannot redeclare class phpmailerexception wordpress have Meta Discuss the workings and policies of this site About Us Learn more phpmailer error message about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags class-phpmailer.php download Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up PHPMailer exception error up vote 5 down vote favorite 1 I've
Download Phpmailer
written my own Code Igniter model for sending emails. All was fine until recently when I started to get this error: Fatal error: Cannot redeclare class phpmailerException in /home/mysite/public_html/subdir/application/libraries/phpmailer/class.phpmailer.php on line 2319 I'm using: CodeIgniter 2 PHPMailer 5.1 I've tried the following to resolve it: Added "$mail->SMTPDebug = 0" to turn off errors. Added: "$mail->MailerDebug = false;" Modified the PHPMailer to only show errors when SMTPDebug is turned on. Looked for and removed any echo statements Added try / catch blocks Tried adding / removing: $mail = new PHPMailer(true); Here is my controller method (company/contact) which calls my model (message_model): function contact() { //Do settings. $this->options->task='email'; $this->options->change = 'sent'; $this->options->form_validation=''; $this->options->page_title='Contact Us'; //Import library include_once('application/libraries/recaptcha/recaptchalib.php');//Include recaptcha library. //Keys for recaptcha, stored in mainconfig file. $this->options->publickey = $this->config->item('recaptcha_public'); $this->options->privatekey = $this->config->item('recaptcha_private'); //Form validation $this->form_validation->set_error_delimiters('
WordPress Forum → iThemes Plugin Support → Support for Free Plugins → ContactBuddy Javascript Disabled Detected You currently have javascript disabled. Several functions may not work. Please re-enable
Smtp Error: Could Not Authenticate.
javascript to access full functionality. Better, More Convenient, Private Support for Your gmail smtp iThemes Products Is Here. We're moving support away from the forum and in to private tickets - Log In to Get Support Here Note: any currently open support threads in the community forum will stay open while we resolve them. Fatal Error - Cannot redeclare class PHPMailer Started by http://stackoverflow.com/questions/10734397/phpmailer-exception-error maureen , Jul 27 2011 07:56 AM This topic has been archived. This means that you cannot reply to this topic. 3 replies to this topic #1 maureen maureen Advanced Member Members 30 posts Posted 27 July 2011 - 07:56 AM I get this fatal error when I click the submit button on the contact form. Please advise. Fatalerror: Cannot redeclare https://ithemes.com/forum/topic/16691-fatal-error-cannot-redeclare-class-phpmailer/ class PHPMailer in /var/www/vhost/belairtennis.com/home/html/wp-includes/class-phpmailer.php on line 34 Back to top #2 Bes Zain Bes Zain Member Members 4,268 posts Posted 27 July 2011 - 01:36 PM Hi Maureen,Thanks for bringing this up.1 : What is the url this is happening on?2 : Could you try de-activating all other plugins and then retry to see if this still shows the same error?Thanks! Add/Follow me on Twitter - G+ - Social Improve - The Reasoner - FB - LinkedIn - Google Search Back to top #3 maureen maureen Advanced Member Members 30 posts Posted 09 August 2011 - 06:26 AM I deactivated plugins and it worked - probably MEE news plugin. Thanks for your help. Back to top #4 Bes Zain Bes Zain Member Members 4,268 posts Posted 09 August 2011 - 10:10 AM Hi Maureen,Thanks for the reply and confirming that it's the MEE news plugin [most probably] that causes a conflict when clicking the submit button in ContactBuddy [re-summarizing for anyone else in the future].Regards, Add/Follow me on Twitter - G+ - Social Improve - The Reasoner - FB - LinkedIn
Error phpmailerException assal0le @assal0le 4 months, 2 weeks ago Fatal error: Cannot redeclare class phpmailerException https://wordpress.org/support/topic/error-phpmailerexception/ in /home/myweb.com/public_html/wp-includes/class-phpmailer.php on line 3828 how to fix this? https://wordpress.org/plugins/gmail-smtp/ Viewing 4 replies - 1 through 4 (of 4 total) Plugin Author https://buddypress.org/support/topic/cannot-redeclare-class-bp_activity_activity/ naa986 @naa986 4 months, 2 weeks ago Hi, Can you please copy and paste the content from your "Server Info" tab? cannot redeclare rucha123 @rucha123 2 months, 3 weeks ago Hello, I have the same problem. Help Me. My Server Ifno Tab Details are: OS: Linux biz177.inmotionhosting.com 2.6.32-604.30.3.lve1.3.63.el6.x86_64 #1 SMP Sun Sep 27 06:34:10 EDT 2015 x86_64 PHP version: 5.4.45 WordPress version: 4.5.3 WordPress multisite: No cannot redeclare class openssl: Available allow_url_fopen: Enabled stream_socket_client: Available fsockopen: Available Plugin Author naa986 @naa986 2 months, 2 weeks ago @rucha123, Do you have any other SMTP/Mail plugin installed? rucha123 @rucha123 2 months, 2 weeks ago I have tried 2-3 plugins before that. But I removed it. Viewing 4 replies - 1 through 4 (of 4 total) You must be logged in to reply to this topic. About this Plugin Gmail SMTP Support Threads Reviews Topic Info In: Plugins and Hacks 4 replies 3 participants Last reply from: rucha123 Last activity: 2 months, 2 weeks ago 4.5.2 Status: resolved Topic Tagserrorphpmailer Forum Search Search for: About Blog Hosting Jobs Support Developers Get Involved Learn Showcase Plugins Themes Ideas WordCamp WordPress.TV BuddyPress bbPress WordPress.com Matt Privacy License / GPLv2 Code is Poetry.
months ago need help. I deleted my files under buddypress then tried reinstalling them and I am getting the subject error above. I am not able to reactivate sitewide. please help… Viewing 6 replies - 1 through 6 (of 6 total) John James JacobyKeymaster @johnjamesjacoby 6 years, 11 months ago Sounds like you've got files still in place. Can you make sure you've deleted all of your old BuddyPress files and try again? Or, maybe delete the buddypress directory entirely and try again? FamousParticipant @famous 6 years, 11 months ago Thanks JJJ now I am getting: The requested URL /members/ was not found on this server. The only thing that I could think of that may be doing this is that, I added the new themes??? John James JacobyKeymaster @johnjamesjacoby 6 years, 11 months ago If the theme on your root blog is not using bp-sn-parent, or at the very least not using the functions.php that comes with it, then you will receive this error, among others. ivanoatsMember @ivanoats 5 years, 5 months ago Hi John, could you please elaborate on this error and how to include bp-sn-parent? I am seeing a similar error on a site using Arras theme and thought I had followed all steps to convert it to BP. The error I am seeing is Fatal error: Cannot redeclare class PHPMailer in /home/northat/public_html/wp-includes/class-phpmailer.php on line 34 VirtualiParticipant @gunju2221 5 years, 5 months ago Unfortunately, the fatal error you are getting has nothing to do with buddypress. You can read the error that it's in your wp-includes/class-phpmailer.php on line 34, and "Cannot Re-declare" means that the class is called twice somewhere. Go into that file, above, and delete the "Class PHPMailer" is what I would advise. Paul GibbsKeymaster @djpaul 5 years, 5 months ago No, no; don't start hacking WordPress or BuddyPress core files. You will cause yourself problems with upgrades in the future. This thread was 1.5 years old before ivanoats replied to it; ivanoats, I'm going to close this thread, but could you please make a new post with fuller details of what you're trying to do, what you've done so far, the error you've got, the theme you're trying to use, and the version numbers of BP and WP. Thanks. Viewing 6 replies - 1 through 6 (of 6 total) The topic ‘cannot redeclare Class BP_Activity_Activity {' is closed to new replies. Topic Info In: Installing BuddyPress 6 replies 5 participants Last reply from: Paul Gibbs Last activity: 5 years, 5 months ago Reply Search Search for: See also: WordPress.org • bbPress.org &bu