News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Error with Certain Forum Functions after upgrade from 2.0.14 to 2.0.15

Started by OnlyMe69, April 04, 2018, 07:19:43 AM

Previous topic - Next topic

OnlyMe69

Fatal error: Redefinition of parameter $nul in "***WEB PATH***"/SMFN/Sources/ManageSettings.php on line 3252

Does anyone have any ideas about this or has seen it them selves ?

Get his error when trying to access the SMF configuration button for the "Security and Moderation" area or the "Modification Settings" area or the "Send Form" area

ant help greatly appreciated

Running PHP 7

SMF File                    Your Version   Current Version
SMF Package             SMF 2.0.15   SMF 2.0.14
Sources                       2.0.12              2.0.15
Default Templates       2.0.15              2.0.14
Language Files               2.0.12              2.0.14

Thanks in advance

OnlyMe69


This is the area that seems to go wrong :-

               <td width="50%" style="text-align:center;">
<a href="'.$scripturl.'?action=admin;area=modsettings;sa=customform;form_id='.$row['id_form'].';delete;" onclick="return confirm(\''.$txt['CustomForm_delete_warning'].'\')" >
('.$txt['delete'].')
</a>
</td>
</tr>
</table>',
);
}
$smcFunc['db_free_result']($request);
return $list;
}

// Fucntion to produce a list of custom form fields.
function list_CustomForm_fields($nul, $nul, $nul, $id) // THIS IS THE ERROR LINE
{
global $txt, $scripturl, $smcFunc;

// Get the data from the cf_fields table.
$request = $smcFunc['db_query']('','
SELECT id_field, title, type, text
FROM {db_prefix}cf_fields
WHERE id_form = {int:id_form}
ORDER BY id_field',
array(
'id_form' => $id,
)
);

Kindred

you have a problem with the custom forms mod...   please see the support thread for that mod...  the solution has been posted a few times in that thread.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: