Line 114 of the
slideshare.phpfile, which reads
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
Yoast_Plugin_Adminclass, 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.phpand it’s no longer broken.
I hope this is resolved in the next maintenance version.
- The topic ‘[Plugin: SlideShare] Line 114 is unnecessary and causes errors’ is closed to new replies.