Title: call_user_func_array() error
Last modified: August 30, 2016

---

# call_user_func_array() error

 *  [Ytterbium](https://wordpress.org/support/users/ytterbium/)
 * (@ytterbium)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/call_user_func_array-error-1/)
 * Hi everyone !
    And thanks for this great theme !
 * Really good looking and really functionnal.
 * I updated my theme today, and I regret it : now I have this message appearing
   at the top:
 * > Warning: call_user_func_array() [function.call-user-func-array]: First argument
   > is expected to be a valid callback, ‘raindrops_add_header_archive_description’
   > was given in /wp-includes/plugin.php on line 429
 * I’ve looked everywhere in function.php to find the line making problems, but 
   with no success.
 * Do you know how to solve it ?
 * Thanks for your help (and here is the website : [http://www.commander007.net/orbis/](http://www.commander007.net/orbis/))

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

 *  Theme Author [nobita](https://wordpress.org/support/users/nobita/)
 * (@nobita)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/call_user_func_array-error-1/#post-6269298)
 * Occurrence part of this error is occurring in the part which outputs the Description
   of the category in the header.
 * I can not be identified or cause has occurred.
 * However, measures will have
 * Add functions.php
 * Please be sure to describe the beginning of the file
 *     ```
       <?php
       function raindrops_add_header_archive_description() {
   
       	return;
       }
       ?>
       ```
   
 * This error will no longer appear
 * Thank you.
 *  Theme Author [nobita](https://wordpress.org/support/users/nobita/)
 * (@nobita)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/call_user_func_array-error-1/#post-6269333)
 * I detect issue
 * [https://github.com/tenman/raindrops/blob/master/functions.php#L9265-L9288](https://github.com/tenman/raindrops/blob/master/functions.php#L9265-L9288)
 * It loose code ( conditional tag )
 * I will change below new version ( maybe 1.304 )
 *     ```
       function raindrops_add_header_archive_description(){
   
       	if ( is_category() ||  is_tag() ) {
   
       		$html = '<meta name="%1$s" content="%2$s" />'. "\n";
   
       		$raindrops_archive_description_length = apply_filters( 'raindrops_archive_description_length', 115 );
   
       		$description = wp_kses( get_the_archive_description(), array() );
       		$description = wp_html_excerpt( $description, $raindrops_archive_description_length , '' );
   
       		if ( ! empty( $description ) ) {
       			$result = sprintf( $html, 'description', $description );
       			echo apply_filters( 'raindrops_add_header_archive_description', $result );
       		}
       	}
       }
       ```
   
 * Thank you for pointing out
 *  Thread Starter [Ytterbium](https://wordpress.org/support/users/ytterbium/)
 * (@ytterbium)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/call_user_func_array-error-1/#post-6269337)
 * Thank you very much ! It is fixed !
    Thanks for the great work !

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

The topic ‘call_user_func_array() error’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/raindrops/1.700/screenshot.png)
 * raindrops
 * [Support Threads](https://wordpress.org/support/theme/raindrops/)
 * [Active Topics](https://wordpress.org/support/theme/raindrops/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/raindrops/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/raindrops/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ytterbium](https://wordpress.org/support/users/ytterbium/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/call_user_func_array-error-1/#post-6269337)
 * Status: not resolved