Title: [Plugin: WP Calendar] TinyMCE Error
Last modified: August 20, 2016

---

# [Plugin: WP Calendar] TinyMCE Error

 *  Resolved [Eric Karkovack](https://wordpress.org/support/users/karks88/)
 * (@karks88)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-calendar-tinymce-error/)
 * I use WP Calendar on several sites and love it! On one of my installs, I’m getting
   this error on the bottom of the screen whenever I add or edit an event:
 * Warning: call_user_func_array() expects parameter 1 to be a valid callback, function‘
   wp_tiny_mce_preload_dialogs’ not found or invalid function name in /usr/www/users/
   ppjobs/papca/wp-includes/plugin.php on line 405
 * I’ve tried updating my plugins, and even put a fresh install of 3.2.1 but the
   error is still there.
 * Has anyone had this before? Is there a fix?
 * [http://wordpress.org/extend/plugins/wp-calendar/](http://wordpress.org/extend/plugins/wp-calendar/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [kitchin](https://wordpress.org/support/users/kitchin/)
 * (@kitchin)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-calendar-tinymce-error/#post-2437423)
 * One possible fix is to change fsCalendarAdmin.php line 141:
 *     ```
       // mod, see: http://core.trac.wordpress.org/ticket/18001
       // add_action( 'admin_print_footer_scripts', 'wp_tiny_mce_preload_dialogs', 30 );
       // change to:
       add_action( 'admin_print_footer_scripts', 'wp_preload_dialogs', 30 );
       ```
   
 * But if you turn on DEBUG in wp-config.php, it turns out all this tiny_mce stuff
   is deprecated anyway. Here are the warnings. Only the second one is caused by
   my possible fix:
 * > Notice: wp_tiny_mce is deprecated since version 3.3! Use wp_editor() instead.
   > 
   > Notice: wp_preload_dialogs is deprecated since version 3.3! Use wp_editor()
   > instead.
 * See also: [http://wordpress.org/support/topic/wp_tiny_mce-vs-wp_editor](http://wordpress.org/support/topic/wp_tiny_mce-vs-wp_editor)
   
   [http://wordpress.org/support/topic/wordpress-33-breaks-wp_tiny_mce](http://wordpress.org/support/topic/wordpress-33-breaks-wp_tiny_mce)
 *  Plugin Author [faebu](https://wordpress.org/support/users/faebu/)
 * (@faebu)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-calendar-tinymce-error/#post-2437438)
 * new version using new functions if they are available (backward compatibility!)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: WP Calendar] TinyMCE Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-calendar.svg)
 * [WP Calendar](https://wordpress.org/plugins/wp-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-calendar/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [faebu](https://wordpress.org/support/users/faebu/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-calendar-tinymce-error/#post-2437438)
 * Status: resolved