Previous Thread
Next Thread
Print Thread
Hop To
Joined: Apr 2019
Posts: 44
Newbie
Newbie
Joined: Apr 2019
Posts: 44
# fix error

#$admin->setParentTitle($ubbt_lang['SUB_SETUP']);

Fatal error: Uncaught ArgumentCountError: Too few arguments to function Admin::setParentTitle(), 1 passed in \admin\edit_subscription.php on line 88 and exactly 2 expected in \libs\admin.inc.php:126 Stack trace: #0 \admin\edit_subscription.php(88): Admin->setParentTitle(NULL) #1 {main} thrown in \libs\admin.inc.php on line 126

Joined: Dec 2003
Posts: 6,634
Likes: 87
Joined: Dec 2003
Posts: 6,634
Likes: 87
Have you changed your database to utf8 instead of utf8mb4?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Apr 2019
Posts: 44
Newbie
Newbie
Joined: Apr 2019
Posts: 44
not sql error...

utf8 same error

thx 😅

Last edited by BlackMale; 05/12/2019 1:53 AM.
Joined: Apr 2004
Posts: 2,002
Likes: 169
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 2,002
Likes: 169
Thank you for reporting this PHP 7 "Too few arguments" error.

It has been fixed for UBB.threads 7.7.2



in admin/edit_subscription.php
FIND:
Code
$admin->setParentTitle($ubbt_lang['SUB_SETUP']);

REPLACE WITH:
Code
$admin->setParentTitle($ubbt_lang['SUB_SETUP'], null);


current developer of UBB.threads php forum software
current release: UBB.threads 8.0.0 // wip: UBB.threads 8.1.0
isaac @ id242.com // my forum @ CelicaHobby.com

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Forum time/date setting
by Conrad - 11/10/2025 2:03 PM
Icon Images Look Blurry
by ShiftKnowledge - 11/09/2025 7:01 PM
Who's Online observation
by Morgan - 11/09/2025 4:38 AM
How do I locate the database error?
by Conrad - 11/08/2025 9:03 AM
Faded Header ...
by ShiftKnowledge - 11/06/2025 5:29 PM
Who's Online Now
2 members (Conrad, 1 invisible), 8,941 guests, and 210 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
test
test
by Gizmo, August 20
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20250209)