Page 1 of 1

FrontEndUsers: Fatal error: Uncaught TypeError:

Posted: Tue Dec 22, 2020 4:10 pm
by qpress
When I imported users with the Frontend User Management Module I got this error message:

Fatal error: Uncaught TypeError: trim() expects parameter 1 to be string, null given in /home/qp/public_html/teszt/modules/CGExtensions/CGExtensions.module.php:1683 Stack trace: #0 /home/qp/public_html/teszt/modules/CGExtensions/CGExtensions.module.php(1683): trim(NULL) #1 /home/qp/public_html/teszt/modules/FrontEndUsers/action.admin_import_users.php(45): CGExtensions->CGGetPreference('importprefs') #2 /home/qp/public_html/teszt/lib/classes/class.CMSModule.php(1403): include('/home/qp/public...') #3 /home/qp/public_html/teszt/modules/CGExtensions/CGExtensions.module.php(623): CMSModule->DoAction('admin_import_us...', 'm1_', Array, '') #4 /home/qp/public_html/teszt/lib/classes/class.CMSModule.php(1479): CGExtensions->DoAction('admin_import_us...', 'm1_', Array, '') #5 /home/qp/public_html/teszt/admin/moduleinterface.php(74): CMSModule->DoActionBase('admin_import_us...', 'm1_', Array, '', Object(Smarty_CMS)) #6 {main} thrown in /home/qp/public_html/teszt/modules/CGExtensions/CGExtensions.module.php on line 1683


PHP version 7.2.24
FrontEndUsers 3.2.2
CGExtensions 1.65.2

Can somebody help me?

Re: FrontEndUsers: Fatal error: Uncaught TypeError:

Posted: Tue Dec 22, 2020 9:22 pm
by DIGI3
If it's not too late, I'd suggest not going higher than FEU 2.14.3.4. The 3.x branch is quite buggy and hasn't had any updates in ~9 months, whereas 2.x is quite stable.

Re: FrontEndUsers: Fatal error: Uncaught TypeError:

Posted: Wed Dec 23, 2020 7:25 am
by qpress
I tried the FrontEndUsers-2.14.3.4 but got the same error :(
(in fresh cmsms version too)

Re: FrontEndUsers: Fatal error: Uncaught TypeError:

Posted: Wed Dec 23, 2020 7:39 am
by qpress
When I downgrade CGExtensions to 1.62.9 it started working :)