Support » Plugin: TwitchPress » Error when trying to remove plugin

  • Resolved superlisa

    (@superlisa)


    Hi, I’m trying to remove this plugin, but find myself unable to do so. All I get when I hit ‘delete’ is a wall of error text at the top of the page. Please let me know what I can do to remove the plugin.

    Error text:
    Deletion failed: <!DOCTYPE html> <!--[if IE 8]> <![endif]--> <!--[if !(IE 8) ]><!--> <!--<![endif]--> &lsaquo; SuperLisa — WordPress addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}}; var ajaxurl = '/wp-admin/admin-ajax.php', pagenow = 'admin-ajax', typenow = '', adminpage = 'admin-ajax-php', thousandsSeparator = ',', decimalPoint = '.', isRtl = 0; img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 .07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } <!--[if lte IE 7]> <![endif]--> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/superlisa.nl\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.9.8"}}; !function(a,b,c){function d(a,b){var c=String.fromCharCode;l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,a),0,0);var d=k.toDataURL();l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,b),0,0);var e=k.toDataURL();return d===e}function e(a){var b;if(!l||!l.fillText)return!1;switch(l.textBaseline="top",l.font="600 32px Arial",a){case"flag":return!(b=d([55356,56826,55356,56819],[55356,56826,8203,55356,56819]))&&(b=d([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]),!b);case"emoji":return b=d([55358,56760,9792,65039],[55358,56760,8203,9792,65039]),!b}return!1}function f(a){var c=b.createElement("script");c.src=a,c.defer=c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var g,h,i,j,k=b.createElement("canvas"),l=k.getContext&&k.getContext("2d");for(j=Array("flag","emoji"),c.supports={everything:!0,everythingExceptFlag:!0},i=0;i<j.length;i++)c.supports[j[i]]=e(j[i]),c.supports.everything=c.supports.everything&&c.supports[j[i]],"flag"!==j[i]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[j[i]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(h=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",h,!1),a.addEventListener("load",h,!1)):(a.attachEvent("onload",h),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),g=c.source||{},g.concatemoji?f(g.concatemoji):g.wpemoji&&g.twemoji&&(f(g.twemoji),f(g.wpemoji)))}(window,document,window._wpemojiSettings); /* <![CDATA[ */ var userSettings = {"url":"\/","uid":"1","time":"1542271128","secure":"1"};/* ]]> */ <!--[if lt IE 8]> <![endif]--> var mejsL10n = {"language":"en","strings":{"mejs.install-flash":"You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https:\/\/get.adobe.com\/flashplayer\/","mejs.fullscreen-off":"Turn off Fullscreen","mejs.fullscreen-on":"Go Fullscreen","mejs.download-video":"Download Video","mejs.fullscreen":"Fullscreen","mejs.time-jump-forward":["Jump forward 1 second","Jump forward %1 seconds"],"mejs.loop":"Toggle Loop","mejs.play":"Play","mejs.pause":"Pause","mejs.close":"Close","mejs.time-slider":"Time Slider","mejs.time-help-text":"Use Left\/Right Arrow keys to advance one second, Up\/Down arrows to advance ten seconds.","mejs.time-skip-back":["Skip back 1 second","Skip back %1 seconds"],"mejs.captions-subtitles":"Captions\/Subtitles","mejs.captions-chapters":"Chapters","mejs.none":"None","mejs.mute-toggle":"Mute Toggle","mejs.volume-help-text":"Use Up\/Down Arrow keys to increase or decrease volume.","mejs.unmute":"Unmute","mejs.mute":"Mute","mejs.volume-slider":"Volume Slider","mejs.video-player":"Video Player","mejs.audio-player":"Audio Player","mejs.ad-skip":"Skip ad","mejs.ad-skip-info":["Skip in 1 second","Skip in %1 seconds"],"mejs.source-chooser":"Source Chooser","mejs.stop":"Stop","mejs.speed-rate":"Speed Rate","mejs.live-broadcast":"Live Broadcast","mejs.afrikaans":"Afrikaans","mejs.albanian":"Albanian","mejs.arabic":"Arabic","mejs.belarusian":"Belarusian","mejs.bulgarian":"Bulgarian","mejs.catalan":"Catalan","mejs.chinese":"Chinese","mejs.chinese-simplified":"Chinese (Simplified)","mejs.chinese-traditional":"Chinese (Traditional)","mejs.croatian":"Croatian","mejs.czech":"Czech","mejs.danish":"Danish","mejs.dutch":"Dutch","mejs.english":"English","mejs.estonian":"Estonian","mejs.filipino":"Filipino","mejs.finnish":"Finnish","mejs.french":"French","mejs.galician":"Galician","mejs.german":"German","mejs.greek":"Greek","mejs.haitian-creole":"Haitian Creole","mejs.hebrew":"Hebrew","mejs.hindi":"Hindi","mejs.hungarian":"Hungarian","mejs.icelandic":"Icelandic","mejs.indonesian":"Indonesian","mejs.irish":"Irish","mejs.italian":"Italian","mejs.japanese":"Japanese","mejs.korean":"Korean","mejs.latvian":"Latvian","mejs.lithuanian":"Lithuanian","mejs.macedonian":"Macedonian","mejs.malay":"Malay","mejs.maltese":"Maltese","mejs.norwegian":"Norwegian","mejs.persian":"Persian","mejs.polish":"Polish","mejs.portuguese":"Portuguese","mejs.romanian":"Romanian","mejs.russian":"Russian","mejs.serbian":"Serbian","mejs.slovak":"Slovak","mejs.slovenian":"Slovenian","mejs.spanish":"Spanish","mejs.swahili":"Swahili","mejs.swedish":"Swedish","mejs.tagalog":"Tagalog","mejs.thai":"Thai","mejs.turkish":"Turkish","mejs.ukrainian":"Ukrainian","mejs.vietnamese":"Vietnamese","mejs.welsh":"Welsh","mejs.yiddish":"Yiddish"}}; /* <![CDATA[ */ var _wpmejsSettings = {"pluginPath":"\/wp-includes\/js\/mediaelement\/","classPrefix":"mejs-","stretching":"responsive"}; /* ]]> */ var bbbutton = { "title":"Title", "spoiler":"Spoiler", "text":"Text", "showlink":"Show collapse link?", "style":"Style", "default2":"Default", "green":"Green", "red":"Red", "blue":"Blue", "yellow":"Yellow", "orange":"Orange", "brown":"Brown", "purple":"Purple", "cyan":"Cyan", "lime":"Lime", "steelblue":"SteelBlue", }; if ( window.history.replaceState ) { window.history.replaceState( null, null, document.getElementById( 'wp-admin-canonical' ).href + window.location.hash ); } var _wpColorScheme = {"icons":{"base":"#82878c","focus":"#00a0d2","current":"#fff"}}; document.body.className = document.body.className.replace('no-js','js'); <!--[if lte IE 8]> document.body.className = document.body.className.replace( /(^|\s)(no-)?customize-support(?=\s|$)/, '' ) + ' no-customize-support'; <![endif]--> <!--[if gte IE 9]><!--> (function() { var request, b = document.body, c = 'className', cs = 'customize-support', rcs = new RegExp('(^|\\s+)(no-)?'+cs+'(\\s+|$)'); request = true; b[c] = b[c].replace( rcs, ' ' ); // The customizer requires postMessage and CORS (if the site is cross domain) b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs; }()); <!--<![endif]--> Skip to main content Skip to toolbar Loginizer Security Loginizer SecurityDashboardBrute ForceGo Pro Statistics StatisticsOverviewHitsOnlineReferrersSearch WordsTop Search WordsSearch EnginesPagesVisitorsCountriesCategoriesTagsAuthorsBrowsersTop Visitors TodayExclusionsOptimizationSettingsAdd-OnsDonate Buttons Shortcode And Widget Buttons Shortcode And WidgetSettingsCollapse menu All Settings

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ryan R. Bayne

    (@ryan-bayne)

    Hello

    I’ve never seen this specific issue before.

    The output seems to be related to Loginizer so something unusual happening there. I’ll do some removal tests now.

    Plugin Author Ryan R. Bayne

    (@ryan-bayne)

    I installed Loginizer when considering a possible conflict.

    I managed to delete TwitchPress when clicking Delete without issues.

    This is somehow related to script loading and I some flash related stuff in there. Is it possible you also have some sort of media plugin or a theme that uses flash?

    You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from

    That is within the dump which is not a proper error by any WP standard. It’s as if a plugin is interfering with the deletion process. It could be a conflict caused by TwitchPress but without knowing all the plugins and theme installed there isn’t much more testing I can do.

    Please delete the plugin using FTP like FileZilla or your hosting file management feature. I wish I had a better answer and thank you for trying my plugin.

    superlisa

    (@superlisa)

    I appreciate you working with me by looking into this, I understand the difficulty in trouble shooting things that are hard to reproduce.

    I’m using Linux, so that’s why my browser does not support Flash. Having to install it only to remove a plugin from seems unusual at best. If you think it might help, I can see about using my partner’s Mac to try. I’ve never experienced a Flash issue with removing any other plugins, so that would be interesting!

    I looked into removing the plugin through a filemanager, but couldn’t find a folder named TwitchPress under wp-content/plugins, which is unusual in itself.

    I’ll try to do a manual reinstall of the plugin first and see if I can remove it normally after that. If that doesn’t work, I’ll compile a list of plugins and the theme I’m using, hoping you’ll be willing to keep helping me figure it out.

    To be continued, thanks! 🙂

    superlisa

    (@superlisa)

    The re-install was quick and finally resulted in a solution. I learned that the folder is named differently also.

    After manually reinstalling and then removing the entire channel-solution-for-twitch folder, it no longer appears in the plugins list.

    Do note that after the manual reinstall I was still unable to use the delete option in the plugins list. The error I got may be different, so pasting it here for you to look at (just in case this ever comes up again):

    Deletion failed: <!DOCTYPE html> <!--[if IE 8]> <![endif]--> <!--[if !(IE 8) ]><!--> <!--<![endif]--> &lsaquo; SuperLisa — WordPress addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}}; var ajaxurl = '/wp-admin/admin-ajax.php', pagenow = 'admin-ajax', typenow = '', adminpage = 'admin-ajax-php', thousandsSeparator = ',', decimalPoint = '.', isRtl = 0; img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 .07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } <!--[if lte IE 7]> <![endif]--> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/superlisa.nl\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.9.8"}}; !function(a,b,c){function d(a,b){var c=String.fromCharCode;l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,a),0,0);var d=k.toDataURL();l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,b),0,0);var e=k.toDataURL();return d===e}function e(a){var b;if(!l||!l.fillText)return!1;switch(l.textBaseline="top",l.font="600 32px Arial",a){case"flag":return!(b=d([55356,56826,55356,56819],[55356,56826,8203,55356,56819]))&&(b=d([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]),!b);case"emoji":return b=d([55358,56760,9792,65039],[55358,56760,8203,9792,65039]),!b}return!1}function f(a){var c=b.createElement("script");c.src=a,c.defer=c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var g,h,i,j,k=b.createElement("canvas"),l=k.getContext&&k.getContext("2d");for(j=Array("flag","emoji"),c.supports={everything:!0,everythingExceptFlag:!0},i=0;i<j.length;i++)c.supports[j[i]]=e(j[i]),c.supports.everything=c.supports.everything&&c.supports[j[i]],"flag"!==j[i]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[j[i]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(h=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",h,!1),a.addEventListener("load",h,!1)):(a.attachEvent("onload",h),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),g=c.source||{},g.concatemoji?f(g.concatemoji):g.wpemoji&&g.twemoji&&(f(g.twemoji),f(g.wpemoji)))}(window,document,window._wpemojiSettings); /* <![CDATA[ */ var userSettings = {"url":"\/","uid":"1","time":"1542356142","secure":"1"};/* ]]> */ <!--[if lt IE 8]> <![endif]--> var mejsL10n = {"language":"en","strings":{"mejs.install-flash":"You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https:\/\/get.adobe.com\/flashplayer\/","mejs.fullscreen-off":"Turn off Fullscreen","mejs.fullscreen-on":"Go Fullscreen","mejs.download-video":"Download Video","mejs.fullscreen":"Fullscreen","mejs.time-jump-forward":["Jump forward 1 second","Jump forward %1 seconds"],"mejs.loop":"Toggle Loop","mejs.play":"Play","mejs.pause":"Pause","mejs.close":"Close","mejs.time-slider":"Time Slider","mejs.time-help-text":"Use Left\/Right Arrow keys to advance one second, Up\/Down arrows to advance ten seconds.","mejs.time-skip-back":["Skip back 1 second","Skip back %1 seconds"],"mejs.captions-subtitles":"Captions\/Subtitles","mejs.captions-chapters":"Chapters","mejs.none":"None","mejs.mute-toggle":"Mute Toggle","mejs.volume-help-text":"Use Up\/Down Arrow keys to increase or decrease volume.","mejs.unmute":"Unmute","mejs.mute":"Mute","mejs.volume-slider":"Volume Slider","mejs.video-player":"Video Player","mejs.audio-player":"Audio Player","mejs.ad-skip":"Skip ad","mejs.ad-skip-info":["Skip in 1 second","Skip in %1 seconds"],"mejs.source-chooser":"Source Chooser","mejs.stop":"Stop","mejs.speed-rate":"Speed Rate","mejs.live-broadcast":"Live Broadcast","mejs.afrikaans":"Afrikaans","mejs.albanian":"Albanian","mejs.arabic":"Arabic","mejs.belarusian":"Belarusian","mejs.bulgarian":"Bulgarian","mejs.catalan":"Catalan","mejs.chinese":"Chinese","mejs.chinese-simplified":"Chinese (Simplified)","mejs.chinese-traditional":"Chinese (Traditional)","mejs.croatian":"Croatian","mejs.czech":"Czech","mejs.danish":"Danish","mejs.dutch":"Dutch","mejs.english":"English","mejs.estonian":"Estonian","mejs.filipino":"Filipino","mejs.finnish":"Finnish","mejs.french":"French","mejs.galician":"Galician","mejs.german":"German","mejs.greek":"Greek","mejs.haitian-creole":"Haitian Creole","mejs.hebrew":"Hebrew","mejs.hindi":"Hindi","mejs.hungarian":"Hungarian","mejs.icelandic":"Icelandic","mejs.indonesian":"Indonesian","mejs.irish":"Irish","mejs.italian":"Italian","mejs.japanese":"Japanese","mejs.korean":"Korean","mejs.latvian":"Latvian","mejs.lithuanian":"Lithuanian","mejs.macedonian":"Macedonian","mejs.malay":"Malay","mejs.maltese":"Maltese","mejs.norwegian":"Norwegian","mejs.persian":"Persian","mejs.polish":"Polish","mejs.portuguese":"Portuguese","mejs.romanian":"Romanian","mejs.russian":"Russian","mejs.serbian":"Serbian","mejs.slovak":"Slovak","mejs.slovenian":"Slovenian","mejs.spanish":"Spanish","mejs.swahili":"Swahili","mejs.swedish":"Swedish","mejs.tagalog":"Tagalog","mejs.thai":"Thai","mejs.turkish":"Turkish","mejs.ukrainian":"Ukrainian","mejs.vietnamese":"Vietnamese","mejs.welsh":"Welsh","mejs.yiddish":"Yiddish"}}; /* <![CDATA[ */ var _wpmejsSettings = {"pluginPath":"\/wp-includes\/js\/mediaelement\/","classPrefix":"mejs-","stretching":"responsive"}; /* ]]> */ var bbbutton = { "title":"Title", "spoiler":"Spoiler", "text":"Text", "showlink":"Show collapse link?", "style":"Style", "default2":"Default", "green":"Green", "red":"Red", "blue":"Blue", "yellow":"Yellow", "orange":"Orange", "brown":"Brown", "purple":"Purple", "cyan":"Cyan", "lime":"Lime", "steelblue":"SteelBlue", }; if ( window.history.replaceState ) { window.history.replaceState( null, null, document.getElementById( 'wp-admin-canonical' ).href + window.location.hash ); } var _wpColorScheme = {"icons":{"base":"#82878c","focus":"#00a0d2","current":"#fff"}}; document.body.className = document.body.className.replace('no-js','js'); <!--[if lte IE 8]> document.body.className = document.body.className.replace( /(^|\s)(no-)?customize-support(?=\s|$)/, '' ) + ' no-customize-support'; <![endif]--> <!--[if gte IE 9]><!--> (function() { var request, b = document.body, c = 'className', cs = 'customize-support', rcs = new RegExp('(^|\\s+)(no-)?'+cs+'(\\s+|$)'); request = true; b[c] = b[c].replace( rcs, ' ' ); // The customizer requires postMessage and CORS (if the site is cross domain) b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs; }()); <!--<![endif]--> Skip to main content Skip to toolbar File Manager File ManagerFile ManagerSettingsShortcodes Loginizer Security Loginizer SecurityDashboardBrute ForceGo Pro Statistics StatisticsOverviewHitsOnlineReferrersSearch WordsTop Search WordsSearch EnginesPagesVisitorsCountriesCategoriesTagsAuthorsBrowsersTop Visitors TodayExclusionsOptimizationSettingsAdd-OnsDonate Buttons Shortcode And Widget Buttons Shortcode And WidgetSettingsCollapse menu All Settings

    Thanks again for working through this with me and giving me the tip to remove the plugin manually. Hopefully it was just some exotic fluke and it was just me. If you want any other information to determine the variables that may have been at play, don’t hesitate to ask. For now I’ll leave it here, my issue is resolved.

    Thank you for developing the plugin in the first place, even if I didn’t end up using it! 🙂

    Plugin Author Ryan R. Bayne

    (@ryan-bayne)

    Hello again and thank you for your encouragement.

    Have you tried operating TwitchPress with no other plugins activated and then attempt to delete it. Also, consider using a default WP theme to rule out your theme.

    The problem you are having is very strange. I’ve never seen a bug that results in a dump of content like this. However, someone else reported that if all the plugin removal options are set to true/yes they get an error when removing the plugin.

    They didn’t confirm the error…yet! I’m waiting to see if it’s a similar issue and hopefully, the combined information will lead me to a fix!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error when trying to remove plugin’ is closed to new replies.