WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. clarkbill
    Member
    Posted 5 years ago #

    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

  2. SamuelFolkes
    Member
    Posted 5 years ago #

    I'm experiencing the same problem...

  3. findigart
    Member
    Posted 5 years ago #

    Me too...

  4. not2bug
    Member
    Posted 5 years ago #

    Me too (WP 2.7.1)

  5. rhythmdoctor
    Member
    Posted 5 years ago #

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

  6. SamuelFolkes
    Member
    Posted 5 years ago #

    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.

  7. clarkbill
    Member
    Posted 5 years ago #

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

  8. rhythmdoctor
    Member
    Posted 5 years ago #

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

  9. FoodWriter
    Member
    Posted 5 years ago #

    Samuel,

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

Topic Closed

This topic has been closed to new replies.

About this Topic