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.
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?
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.
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.
Bookmarks