Skip to main content

WordPress Toolkit fails to uninstall plugin when proc_open, proc_close are disabled in PHP config

Comments

23 comments

  • cPanelAnthony
    Hello! This issue is described in the following article. Can you let me know if it helps?
    0
  • Shoss
    Thank you for the link. I found it before opening this thread. It doesn't help. Asking users to switch to PHP 7.4 to install WordPress, is not a workaround at all. Even after if you switch to PHP 7.4, WP toolkit fails to uninstall plugin when you have proc_open or proc_close in disabled_functions: Error: Cannot do 'launch': The PHP functions `proc_open()` and/or `proc_close()` are disabled. Please check your PHP ini directive `disable_functions` or suhosin settings.
    WP Toolkit seems to be having this issue since April 2019. It is frustrating seeing this issue hasn't been fixed yet.
    This issue is described in the following article. Can you let me know if it helps?

    0
  • cPRex Jurassic Moderator
    @Dhrupodi - I've reached out to the WordPress Toolkit team to see if I can get some more details on this. I'll let you know what I find out.
    0
  • Shoss
    @cPRex, thanks a lot. Please let me know when you have any updates.
    0
  • cPRex Jurassic Moderator
    Update - This is scheduled to be fixed in WordPress Toolkit 5.9.2 once that is released.
    0
  • Shoss
    @cPRex Thanks a ton for the good news! It would be amazing and a great deal of help having these issues fixed!
    0
  • Shoss
    @cPRex, I was hoping if you have any update regarding the mail() issue. WordPress Toolkit still cannot install WordPress on PHP 8.x when mail() is disabled via disabled_function. It is certainly doable as third party WP installers install WordPress without any issue. But due to this issue, WP Toolkit has become a common source of misunderstanding, and in some cases, cancellation from users.
    0
  • cPRex Jurassic Moderator
    @Dhrupodi - let me reach out to the team and I'll let you know what I find!
    0
  • cPRex Jurassic Moderator
    In case that wasn't clear, it will likely be tomorrow or Wednesday before I hear something from them about that specific detail.
    0
  • RevivalTech
    Update - This is scheduled to be fixed in WordPress Toolkit 5.9.2 once that is released.

    Thank goodness!
    0
  • cPRex Jurassic Moderator
    The WordPress Toolkit team confirmed they have an internal case opened about the PHP mail function issue. Since it's with that specific Plesk team I don't have a way to share the link here, but it is something they are working on and plan to resolve.
    0
  • Shoss
    @cPRex, thank you for the update. It is good to know that a case number was assigned. Would it be possible to share the case number, or would it be possible to guess when it might be complete?
    0
  • Shoss
    I wish cPanel created its own WP installer as a cPanel plugin instead of porting it from Plesk. What Plesk has is a wrapper around wp-cli.
    0
  • cPRex Jurassic Moderator
    I mean, I can share the case number, but I'm not sure it's going to be of much help: EXTWPTOOLK-8757 If you've seen my other posts, I never provide ETAs of any type. It just sets up expectations that may never be met, so I don't have any type of guess as to when this will be resolved.
    0
  • RevivalTech
    I wish cPanel created its own WP installer as a cPanel plugin instead of porting it from Plesk. What Plesk has is a wrapper around wp-cli.

    +1
    0
  • Shoss
    @cPRex the issue has not been solved yet. Would it be possible to follow up with the devs about the fix?
    0
  • cPRex Jurassic Moderator
    Let me check!
    0
  • cPRex Jurassic Moderator
    I spoke with the WordPress Toolkit team and while the issue isn't resolved, there is a workaround. You can disable the initial email from WordPress by adjusting/adding [QUOTE] sendWordPressInstalledNativeEmail = false
    in config.ini. Let me know if that helps!
    0
  • Shoss
    @cPRex that helped. I tested it on a dev server, and it worked as intended. One other thing. Is there a way to disable automatic scanning by WP Toolkit? When you access WP Toolkit from cPanel and WHM, it automatically scans and imports al WP installs it finds, even the ones that are installed by other means. Is there a way to disable automatic scan and import?
    0
  • cPRex Jurassic Moderator
    @Dhrupodi - I'm not able to reproduce this behavior on a test machine, and according to the documentation that shouldn't be happening: "All WordPress installations added using the WP Toolkit or through the Applications page appear in WP Toolkit automatically; those installed manually need to be attached to WP Toolkit." This is from the
    0
  • Shoss
    those installed manually need to be attached to WP Toolkit.

    Thanks a lot for pointing it out. It's been a long time since I used the WP toolkit due to the issues mentioned in this thread. My remarks were based on my memory, and I clearly missed the changelog. I tested on an RND install and can confirm that WP Toolkit does not automatically import external installs.
    0
  • Shoss
    @cPRex, my bad. I was too early to comment. WP Toolkit automatically imported the WP install overnight. So, it is still very much an issue.
    0
  • cPRex Jurassic Moderator
    Can you create a ticket with us so we can investigate this behavior?
    0

Please sign in to leave a comment.