Title: call_user_func_array error while using jQuery Vertical Accordion Menu
Last modified: August 22, 2016

---

# call_user_func_array error while using jQuery Vertical Accordion Menu

 *  [k4nasir](https://wordpress.org/support/users/k4nasir/)
 * (@k4nasir)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/call_user_func_array-error-while-using-jquery-vertical-accordion-menu/)
 * Site: [http://www.almudarabah.com](http://www.almudarabah.com)
 * Need a little help here. I am using WordPress 4.0.1 with Catch Everest Theme 
   in English and custom CSS for RTL Arabic Text.
 * I am trying to use the Rich Text Editor but it’s giving me the following error
   line at the bottom of every page:
 * Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback,
   non-static method dc_jqaccordion::footer() should not be called statically in
   C:\xampp\htdocs\almudarabah\wp-includes\plugin.php on line 505
 * I have checked other forums for the many solutions offered to resolve the Strict
   Standards error but am unable to fix the issue where dc_jqaccordion appears in
   Accordion Menu files.
 * The string for dc_jqaccordion can be found in the jQuery Vertical Accordion Menu
   and deactivating this plugin fixes the error.
    But I want the Accordion Menu 
   plugin also because I am using it for a secondary dropdown menu on the left of
   the pages.
 * The plugin.php has this code:
 * > `function do_action($tag, $arg = ”) {
   >  global $wp_filter, $wp_actions, $merged_filters,
   > $wp_current_filter;
   >  if ( ! isset($wp_actions[$tag]) )
   >  $wp_actions[$tag] = 1; else ++$wp_actions[
   > $tag];
   >  // Do ‘all’ actions first
   >  if ( isset($wp_filter[‘all’]) ) { $wp_current_filter[]
   > = $tag; $all_args = func_get_args(); _wp_call_all_hook($all_args); }
   >  if ( !isset($wp_filter[$tag]) ) {
   >  if ( isset($wp_filter[‘all’]) ) array_pop(
   > $wp_current_filter); return; }
   >  if ( !isset($wp_filter[‘all’]) )
   >  $wp_current_filter[] = $tag;
   >  $args = array();
   >  if ( is_array($arg) && 1 == count($arg) && isset($arg[0])&&
   > is_object($arg[0]) ) // array(&$this) $args[] =& $arg[0]; else $args[] = $arg;
   > for ( $a = 2; $a < func_num_args(); $a++ ) $args[] = func_get_arg($a);
   >  // Sort
   >  if ( !isset( $merged_filters[ $tag ] ) ) { ksort($wp_filter[$tag]);
   > $merged_filters[ $tag ] = true; }
   >  reset( $wp_filter[ $tag ] );
   >  do {
   >  foreach ( (array) current($wp_filter[$tag]) as $the_ ) if ( !is_null(
   > $the_[‘function’]) ) call_user_func_array($the_[‘function’], array_slice($args,
   > 0, (int) $the_[‘accepted_args’]));
   >  } while ( next($wp_filter[$tag]) !== false );
   >  array_pop($wp_current_filter);
   >  } `
 * this is line 505 from above code:
 * > `call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['
   > accepted_args']));`
 * Please let me know what could be causing it and how to fix it.
 * Thanks
 * [https://wordpress.org/plugins/richtexteditor/](https://wordpress.org/plugins/richtexteditor/)

The topic ‘call_user_func_array error while using jQuery Vertical Accordion Menu’
is closed to new replies.

 * ![](https://ps.w.org/richtexteditor/assets/icon-256x256.png?rev=1299417)
 * [Rich Text Editor](https://wordpress.org/plugins/richtexteditor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/richtexteditor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/richtexteditor/)
 * [Active Topics](https://wordpress.org/support/plugin/richtexteditor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/richtexteditor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/richtexteditor/reviews/)

## Tags

 * [call_user_func_array](https://wordpress.org/support/topic-tag/call_user_func_array/)

 * 0 replies
 * 1 participant
 * Last reply from: [k4nasir](https://wordpress.org/support/users/k4nasir/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/call_user_func_array-error-while-using-jquery-vertical-accordion-menu/)
 * Status: not resolved