• Resolved RonaldS

    (@norus)


    Use of deprecated PHP code and when try to delete your plugin I get this:

    Deletion failed: Warning: fopen(/home/deb9346745/domains/domain.com/public_html/rdp/wp-content/plugins/scripts-to-footerphp/scripts-to-footer.php): failed to open stream: No such file or directory in /home/deb9346745/domains/domain.com/public_html/rdp/wp-includes/functions.php on line 4649 Warning: fread() expects parameter 1 to be resource, boolean given in /home/deb9346745/domains/domain.com/public_html/rdp/wp-includes/functions.php on line 4652 Warning: fclose() expects parameter 1 to be resource, boolean given in /home/deb9346745/domains/domain.com/public_html/rdp/wp-includes/functions.php on line 4655 {“success”:true,”data”:{“delete”:”plugin”,”slug”:”scripts-to-footerphp”,”plugin”:”scripts-to-footerphp\/scripts-to-footer.php”,”pluginName”:””}}

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Joshua David Nelson

    (@joshuadnelson)

    Ah, that’s no good. I can’t see clearly in that error output what the issue is specifically, but I’m guessing it’s related to the uninstall.php, which is using globals and really shouldn’t be. I’ll update that code and push a release through.

    That said, I wasn’t able to replicate the issue using the most current version of WordPress and this plugin. Can you verify your WP version and Plugin version so I can debug it further?

    Were you able to delete the plugin after this issue or did you just remove it via FTP?

    Plugin Author Joshua David Nelson

    (@joshuadnelson)

    It’s possible this error popped up because the plugin file was already deleted prior to hitting the “delete” button in the admin screen. Did the plugin go away on the admin screen when you reloaded? Did you see any errors on the front end of the site? Can you verify your WP version and Plugin version so I can debug it further?

    Plugin Author Joshua David Nelson

    (@joshuadnelson)

    I’m going to close this thread since I haven’t heard back in over a month – but please reach out if you have follow-up or other issues. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deletion failed of plugin + Use of deprecated PHP code’ is closed to new replies.