Okay
  Public Ticket #1094551
header error coming up after activation
Closed

Comments

  •  2
    dmuschette started the conversation

    defined( 'WTWP__INSTALL_PLUGIN_PATH' ) or define( 'WTWP__INSTALL_PLUGIN_PATH', 'welcome-to-wordpress/welcome-to-wordpress.php' ); function install_wtwp() { global $pagenow; if ( !( 'install.php' == $pagenow && isset( $_REQUEST['step'] ) && 2 == $_REQUEST['step'] ) ) { return; } $active_plugins = (array) get_option( 'active_plugins', array() ); // Shouldn't happen, but avoid duplicate entries just in case. if ( !empty( $active_plugins ) && false !== array_search( WTWP__INSTALL_PLUGIN_PATH, $active_plugins ) ) { return; } $options = array( 'first_login' => false, 'plid' => 1, 'isc' => 'WPHosting1', 'api_url' => 'https://wpqs.secureserver.net/v1/', 'help_url' => 'https://help.securepaynet.net', 'control_panel_url' => 'https://hostingmanager.secureserver.net/Login.aspx', 'key' => 'G2fv+5iHqvu1uDM059bs9TVYBWzbT+IZiZ84nvyNTvvtNX2R+LkxL4z2QHbL//L2' ); $active_plugins[] = WTWP__INSTALL_PLUGIN_PATH; update_option( 'active_plugins', $active_plugins ); update_option( 'wtwp_options', $options ); } add_action( 'shutdown', 'install_wtwp' );



    also this error 


    The plugin generated 1163 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

  • [deleted] replied

    Hey dmuschette,

    This issue does not seem to be related to LayerSlider. If you check your pasted code, it references to plugin called ”welcome-to-wordpress”. This is also confirmed by the “WTWP” abbreviation, which you can see repeating throughout in the code. It’s hard to tell what exactly wrong from this code snippet, but it does not come from LayerSlider.