Title: Error after update
Last modified: August 21, 2016

---

# Error after update

 *  [smkso](https://wordpress.org/support/users/smkso/)
 * (@smkso)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-after-update-29/)
 * Hi,
 * I received this error at the admin dashboard after updating to the latest version.
   I am running WordPress 3.9.1.
 * `Warning: call_user_func_array() expects parameter 1 to be a valid callback, 
   class 'SlideShare_Admin' does not have a method 'options_init' in /webpath/wp-
   includes/plugin.php on line 470`
 * [https://wordpress.org/plugins/slideshare/](https://wordpress.org/plugins/slideshare/)

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/error-after-update-29/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-after-update-29/page/2/?output_format=md)

 *  [mervwyeth](https://wordpress.org/support/users/mervwyeth/)
 * (@mervwyeth)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-after-update-29/#post-5006252)
 * I have the same problem in two sites that I operate with the same error message…
 * Warning: call_user_func_array() expects parameter 1 to be a valid callback, class‘
   SlideShare_Admin’ does not have a method ‘options_init’ in /home/content/p3nexnas06_data01/
   97/2073797/html/wp-includes/plugin.php on line 470
 * My sites include:
 * [http://chanctonbury.org/slidesharing/](http://chanctonbury.org/slidesharing/)
   
   [http://evaintheuk.org/](http://evaintheuk.org/)
 * I would be obliged to receive an answer as soon as possible. Alternatively, I
   will look to roll back to version 3.8
 * Thanks
 *  [AnneH](https://wordpress.org/support/users/anneh/)
 * (@anneh)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/error-after-update-29/#post-5006430)
 * I am having the same problem after the update.
 * Warning: call_user_func_array() expects parameter 1 to be a valid callback, class‘
   SlideShare_Admin’ does not have a method ‘options_init’ in /wordpress/wp-includes/
   plugin.php on line 470
 * Warning: Cannot modify header information – headers already sent by (output started
   at /wordpress/wp-includes/plugin.php:470) in /wordpress/wp-includes/pluggable.
   php on line 1121
 *  [Jose Conti](https://wordpress.org/support/users/jconti/)
 * (@jconti)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/error-after-update-29/#post-5006461)
 * I found the problem.
 * Edit the file slideshare.php
 * just after:
 *     ```
       /**
       		 * Class constructor
       		 */
       		function __construct() {
       			$this->longname = __( 'SlideShare Configuration', 'slideshare' );
       			add_action( 'admin_menu', array( &$this, 'register_settings_page' ) );
       			add_filter( 'plugin_action_links', array( &$this, 'add_action_link' ), 10, 2 );
   
       			add_action( 'admin_print_scripts', array( &$this, 'config_page_scripts' ) );
       			add_action( 'admin_print_styles', array( &$this, 'config_page_styles' ) );
   
       			add_action( 'admin_init', array( &$this, 'options_init' ) );
       		}
       ```
   
 * You need to add this lines:
 *     ```
       function options_init(){
       		    register_setting( 'yoast_slideshare_options', 'slideshare' );
       		}
       ```
   
 * so the result will be:
 *     ```
       /**
       		 * Class constructor
       		 */
       		function __construct() {
       			$this->longname = __( 'SlideShare Configuration', 'slideshare' );
       			add_action( 'admin_menu', array( &$this, 'register_settings_page' ) );
       			add_filter( 'plugin_action_links', array( &$this, 'add_action_link' ), 10, 2 );
   
       			add_action( 'admin_print_scripts', array( &$this, 'config_page_scripts' ) );
       			add_action( 'admin_print_styles', array( &$this, 'config_page_styles' ) );
   
       			add_action( 'admin_init', array( &$this, 'options_init' ) );
       		}
   
       		function options_init(){
       		    register_setting( 'yoast_slideshare_options', 'slideshare' );
       		}
       ```
   
 * Kind regards
 * José Conti
 *  [Kirbie](https://wordpress.org/support/users/inov8coach/)
 * (@inov8coach)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/error-after-update-29/#post-5006462)
 * Where do you find that file? It doesn’t show up when I click on “editor”.
 *  [Jose Conti](https://wordpress.org/support/users/jconti/)
 * (@jconti)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/error-after-update-29/#post-5006463)
 * Here [https://plugins.trac.wordpress.org/browser/slideshare/tags/1.9/slideshare.php](https://plugins.trac.wordpress.org/browser/slideshare/tags/1.9/slideshare.php)
 *  [Kirbie](https://wordpress.org/support/users/inov8coach/)
 * (@inov8coach)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/error-after-update-29/#post-5006465)
 * Thanks. I found it by pure dumb luck. I’m going to try your fix now.
 *  [Kirbie](https://wordpress.org/support/users/inov8coach/)
 * (@inov8coach)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/error-after-update-29/#post-5006466)
 * HEY that worked!!! Thanks so much! I have another site to fix tomorrow but I 
   truly appreciate this.
 *  [Jose Conti](https://wordpress.org/support/users/jconti/)
 * (@jconti)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/error-after-update-29/#post-5006467)
 * You’re welcome 🙂
 *  [Thomas Townsend](https://wordpress.org/support/users/smb-dev/)
 * (@smb-dev)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/error-after-update-29/#post-5006469)
 * Ok, I gotta ask….How-come Yoast has not corrected for this ?
 *  [Jose Conti](https://wordpress.org/support/users/jconti/)
 * (@jconti)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/error-after-update-29/#post-5006470)
 * I don’t know.. but its an easy fix. I think he don’t know the problem with this
   plugin.
 *  [Eduardo Larequi](https://wordpress.org/support/users/elarequi/)
 * (@elarequi)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/error-after-update-29/#post-5006472)
 * Thomas, Jose:
 * Some weeks ago I sent a message to Yoast support system, warning about this problem.
   They showed their appreciatioin, but judging from the current situation, they
   have not fixed the bug.
 * Anyway, José, thank you very much for this patch.
 *  [Kateriiine](https://wordpress.org/support/users/kateriiine/)
 * (@kateriiine)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-after-update-29/#post-5006479)
 * Thanks!
 *  [BUENOBUONOGOOD](https://wordpress.org/support/users/buenobuonogood/)
 * (@buenobuonogood)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-after-update-29/#post-5006501)
 * it still doesn’t wok for me. When I apply your new lines, the wp admin desktop
   become blank… pleas, could you help me? Another plugin that works better? Thank
   you Jose
 *  [Jose Conti](https://wordpress.org/support/users/jconti/)
 * (@jconti)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-after-update-29/#post-5006502)
 * Hi [@buenobuonogood](https://wordpress.org/support/users/buenobuonogood/),
 * Maybe you’re changing the file encoding. Are you using a plain text editor?
 *  [BUENOBUONOGOOD](https://wordpress.org/support/users/buenobuonogood/)
 * (@buenobuonogood)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-after-update-29/#post-5006503)
 * Hi Jose, I’ve tried to modify the slideshare.php directly in the ftp location
   of the file. I’ve put the lines you’ve suggest but as result the admin panel 
   of wordpress became a blank page 🙁 maybe it’s a matter of conflict with another
   plugin? Or is there another solution you can suggest me? thank u very much for
   your help!

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/error-after-update-29/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-after-update-29/page/2/?output_format=md)

The topic ‘Error after update’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/slideshare.svg)
 * [SlideShare for WordPress by Yoast](https://wordpress.org/plugins/slideshare/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slideshare/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slideshare/)
 * [Active Topics](https://wordpress.org/support/plugin/slideshare/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slideshare/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slideshare/reviews/)

 * 17 replies
 * 9 participants
 * Last reply from: [Jose Conti](https://wordpress.org/support/users/jconti/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/error-after-update-29/page/2/#post-5006505)
 * Status: not resolved