Warning: Invalid argument supplied for foreach() in /home/ecologiq/public_html/refixmag.com/wp-includes/plugin.php on line 622

Warning: Invalid argument supplied for foreach() in /home/ecologiq/public_html/refixmag.com/wp-includes/plugin.php on line 622

Warning: Invalid argument supplied for foreach() in /home/ecologiq/public_html/refixmag.com/wp-includes/plugin.php on line 622

Warning: Invalid argument supplied for foreach() in /home/ecologiq/public_html/refixmag.com/wp-includes/plugin.php on line 622

Warning: Invalid argument supplied for foreach() in /home/ecologiq/public_html/refixmag.com/wp-includes/plugin.php on line 622

Warning: Invalid argument supplied for foreach() in /home/ecologiq/public_html/refixmag.com/wp-includes/plugin.php on line 622

Warning: Invalid argument supplied for foreach() in /home/ecologiq/public_html/refixmag.com/wp-includes/plugin.php on line 622

Warning: Invalid argument supplied for foreach() in /home/ecologiq/public_html/refixmag.com/wp-includes/plugin.php on line 622

Warning: Invalid argument supplied for foreach() in /home/ecologiq/public_html/refixmag.com/wp-includes/plugin.php on line 622
PHP warning

PHP warning

Invalid argument supplied for foreach()

/home/ecologiq/public_html/refixmag.com/wp-includes/plugin.php(622)

610  *
611  * @since 1.5.0
612  *
613  * @access private
614  *
615  * @param string $file The filename of plugin.
616  * @return string The name of a plugin.
617  * @uses WP_PLUGIN_DIR
618  */
619 function plugin_basename( $file ) {
620     global $wp_plugin_paths;
621 
622     foreach ( $wp_plugin_paths as $dir => $realdir ) {
623         if ( strpos( $file, $realdir ) === 0 ) {
624             $file = $dir . substr( $file, strlen( $realdir ) );
625         }
626     }
627 
628     $file = wp_normalize_path( $file );
629     $plugin_dir = wp_normalize_path( WP_PLUGIN_DIR );
630     $mu_plugin_dir = wp_normalize_path( WPMU_PLUGIN_DIR );
631 
632     $file = preg_replace('#^' . preg_quote($plugin_dir, '#') . '/|^' . preg_quote($mu_plugin_dir, '#') . '/#','',$file); // get relative path from plugins dir
633     $file = trim($file, '/');
634     return $file;

Stack Trace

#0
+
 /home/ecologiq/public_html/refixmag.com/wp-includes/plugin.php(739): plugin_basename("/home/ecologiq/public_html/refixmag.com/wp-content/plugins/simpl...")
734  *
735  * @param string $file The filename of the plugin including the path.
736  * @param callback $function the function hooked to the 'deactivate_PLUGIN' action.
737  */
738 function register_deactivation_hook($file, $function) {
739     $file = plugin_basename($file);
740     add_action('deactivate_' . $file, $function);
741 }
742 
743 /**
744  * Set the uninstallation hook for a plugin.
#1
+
 /home/ecologiq/public_html/refixmag.com/wp-content/plugins/simple-login-log/simple-login-log.php(91): register_deactivation_hook("/home/ecologiq/public_html/refixmag.com/wp-content/plugins/simpl...", array(SimpleLoginLog, "deactivation"))
86             'login_result'      => __('Login Result', 'sll'),
87             'data'              => __('Data', 'sll'),
88         );
89 
90         //Deactivation hook
91         register_deactivation_hook(__FILE__, array($this, 'deactivation') );
92 
93     }
94 
95 
96      function set($name, $value)
#2
+
 /home/ecologiq/public_html/refixmag.com/wp-content/plugins/simple-login-log/simple-login-log.php(720): SimpleLoginLog->__construct()
715 
716 }
717 
718 if( class_exists( 'SimpleLoginLog' ) )
719 {
720     $sll = new SimpleLoginLog;
721     //Register for activation
722     register_activation_hook( __FILE__, array(&$sll, 'install') );
723 
724 }
725 
2014-04-23 13:43:52 Apache Yii Framework/1.1.13