SMFHacks.com

Newsletter Pro => Support => Topic started by: Vincent Volmer on October 05, 2015, 01:49:53 am

Title: Error: Cannot redeclare scheduled_send_email_campaign
Post by: Vincent Volmer 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
Title: Re: Error: Cannot redeclare scheduled_send_email_campaign
Post by: SMFHacks on October 05, 2015, 07:29:35 am
Attach Sources/ScheduledTasks.php

That function was added twice to that file.
Title: Re: Error: Cannot redeclare scheduled_send_email_campaign
Post by: Vincent Volmer on October 05, 2015, 07:41:19 am
Hereby....

Thanks, Vincent
Title: Re: Error: Cannot redeclare scheduled_send_email_campaign
Post by: SMFHacks on October 05, 2015, 07:51:16 am
Updated file attached
Title: Re: Error: Cannot redeclare scheduled_send_email_campaign
Post by: Vincent Volmer on October 05, 2015, 07:53:32 am
Ah! Great... that did it! Thanks again~!