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


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2003
Posts: 6,630
Likes: 85
Joined: Dec 2003
Posts: 6,630
Likes: 85
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,974
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,974
Likes: 154
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: UBB.threads 8.0.0 // wip: UBB.threads 8.0.1
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Dec 2003
Posts: 6,630
Likes: 85
Joined: Dec 2003
Posts: 6,630
Likes: 85
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,630
Likes: 85
Joined: Dec 2003
Posts: 6,630
Likes: 85
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
Profile avatar storage settings
by SenecaFlyer - 12/05/2024 1:24 PM
Not allowing attachment over 2m
by ehill - 12/03/2024 3:16 PM
New Admin Here
by SenecaFlyer - 12/02/2024 4:14 PM
Who's Online Now
1 members (Ruben), 1,791 guests, and 96 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.1
(Snapshot build 20240918)