Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12384
Latest: MildredGarrido
New This Month: 8
New This Week: 0
New Today: 0
Stats
Total Posts: 39888
Total Topics: 7022
Most Online Today: 65
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 43
Total: 43

Author Topic: Error: Cannot redeclare scheduled_send_email_campaign  (Read 2018 times)

0 Members and 1 Guest are viewing this topic.

Offline Vincent Volmer

  • Hero Member
  • *****
  • Posts: 505
  • SMF 2.0.1
    • View Profile
    • Digiscrap.nl
Error: Cannot redeclare scheduled_send_email_campaign
« on: October 05, 2015, 01:49:53 am »
Hello SMFHacks,

I noticed the error below because I didn't see the new SMF update info, so I run that task manual. This error appears when I manual run a scheduled task, no matter what task it is. This only appears when Newsletter Pro is enabled/installed.

Code: [Select]
Fatal error: Cannot redeclare scheduled_send_email_campaign() (previously declared in /home/xxxxx/domains/xxxxx/public_html/Sources/ScheduledTasks.php:1652) in /home/xxxxx/domains/xxxxx/public_html/Sources/ScheduledTasks.php on line 1708
Thanks for your help!

Running
SMF2.0.11
Newsletter Pro3.0.5
Vincent
« Last Edit: October 05, 2015, 01:53:21 am by Vincent Volmer »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14953
    • View Profile
Re: Error: Cannot redeclare scheduled_send_email_campaign
« Reply #1 on: October 05, 2015, 07:29:35 am »
Attach Sources/ScheduledTasks.php

That function was added twice to that file.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Vincent Volmer

  • Hero Member
  • *****
  • Posts: 505
  • SMF 2.0.1
    • View Profile
    • Digiscrap.nl
Re: Error: Cannot redeclare scheduled_send_email_campaign
« Reply #2 on: October 05, 2015, 07:41:19 am »
Hereby....

Thanks, Vincent

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14953
    • View Profile
Re: Error: Cannot redeclare scheduled_send_email_campaign
« Reply #3 on: October 05, 2015, 07:51:16 am »
Updated file attached
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Vincent Volmer

  • Hero Member
  • *****
  • Posts: 505
  • SMF 2.0.1
    • View Profile
    • Digiscrap.nl
Re: Error: Cannot redeclare scheduled_send_email_campaign
« Reply #4 on: October 05, 2015, 07:53:32 am »
Ah! Great... that did it! Thanks again~!

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
4282 Views
Last post August 23, 2007, 07:20:24 pm
by rumboogy
4 Replies
8048 Views
Last post February 09, 2008, 11:44:03 pm
by ApplianceJunk
8 Replies
6152 Views
Last post March 09, 2008, 11:45:33 pm
by کŋ
2 Replies
5980 Views
Last post May 09, 2008, 02:33:12 pm
by RoFus
4 Replies
3677 Views
Last post October 09, 2011, 03:59:37 pm
by SMFHacks

+- Recent Topics

prettyurls - TroubleShooting.wiki by Rock Lee
October 10, 2019, 11:37:09 am

Some issues with adding and editing a listing by ajac63
October 07, 2019, 04:16:40 am

Problem update 1.1.21 to 2.0.15 by Rock Lee
October 06, 2019, 06:09:16 pm

[Mod]SMF 2.0.x PHP 7.2 Support by sah62
October 04, 2019, 01:46:00 pm

Ideas by shuban
October 03, 2019, 10:19:06 pm

How to space icons and multiple reacts? by shadav
October 03, 2019, 04:20:07 pm

PrettyUrls SEO Pro by Rock Lee
October 01, 2019, 09:09:38 am

How to get search preciser by SMFHacks
September 23, 2019, 10:09:56 am

How to AVOID SEO Hit when Implementing PrettyURLs by SMFHacks
September 12, 2019, 08:50:42 pm

theme by SMFHacks
September 12, 2019, 07:10:51 am

Powered by EzPortal