Quote Originally Posted by DivaVocals View Post
And to add to this, it appears that this applies to the PREMIUM versions of Numinix modules (Google Product Search Feeder and possibly Fast and Easy Ajax Checkout). For SURE Google Product Search Feeder (the "premium" version of Google Merchant Center Feeder) includes a modified /admin/configuration.php file. To correct the errors lhungil describes see the required changes below.

find this section (around lines 75-79):
Code:
        foreach($_POST as $cfgID => $cfgValue) {
            $strpos = strpos($cfgID, 'cfg_');
            if ($strpos !== FALSE) {
                $cID = zen_db_prepare_input(substr($cfgID, $strpos + 4));
                $configuration_value = zen_db_prepare_input($cfgValue);
AFTER this section add this:
Code:
                // START fix code to correctly utilize the use_function
                $queryResult = $db->Execute(
                    'SELECT `use_function` FROM `' . $configuration_table . '` ' .
                    'WHERE `configuration_id`=\'' . $cID . '\''
                );
                if(!$queryResult->EOF && zen_not_null($queryResult->fields['use_function'])) {
                    $use_function = $queryResult->fields['use_function'];
                    if (preg_match('/->/', $use_function)) {
                        $class_method = explode('->', $use_function);
                        if (!is_object(${$class_method[0]})) {
                            include(DIR_WS_CLASSES . $class_method[0] . '.php');
                            ${$class_method[0]} = new $class_method[0]();
                        }
                        $configuration_value = zen_call_function($class_method[1], $configuration_value, ${$class_method[0]});
                    } else {
                        $configuration_value = zen_call_function($use_function, $configuration_value);
                    }
                }
                unset($queryResult, $use_function);
                // END fix code to correctly utilize the use_function


Thanks lhungil for pointing out the issue and DivaVocals for providing this fix! We've added a similar code change to Numinix Product Variants Inventory Manager v1.3.4 and will follow with the rest of our mods in the near future.