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
Newbie
OP Offline
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

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,952
Ruben Offline
Offline
Joined: Dec 2003
Posts: 5,952
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
Newbie
OP Offline
Newbie
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,517
isaac Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,517
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 // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com

Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Who's On Line Issue
by Larry Miller - 09/21/2019 9:37 PM
ubb.threads 7.7.3 install error on create tables
by andrewjs18 - 09/17/2019 3:39 AM
Horizontal Image Attachment
by ECNet - 09/11/2019 12:17 PM
user profile, after I click Update nothing happens
by PianoWorld - 09/10/2019 12:38 PM
Who's Online Now
1 registered members (Gizmo), 79 guests, and 376 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.3