Getting a debug warning (added code from file in question)
-
Running WP 3.7
Collapse-o-matic v1.5.3Black Box plugin (which shows debug info) is showing the Warning below on every page of the site. How do I remedy this?
Redefining already defined constructor for class WP_Collapse_O_Matic on line 61 in file /Applications/AMPPS/www/foo.org/live/wp-content/plugins/jquery-collapse-o-matic/collapse-o-matic.php
/** * PHP5 constructor */ #61-> function __construct() { // set option values $this->_set_options(); // load text domain for translations load_plugin_textdomain( 'colomat', FALSE, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); // set uninstall hook /* removed in version 1.5.2 if ( function_exists( 'register_deactivation_hook' ) ) register_deactivation_hook( __FILE__, array( $this, 'deactivation' )); */ //load the script and style if not viwing the dashboard if (!is_admin()){ add_action('init', array( $this, 'collapsTronicInit' ) ); } // add actions add_action( 'admin_menu', array( $this, 'admin_menu' ) ); add_action( 'plugin_action_links_' . plugin_basename(__FILE__), array( $this, 'plugin_actions' ) ); add_action( 'admin_init', array( $this, 'admin_init' ) ); add_action('wp_head', array( $this, 'colomat_js_vars' ) ); add_shortcode('expand', array($this, 'shortcode')); //add expandsub shortcodes for ($i=1; $i<30; $i++) { add_shortcode('expandsub'.$i, array($this, 'shortcode')); } // Add shortcode support for widgets add_filter('widget_text', 'do_shortcode'); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Getting a debug warning (added code from file in question)’ is closed to new replies.