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,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
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 2:53 AM.
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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: UBBT 7.7.5 // Preview: UBBT 8.0.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
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
3 members (rootman, Gizmo, Nightcrawler), 562 guests, and 186 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)