[resolved] Fatal Error Call to undefined function (3 posts)

  1. azurewitch
    Posted 4 years ago #

    I had an error on line two of the oik-header.inc file.

    I ended up deleting the entire line, and now the pages are showing up with out error in my admin panel. None of the admin panel pages were working at all.

    However, I don't know if this is going to effect the plug in.

    The line I deleted was:

    oik_require( 'bobbforms.inc' );

    If this needs to be re added or modified, I would appreciate knowing so I can fix it in this file. As I am new to php I'm not sure what was wrong on this line.


  2. bobbingwide
    Plugin Author

    Posted 3 years ago #

    I have documented the problem and a workaround that you can apply here: http://www.oik-plugins.com/2012/08/fatal-error-call-to-undefined-function-oik_require-in-oikadminoik-header-inc-on-line-2/#more-2168

    I applaud your pragmatic fix. If you have not activated the oik plugin then the problem would appear to be resolved... however you would not get any of the oik-header functionality.

    And if you did activate oik then this would lead to a further fatal error when you attempt to add a new post or page
    Fatal error: Call to undefined function textfield() in oik\admin\oik-header.inc on line 61

  3. bobbingwide
    Plugin Author

    Posted 3 years ago #

    A fix for this problem has been applied in oik version 1.16
    I also made a (silent) movie creating the problem and showing the recovery using the website's control panel (cpanel)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.