• Resolved rayman5231

    (@rayman5231)


    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

    https://www.ads-software.com/plugins/bulletproof-security/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author AITpro

    (@aitpro)

    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
    https://www.ads-software.com/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

    (@aitpro)

    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

    (@rayman5231)

    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.