WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: SlideShare] Line 114 is unnecessary and causes errors

[Resolved] [Plugin: SlideShare] Line 114 is unnecessary and causes errors

  • Line 114 of the slideshare.php file, which reads
    add_action('admin_menu', array('SlideShare_Admin','add_config_page'));
    causes an error reading

    First argument is expected to be a valid callback, ‘SlideShare_Admin::add_config_page’ was given

    This error is logical, considering the add_config_page() method does not exist in SlideShare_Admin nor in Yoast_Plugin_Admin.

    The Yoast_Plugin_Admin class, line 14 actually does what the above line was intended to do.
    add_action( 'admin_menu', array(&$this, 'register_settings_page') );
    So I commented out line 114 in slideshare.php and it’s no longer broken.

    I hope this is resolved in the next maintenance version.

    Regards,
    Frederick

    http://wordpress.org/extend/plugins/slideshare/

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Plugin: SlideShare] Line 114 is unnecessary and causes errors’ is closed to new replies.