Previous Thread
Next Thread
Print Thread
Hop To
[FIXED for 7.7.2] 7.7.1 /admin/edit_subscription.php #262696 05/11/2019 8:35 AM
Joined: Apr 2019
Posts: 45
BlackMale Offline OP
Newbie
OP Offline
Newbie
Joined: Apr 2019
Posts: 45
# 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

Express Hosting
Re: [FIXED for 7.7.2] 7.7.1 /admin/edit_subscription.php [Re: BlackMale] #262697 05/11/2019 2:08 PM
Joined: Dec 2003
Posts: 5,937
Ruben Offline
Offline
Joined: Dec 2003
Posts: 5,937
Have you changed your database to utf8 instead of utf8mb4?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: [FIXED for 7.7.2] 7.7.1 /admin/edit_subscription.php [Re: BlackMale] #262698 05/12/2019 2:52 AM
Joined: Apr 2019
Posts: 45
BlackMale Offline OP
Newbie
OP Offline
Newbie
Joined: Apr 2019
Posts: 45
not sql error...

utf8 same error

thx 😅

Last edited by BlackMale; 05/12/2019 2:53 AM.
Re: [FIXED for 7.7.2] 7.7.1 /admin/edit_subscription.php [Re: BlackMale] #262712 05/13/2019 11:52 PM
Joined: Apr 2004
Posts: 1,494
isaac Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,494
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);


isaac @ id242.com // my forum @ CelicaHobby.com
a current developer of UBB.threads php forum software // 7.7.3 released!

Additional Resources
UBB Developers
UBB Wiki
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Strange Merge Issue
by Baldeagle - 08/16/2019 3:37 PM
Formatting Links
by Ty Griffin - 08/13/2019 4:39 PM
Changing from iso-8859-1 to UTF-8?
by Daryl Fawcett - 08/13/2019 9:58 AM
Threaded Mode
by ToddUGA - 08/10/2019 9:18 PM
Who's Online Now
0 registered members (), 38 guests, and 264 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Monkeyra
Monkeyra
London
Posts: 33
Joined: June 2006
Show All Member Profiles 
Forum Statistics
Forums34
Topics35,320
Posts192,710
Members11,865
Most Online2,569
Jul 27th, 2019
Random Gallery Image
Latest Photos
The Sky
Land Rocks
Cozy Places
Trees
Powered by UBB.threads™ PHP Forum Software 7.7.3