+ Reply to Thread
Results 1 to 3 of 3

Thread: Executable PHP widget by Otto Problem

  1. #1
    Join Date
    May 2009
    Posts
    1

    Default Executable PHP widget by Otto Problem

    Hello, I installed the Executable PHP widget by Otto, and wrote some PHP code into it. There was an error in some of the code I put in there and now I am getting the following error on both my site and the widget editor:

    Fatal error: Call to undefined function have_authors() in /home/.iasus/thrak/trilemma.org/wptest/wp-content/plugins/php-code-widget/execphp.php(37) : eval()'d code on line 23

    I tried uninstalling the widget and re-installing it and I still get the error so it appears the code is cached somewhere else maybe in the template or database? How can I resolve this issue and keep it from happening again if I happen to write incorrect code in the widget?

    Thanks in advance.

    Also, I have seen some other posts referencing this type error and they only suggest that you should re-install the original template files. Is that the only viable solution?

  2. #2
    Join Date
    Feb 2009
    Posts
    605

    Default

    Hi David, I suggest you take this up with the author of the widget/plugin. There may be code in the widget/plugin that is causing incompatibility and other problems with the template.

  3. #3
    Join Date
    Oct 2009
    Posts
    1

    Default

    I had to same problem and couldnt find the answer anywhere. I finally figured out how to fix it.

    First delete the plugin from your plugin folder.

    Then you need to edit the MySQL database directly.
    Log in using MyPHPAdmin, which is standard with Cpanel, and click on your database.
    Go to WP_options.
    Click the Browser tab at the top and look for widget_execphp.
    Delete that entry.

    Reinstall the plugin and it should be back to normal.

    Kinda pissed the author of this plugin didn't provide a fix for this, seems like a common problem with this plugin that has a tough workaround. Should have been included in the FAQ.

+ Reply to Thread

Similar Threads

  1. How to add Friend Feed widget inside of post
    By RadicalRick in forum Posts, Pages, Comments
    Replies: 1
    Last Post: 05-03-2010, 08:12 AM
  2. No right sidebar in widget editor
    By Parenthetical in forum Bugs & Fixes
    Replies: 3
    Last Post: 02-03-2010, 06:18 AM
  3. Is there a preferred ad widget?
    By adell50 in forum Sidebar
    Replies: 4
    Last Post: 10-12-2009, 10:26 PM
  4. Change title in Video Widget in sidebar2
    By hallie in forum Sidebar
    Replies: 4
    Last Post: 08-04-2009, 11:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts