Strict Standards error notice
-
There is a
Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Adobe_Analytics::init() should not be called statically in /Users/jpresley/Sites/wordpressunified/httpdocs/wp-includes/plugin.php on line 429
notice.This can be fixed by either changing the lines
add_action('init', array('Adobe_Analytics', 'init')); add_action( 'wp_print_footer_scripts', array('Adobe_Analytics', 'script'), 50 );
to
add_action('init', array(&$adobe_analytics, 'init')); add_action( 'wp_print_footer_scripts', array( &$adobe_analytics, 'script'), 50 );
adobe_analytics.php.
Alternatively you can change the definitions of ‘script’ and ‘init’ methods to public static function.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Strict Standards error notice’ is closed to new replies.