CMS MADE SIMPLE FORGE

Frontend Users

 

[#12169] Cannot changesettings because of Fatal error: Uncaught ArgumentCountError: Too few arguments to function cge_param::get_string()

avatar
Created By: Mathieu Muths (airelibre) (airelibre)
Date Submitted: Mon Oct 14 09:54:28 -0400 2019

Assigned To: Robert Campbell (calguy1000)
Version: 3.1.4
CMSMS Version: 2.2.12
Severity: None
Resolution: Fixed
State: Open
Summary:
Cannot changesettings because of Fatal error: Uncaught ArgumentCountError: Too few arguments to function cge_param::get_string()
Detailed Description:
Hi,

in action.changesettings.php line 132 there's :
$val = cge_param::get_string($params['feu_input_'.$propname]);

and cge_param::get_string requires at least 2 parameters : $params and the
params key

Working version:
$val = cge_param::get_string($params, 'feu_input_'.$propname);

Thanks


History

Comments
avatar
Date: 2019-10-14 14:26
Posted By: Robert Campbell (calguy1000)

fixed in svn
      
Updates

Updated: 2019-10-14 14:26
resolution_id: => 7