Title: PHP Warning:  call_user_func_array() amr_debug_time
Last modified: August 21, 2016

---

# PHP Warning: call_user_func_array() amr_debug_time

 *  Resolved [rayman5231](https://wordpress.org/support/users/rayman5231/)
 * (@rayman5231)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-warning-call_user_func_array-amr_debug_time/)
 * Any Idea how to correct this in BPS error_log?
 * [21-Sep-2013 00:19:38 America/Los_Angeles] PHP Warning: call_user_func_array()
   expects parameter 1 to be a valid callback, function ‘amr_debug_time’ not found
   or invalid function name in /public_html/first-blog/wp-includes/plugin.php on
   line 406
 * been this way for months. I have not found a way to correct this. plug-in seems
   to work just fine, except for this
 * WP 3.6.1 Multisite
 * Thanks mate
 * [http://wordpress.org/plugins/bulletproof-security/](http://wordpress.org/plugins/bulletproof-security/)

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

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-warning-call_user_func_array-amr_debug_time/#post-4150711)
 * Did a Google search for: amr_debug_time
    Found an indexed SVN plugin page for
   this plugin in the Google search results: amr ical events lists [http://wordpress.org/plugins/amr-ical-events-list/](http://wordpress.org/plugins/amr-ical-events-list/)
 * This is the function in the amr ical events lists plugin that is generating the
   php error:
 *     ```
       function amr_debug_time () {  // track php runtime if debugging
       	global $amr_start_time_track,$amr_last_time_track;
       	if (isset($_GET['debugtime'])) {
       		$amr_start_time_track = microtime();
       		$amr_last_time_track = $amr_start_time_track;
       		echo '<br />Starting tracking now after plugins loaded '.$amr_start_time_track;
       		echo '<br />Note: measuring runtime may affect the runtime too, as will debug messages.  if using ics file, check timing on refresh &refresh';
       	}
       }
       ```
   
 * The function does some sort of time debugging and does not look essential to 
   me. So you can just comment out the action that is calling this function with
   2 forward slashes as shown below:
 * The action is located in this plugin file: /amr-ical-events-list/includes/amr-
   ical-events-list-main.php at Code Line: 2370
    `//add_action('plugins_loaded','
   amr_debug_time');`
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-warning-call_user_func_array-amr_debug_time/#post-4150714)
 * Since a WP Core file is indicated in the php error message that typically means
   the function/action is being called incorrectly.
 *  Thread Starter [rayman5231](https://wordpress.org/support/users/rayman5231/)
 * (@rayman5231)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-warning-call_user_func_array-amr_debug_time/#post-4150722)
 * Thank you for your quick response. Following this up with Ann Marie. Now how 
   do I mark the Resolved? ok got it thanks again

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

The topic ‘PHP Warning: call_user_func_array() amr_debug_time’ is closed to new 
replies.

 * ![](https://ps.w.org/bulletproof-security/assets/icon-128x128.png?rev=1731938)
 * [BulletProof Security](https://wordpress.org/plugins/bulletproof-security/)
 * [Support Threads](https://wordpress.org/support/plugin/bulletproof-security/)
 * [Active Topics](https://wordpress.org/support/plugin/bulletproof-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulletproof-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulletproof-security/reviews/)

## Tags

 * [BPS](https://wordpress.org/support/topic-tag/bps/)
 * [multisite](https://wordpress.org/support/topic-tag/multisite/)

 * 3 replies
 * 2 participants
 * Last reply from: [rayman5231](https://wordpress.org/support/users/rayman5231/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/php-warning-call_user_func_array-amr_debug_time/#post-4150722)
 * Status: resolved