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,913
Ruben Offline
Offline
Joined: Dec 2003
Posts: 5,913
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,457
isaac Online Splat
UBB.threads Developer
Online Splat
UBB.threads Developer
Joined: Apr 2004
Posts: 1,457
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.2 released!

Additional Community Resources
UBB Developers
UBB Wiki
ShoutChat Box
Recent Topics
tools&information send email option v7.7.2
by Ruben - 07/23/2019 3:01 PM
Blue host and Mod_security issues
by Ruben - 07/21/2019 5:27 PM
Video Tags
by Outdoorking - 07/16/2019 2:39 AM
Two minor issues after upgrade
by Baldeagle - 07/13/2019 7:33 PM
Can the users have the option of hiding sub boards?
by tinker123 - 07/12/2019 9:55 PM
Who's Online Now
1 registered members (isaac), 403 guests, and 230 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Mtier
Mtier
Germany, Mainz
Posts: 51
Joined: July 2006
Show All Member Profiles 
Forum Statistics
Forums35
Topics35,304
Posts192,608
Members11,857
Most Online1,872
Jul 23rd, 2019
Random Gallery Image
Latest Photos
The Sky
Land Rocks
Cozy Places
Trees
Powered by UBB.threads™ PHP Forum Software 7.7.2