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: 44
BlackMale Offline OP
Journeyman
OP Offline
Journeyman
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

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,898
Ruben Offline
Offline
Joined: Dec 2003
Posts: 5,898
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: 44
BlackMale Offline OP
Journeyman
OP Offline
Journeyman
Joined: Apr 2019
Posts: 44
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,413
isaac Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,413
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 [id242.com] // my forum @ CelicaHobby.com [celicahobby.com]
a current developer of UBB.threads php forum software // 7.7.2 Progress Notes

Additional Community Resources
UBB Developers
UBB Wiki
ShoutChat Box
Recent Topics
Error Messages - What to do???
by Daryl Fawcett - 06/20/2019 9:05 AM
Forum - Left Alignment / Margin?
by keysolutns - 06/19/2019 9:58 AM
Forum Not Working after Cpanel upgrade.
by doug - 06/14/2019 2:35 PM
YouTube does not display?
by BlackMale - 06/09/2019 6:34 AM
Removing a redirect?
by Baldeagle - 06/01/2019 4:50 PM
Who's Online Now
0 registered members (), 43 guests, and 304 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
FordDoctor
FordDoctor
New Joisey!
Posts: 289
Joined: June 2006
Show All Member Profiles 
Forum Statistics
Forums35
Topics35,303
Posts192,585
Members11,855
Most Online978
Jun 24th, 2007
Random Gallery Image
Latest Photos
Land Rocks
Cozy Places
Trees
Retreats
Powered by UBB.threads™ PHP Forum Software 7.7.2
(Snapshot build 20190623)