I recently bought freeform PRO(version 4.0.11) and upgraded my freeform(version 4.0.8) using the Solspace update method.
When I navigate to the module page and select the tab field types the page shows the following message.
No field types available.
What, you deleted all of the default ones, too? O_o
It also throws some PHP error's.
A PHP Error was encountered
Severity: Warning
Message: glob() [function.glob]: Pattern exceeds the maximum allowed length of 260 characters
Filename: libraries/Freeform_fields.php
Line Number: 300
A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: libraries/Freeform_fields.php
Line Number: 302
When I open the freeform_fields.php file from the libraries folder and navigate to line 300 I see the following piece of code.
// -------------------------------------
// default fields
// -------------------------------------
$default_fields = glob(
$this->default_path . 'freeform_ft.{' .
implode(',', $this->data->defaults['default_fields']) . '}.php',
GLOB_BRACE
);
If I open the default_fields folder it shows a lot of freeform_ft_FIELDTYPENAME.php files.
Whats wrong and how can I fix it without removing/uninstalling the whole module and install it again? I want to keep my submissions.