WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Robots Meta] Fatal Error: Call to Undefined Method RobotsMeta_Admin::checkbox()

[Plugin: Robots Meta] Fatal Error: Call to Undefined Method RobotsMeta_Admin::checkbox()

  • clarkbill
    Member

    @clarkbill

    Upon updating to 3.2.1 in WordPress 2.8.2, I receive the following message when trying to open the Robots Meta settings:

    Fatal error: Call to undefined method RobotsMeta_Admin::checkbox() in /home/clarkbill/bitsoftech.net/wp-content/plugins/robots-meta/robots-meta.php on line 157

Viewing 8 replies - 1 through 8 (of 8 total)
  • SamuelFolkes
    Member

    @samuelfolkes

    I’m experiencing the same problem…

    findigart
    Member

    @findigart

    Me too…

    not2bug
    Blocked

    @not2bug

    Me too (WP 2.7.1)

    rhythmdoctor
    Member

    @rhythmdoctor

    Ditto that. I even tried deactivating and completely reinstalling the plugin, same thing…

    SamuelFolkes
    Member

    @samuelfolkes

    I’ve found the problem with the plugin that causes the settings page to not display and I have emailed the plugin author so hopefully he will read my email and respond. In the meantime here is a quick fix:

    1. From the plugin editor in your WordPress admin panel select the Robots Meta plugin for editing.

    2. In the file robots-meta/robots-meta.php find the line:

    class RobotsMeta_Admin extends Yoast_Plugin_Admin {
    and replace with:

    class RobotsMeta_Admin extends Yoast_Plugin_Admin_ {
    (note the added underscore)

    3. In the file robots-meta/yst-plugin-tools.php find the line:

    if (!class_exists('Yoast_Plugin_Admin')) {
    and replace with:

    if (!class_exists('Yoast_Plugin_Admin_')) {
    (note the added underscore)

    and in the following line:

    class Yoast_Plugin_Admin {
    replace with:

    class Yoast_Plugin_Admin_ {
    (note the added underscore)

    This should tide you over until Joost decides to update the plugin.

    clarkbill
    Member

    @clarkbill

    Wow, good work, Samuel! Thanks for the fix, works like a charm!

    rhythmdoctor
    Member

    @rhythmdoctor

    Thank god for you… Dont know when we’ll hear from Yoast so thank you thank you.

    FoodWriter
    Member

    @foodwriter

    Samuel,

    Thanks! I was having the same problem when I found your solution.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Robots Meta] Fatal Error: Call to Undefined Method RobotsMeta_Admin::checkbox()’ is closed to new replies.