CMS MADE SIMPLE FORGE

CMSMSExt

 

[#12561] SmartForms not working since upgrading to latest version of CMSMSExt.

avatar
Created By: Darren Kierman (kierweb)
Date Submitted: Fri Sep 16 06:34:37 -0400 2022

Assigned To: Fernando Morgado (JoMorg)
Version: 1.1.0.1
CMSMS Version: 2.1.5
Severity: Major
Resolution: Fixed
State: Open
Summary:
SmartForms not working since upgrading to latest version of CMSMSExt.
Detailed Description:
Not sure if this is a CMSMSExt issue or a SmartForm issue, but it occurred after
upgrading CMSMSExt.

Getting a blank page when loading SmartForm Admin page.

[16-Sep-2022 11:31:29 Europe/London] PHP Fatal error:  Uncaught TypeError:
Return value of CMSMSExt\XTModule::find_module_file() must be of the type
string, none returned in
/home/xxxx/public_html/modules/CMSMSExt/lib/class.XTModule.php:1964
Stack trace:
#0 /home/xxxxx/public_html/modules/CMSMSExt/CMSMSExt.module.php(472):
CMSMSExt\XTModule->find_module_file('js/common.js')
#1 /home/xxxx/public_html/admin/moduleinterface.php(79):
CMSMSExt->GetHeaderHTML('defaultadmin')
#2 {main}
thrown in /home/xxxx/public_html/modules/CMSMSExt/lib/class.XTModule.php on
line 1964


History

Comments
avatar
Date: 2022-09-21 14:39
Posted By: Darren Kierman (kierweb)

On line 1964 remove : string  at the end of the function statement e.g.

e.g. public function find_module_file(string $filename)

      
avatar
Date: 2022-09-23 07:35
Posted By: Fernando Morgado (JoMorg)

Fixed in svn thanks!
      
Updates

Updated: 2022-09-23 07:35
resolution_id: 5 => 7

Updated: 2022-09-21 14:39
resolution_id: => 5