News:

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

Main Menu

Wsod in certain areas of admin

Started by Dan_, October 16, 2018, 12:01:18 AM

Previous topic - Next topic

Dan_

I have no idea how long it has been going on because the admin areas I visit regularly work.  (members, SP blocks, logs etc)
I have upped the memory for php, and set server level logging.
Phpinfo() is a 27 page pdf of 7 meg.  I have the first 4 pgs attached.
The error on the server is:
[15-Oct-2018 18:40:19 America/Phoenix] PHP Fatal error:  Redefinition of parameter $nul in /home/xxxxxx/public_html/forum/Sources/ManageSettings.php on line 3233

Thank you for your support...
Lines 3232-3239 from manageSettings.php:
//    Fucntion to produce a list of custom form fields.
function list_CustomForm_fields($nul, $nul, $nul, $id)
{
    global $txt, $scripturl, $smcFunc;
   
    //    Get the data from the cf_fields table.
    $request = $smcFunc['db_query']('','
        SELECT id_field, title, type, text

Sir Osis of Liver

SMF version?
Mods?

That's from custom forms mod, there is no $nul variable in core code.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Dan_

2.015...
I just edited my OP and included the offending lines of code.  They seem to be from a custom forms mod I have installed.
I will proceed to uninstall it and report back.
Thank you Sir

Dan_

That did the trick..!  I am thankful the package manager held up under the duress from the offending mod.  I was getting an SMF error log on another mod I have uninstalled.  It was SCeditor4SMF.  I noticed it was no longer listed as an approved mod.  I have not looked to see if the custom form mod is listed.
Thanks to Sir Osis and VBGamer45 who helped me work through this, and thanks for SMF.
Cheers...

Advertisement: