Previous Thread
Next Thread
Print Thread
Hop To
v7.7.2 Send list to me via Email issue
#262975 07/25/2019 4:32 PM
Joined: Dec 2003
Posts: 6,144
Likes: 21
Ruben Offline OP
OP Offline
Joined: Dec 2003
Posts: 6,144
Likes: 21
I found when you do a member search and elect email as a action then Send list to me via Email
I get
Quote
Fatal error: Uncaught ArgumentCountError: Too few arguments to function mailer::set_subject(), 1 passed in /home4/acusersf/public_html/ub/admin/doexportemails.php on line 92 and exactly 2 expected in /home4/acusersf/public_html/ub/libs/mailer.inc.php:127 Stack trace: #0 /home4/acusersf/public_html/ub/admin/doexportemails.php(92): mailer->set_subject('DEE_SUBJECT') #1 {main} thrown in /home4/acusersf/public_html/ub/libs/mailer.inc.php on line 127

And it does not show up in the UBB cp server logs.

Show list in browser window with any format works.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: v7.7.2 Send list to me via Email issue
Ruben #263032 08/09/2019 7:31 PM
Joined: Dec 2003
Posts: 6,144
Likes: 21
Ruben Offline OP
OP Offline
Joined: Dec 2003
Posts: 6,144
Likes: 21
any feedback on this item?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: v7.7.2 Send list to me via Email issue
Ruben #263490 02/11/2020 3:38 PM
Joined: Dec 2003
Posts: 6,144
Likes: 21
Ruben Offline OP
OP Offline
Joined: Dec 2003
Posts: 6,144
Likes: 21
This still happens with UBB 7.7.3
Current error is:
Code
Fatal error: Uncaught ArgumentCountError: Too few arguments to function mailer::set_subject(), 1 passed in /home/sundan21/public_html/forum/admin/doexportemails.php on line 92 and exactly 2 expected in /home/sundan21/public_html/forum/libs/mailer.inc.php:127 Stack trace: #0 /home/sundan21/public_html/forum/admin/doexportemails.php(92): mailer->set_subject('DEE_SUBJECT') #1 {main} thrown in /home/sundan21/public_html/forum/libs/mailer.inc.php on line 127


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: v7.7.2 Send list to me via Email issue
Ruben #263492 02/11/2020 3:59 PM
Joined: Apr 2004
Posts: 1,702
Likes: 50
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,702
Likes: 50
Originally Posted by Ruben
any feedback on this item?

This still happens with UBB 7.7.3
Current error is:
Code
Fatal error: Uncaught ArgumentCountError:Too few arguments to function mailer::set_subject(),
 1 passed in /home/sundan21/public_html/forum/admin/doexportemails.php on line 92 and exactly 2 expected in /home/sundan21/public_html/forum/libs/mailer.inc.php:127 Stack trace: 
#0 /home/sundan21/public_html/forum/admin/doexportemails.php(92): mailer->set_subject('DEE_SUBJECT') 
#1 {main}
 thrown in /home/sundan21/public_html/forum/libs/mailer.inc.php on line 127

This is a PHP 7.x "Too few arguments" error

FIND IN: libs/mailer.inc.php
Code
function set_subject($langKey, $subs)

REPLACE WITH:
Code
function set_subject($langKey, $subs = null)

Fixed for UBB.threads 7.7.4
Thank you.


Current developer of UBB.threads PHP Forum Software // 7.7.4 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Re: v7.7.2 Send list to me via Email issue
Ruben #263494 02/11/2020 4:07 PM
Joined: Dec 2003
Posts: 6,144
Likes: 21
Ruben Offline OP
OP Offline
Joined: Dec 2003
Posts: 6,144
Likes: 21
WOW,
so this is already in 7.7.4?

I am ready.
Stop getting distracted with people like me and get it released. wink


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: v7.7.2 Send list to me via Email issue
Ruben #263496 02/11/2020 4:22 PM
Joined: Dec 2003
Posts: 6,144
Likes: 21
Ruben Offline OP
OP Offline
Joined: Dec 2003
Posts: 6,144
Likes: 21
Works like a charm.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers

Link Copied to Clipboard
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Non-Admin users can't see attached pictures
by jjjjj - 07/11/2020 8:09 PM
[NOTABUG] Report Post bug..
by Morgan - 07/05/2020 1:48 PM
Trial Subscription question.
by Ruben - 07/03/2020 2:34 PM
Unread posts no longer tracked per user...
by KirkW - 06/16/2020 12:21 AM
Max Image file size upload
by jjjjj - 06/10/2020 10:25 PM
Who's Online Now
3 members (Gizmo, jjjjj, 1 invisible), 106 guests, and 52 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4