CF Module not working after update to 7.0.7

ChronoForms module not displaying forms after update.

Overview

The issue occurs due to a missing 'gpage' variable in the module code after an update.
Download and reinstall the latest version of the CF module to restore functionality.

Answered
ChronoForms v7
da danielneukom 08 Jan, 2021
After updating from CF 7.0.6 to 7.0.7 forms in the CF module are no longer displayed. They worked fine before but now all i see is the moduletitle but no form code. Is this a bug or am i missing something?
we websiteguy 20 Jan, 2021
I'm having the same issue, except I'm already using version 7.07.

My Coder has told me there is a bug in the 'mod_chronoforms7.php file:

He said "it does not have "gpage" variable in the system so that the form does not show"

Can someone please assist?

$formname = $params->get('chronoform', '');
$chronoform = G3\L\Request::data('chronoform', '');
$gpage = G3\L\Request::data('gpage', '');
if(!empty($gpage)){
if($formname != $chronoform){
$gpage = 'load';
}
}
$vars = array('chronoform' => $formname, 'gpage' => $gpage);

$output = new G3Loader([
'site' => 'front',
'alias' => 'chronoforms7',
'extension' => 'chronoforms',
'vars' => $vars ?? [],
]);
da danielneukom 21 Jan, 2021
Du you have the newest version of the module installed? I had to download and reinstall it. That solved the problem for me.
Post a Reply