QUICK NEWS

{NEW} - A new css video is up.

{OLD} - New video courtesy of Skhilled, Thanks for posting it up.

Video of the moment:


Internal Links

SMF Sites

Quick Info

Can't send Newsletter

Started by Ronald, Jul 25, 2020, 08:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ronald

When attempting to send out a Newsletter, I get the following error.

QuoteType of error: Undefined
8: Undefined index: unsubscribe_announcements_plain
 https://seniorforums.ca/index.php?action=admin;area=news;sa=mailingsend
 /home/coffeeti/public_html/Sources/ManageNews.php (Line 1026)

SychO

What version of the software are you using ? RC2 or from github ?

Could you attach the file in question here ?

Ronald

Quote from: SychO on Jul 25, 2020, 02:27 PMWhat version of the software are you using ? RC2 or from github ?

Could you attach the file in question here ?

Not sure, Bryan (runic) did the last upgrade, so I would say github.

Now what file are you looking for.

SychO

Quote from: Ronald on Jul 25, 2020, 08:16 PMNot sure, Bryan (runic) did the last upgrade, so I would say github.

Now what file are you looking for.

ManageNews.php

Ronald

#4
Here it is: You cannot view this attachment.

lurkalot

Quote from: Ronald on Jul 26, 2020, 02:21 PMHere it is: You cannot view this attachment.

Ronald that's the wrong file, SychO asked for ManageNews.php

You'll find it in, /Sources/ManageNews.php

Ronald

 
Quote from: lurkalot on Jul 26, 2020, 06:04 PMRonald that's the wrong file, SychO asked for ManageNews.php

You'll find it in, /Sources/ManageNews.php

Thanks I changed it.

Ronald


SychO

Hmm, weird it seems like for some reason the language files aren't being loaded, can you past the backtrace information please ? (all of the contents of the popup window you get when you click on the link "Backtrace information" next to the error).

Ronald

Quote from: SychO on Jul 28, 2020, 12:43 PMHmm, weird it seems like for some reason the language files aren't being loaded, can you past the backtrace information please ? (all of the contents of the popup window you get when you click on the link "Backtrace information" next to the error).

Error

Type of error: Undefined_vars
Error message:
8: Undefined index: unsubscribe_announcements_plain
File: /home/coffeeti/public_html/Sources/ManageNews.php
Line: 1026
URL of page causing the error: https://seniorforums.ca/index.php?action=admin;area=news;sa=mailingsend

Backtrace information

#0: smf_error_handler()
Called from /home/coffeeti/public_html/Sources/ManageNews.php on line 1026
#1: SendMailing()
Called from /home/coffeeti/public_html/Sources/Subs.php on line 5414
#2: call_helper()
Called from /home/coffeeti/public_html/Sources/ManageNews.php on line 73
#3: ManageNews()
Called from /home/coffeeti/public_html/Sources/Admin.php on line 497
#4: AdminMain()
Called from /home/coffeeti/public_html/index.php on line 173

SychO


SychO

Sorry but assuming you are indeed using the latest version from github, I don't know why you're getting the error.

The issue was fixed two months ago https://github.com/SimpleMachines/SMF2.1/issues/6138 so if you are using the latest github version, there is no way you would be getting this error.

My guess is that maybe you are using latest github source code, but your theme files are not updated for some reason.

Ronald

Quote from: SychO on Jul 30, 2020, 06:21 AMSorry but assuming you are indeed using the latest version from github, I don't know why you're getting the error.

The issue was fixed two months ago https://github.com/SimpleMachines/SMF2.1/issues/6138 so if you are using the latest github version, there is no way you would be getting this error.

My guess is that maybe you are using latest github source code, but your theme files are not updated for some reason.

I remember this one, I'll check the theme files next then.

Thanks for the help Sycho appreciated.

Ron.

SychO

specifically what you should check is that $txt['unsubscribe_announcements_plain'] exists in the Themes/default/languages/index.english.php file.

Ronald

I don't see that any where in the file. I enclosed the file, maybe you can take a peek inside, see if you see it.

You cannot view this attachment.

Thanks.