• Resolved EllsWeb

    (@ellsweb)


    I’ve tried three different sites, two on live server and one on local. All gave the same error when I attempted to delete your plugin from the site.

    PHP Fatal error occurred: require_once(): Failed opening required '/xxxx/xxxx/xxx/xxxxx/wp-content/plugins/multisite-enhancementssrc/settings.php' (include_path='.:/etc/config/php') in /xxxx/xxxx/xxx/xxxxxx/wp-content/plugins/multisite-enhancements/uninstall.php on line 9.

    Having taken a look at the code in your plugin, I see the error.

    Currently, your uninstall.php file contains:
    require_once __DIR__ . 'src/settings.php';

    I changed it to:
    require_once __DIR__ . '/src/settings.php';

    When I applied the change, I was able to delete via WordPress dashboard. I’m not a coder so I don’t know if the solution is the solution you would choose, but what I did worked for my needs.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Frank Bueltge

    (@bueltge)

    The current version have this path, see https://github.com/bueltge/wordpress-multisite-enhancements/blob/master/uninstall.php#L9

    Maybe you have an on older version active?

    Thread Starter EllsWeb

    (@ellsweb)

    According to what I saw on the description page for the version number and what I saw in my dashboards, I had the most updated version.

    However, as I pointed out, I fixed the error and resolved the issue. I pointed it out to you for a permanent fix.

    I just downloaded the current version here on www.ads-software.com and guess what, the error is still there. All it takes is to add the forward slash where I said it is missing.

    Like I said, I fixed the copies I have. I really don’t need a new file to download.

    But thanks anyway.

    Plugin Author Frank Bueltge

    (@bueltge)

    I’m sorry, was my point to blame you or dismiss this note from you. I checked the SVN upload on the wp.org repository, and you have right. There is an older file in the tag. So, for now, I updated this file and solved this issue without a change of the version tag. I know it would be simple, and the next version is a better trigger to update all the installations.

    Thread Starter EllsWeb

    (@ellsweb)

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error when attempting to delete plugin’ is closed to new replies.