Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11833
Latest: playwyourlifenotme
New This Month: 1
New This Week: 1
New Today: 1
Stats
Total Posts: 42303
Total Topics: 7379
Most Online Today: 116
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 39
Total: 39

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

0 Members and 1 Guest are viewing this topic.

Offline Vincent Volmer

  • Hero Member
  • *****
  • Posts: 519
  • SMF 2.0.17
    • 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: 16037
    • 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: 519
  • SMF 2.0.17
    • 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: 16037
    • 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: 519
  • SMF 2.0.17
    • 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
4920 Views
Last post August 23, 2007, 07:20:24 pm
by rumboogy
4 Replies
9823 Views
Last post February 09, 2008, 11:44:03 pm
by ApplianceJunk
8 Replies
6759 Views
Last post March 09, 2008, 11:45:33 pm
by کŋ
2 Replies
6856 Views
Last post May 09, 2008, 02:33:12 pm
by RoFus
4 Replies
4627 Views
Last post October 09, 2011, 03:59:37 pm
by SMFHacks

+- Recent Topics

Trying to access array offset on value of type null by SMFHacks
Today at 03:58:54 pm

SMF forum by davejo
June 27, 2022, 01:16:25 am

Quick-moderation checkboxes by davejo
June 22, 2022, 09:27:24 am

Add option to Main Menu bar by Shades
June 21, 2022, 12:23:00 am

Logo and Category? by SMFHacks
June 12, 2022, 03:43:31 pm

prettyurls - TroubleShooting.wiki by GhostHunting
June 12, 2022, 02:52:57 pm

[Mod]Modification Update Version Checker by SMFHacks
June 06, 2022, 09:25:39 pm

Profile Gallery Link by SMFHacks
June 02, 2022, 05:17:45 pm

SMF Store 5.0 Beta Errors - Trying to access array offset on value of type null by Michael Vail
June 01, 2022, 12:48:48 pm

Upgrade Issues? by SMFHacks
May 30, 2022, 06:24:03 pm

Powered by EzPortal