Previous Thread
Next Thread
Print Thread
Hop To
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
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
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
any feedback on this item?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
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
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
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
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Works like a charm.


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

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Ruben), 476 guests, and 111 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)