Title: Uninstall.php from CLI failed
Last modified: June 1, 2017

---

# Uninstall.php from CLI failed

 *  Resolved [techzoralab](https://wordpress.org/support/users/techzoralab/)
 * (@techzoralab)
 * [9 years ago](https://wordpress.org/support/topic/uninstall-php-from-cli-failed/)
 * Using WordPress CLI to uninstall plugin, uninstall.php yielded the following
   
   error dump:
 *     ```
       Success: Uninstalled 1 of 1 plugins.
       Deactivating '404page'...
       Plugin '404page' deactivated.
       PHP Fatal error:  Call to a member function uninstall() on null in /var/www/html/wp-content/plugins/404page/uninstall.php on line 11
       Fatal error: Call to a member function uninstall() on null in /var/www/html/wp-content/plugins/404page/uninstall.php on line 11
       ```
   
 * Manually removing it from the GUI wp-admin is working as expected.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Peter Raschendorfer](https://wordpress.org/support/users/petersplugins/)
 * (@petersplugins)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/uninstall-php-from-cli-failed/#post-9325644)
 * Could you please do me a favor and test it with the current dev build that can
   be downloaded from [https://downloads.wordpress.org/plugin/404page.zip](https://downloads.wordpress.org/plugin/404page.zip)?
 * Thanks in advance
    Peter
 *  Thread Starter [techzoralab](https://wordpress.org/support/users/techzoralab/)
 * (@techzoralab)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/uninstall-php-from-cli-failed/#post-9338755)
 * Getting an all green from the current dev build. No error codes. You’re good 
   to go.
 *     ```
       Deactivating '404page'...
       Warning: Plugin '404page' isn't active.
       Uninstalled and deleted '404page' plugin.
       Success: Uninstalled 1 of 1 plugins.
       ```
   
    -  This reply was modified 8 years, 10 months ago by [techzoralab](https://wordpress.org/support/users/techzoralab/).
 *  Plugin Contributor [Peter Raschendorfer](https://wordpress.org/support/users/petersplugins/)
 * (@petersplugins)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/uninstall-php-from-cli-failed/#post-9345938)
 * Thanks for testing. Final 3.1 is out. Marked as resolved.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Uninstall.php from CLI failed’ is closed to new replies.

 * ![](https://ps.w.org/404page/assets/icon-256x256.png?rev=3345344)
 * [Smart Custom 404 Error Page](https://wordpress.org/plugins/404page/)
 * [Support Threads](https://wordpress.org/support/plugin/404page/)
 * [Active Topics](https://wordpress.org/support/plugin/404page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/404page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/404page/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Peter Raschendorfer](https://wordpress.org/support/users/petersplugins/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/uninstall-php-from-cli-failed/#post-9345938)
 * Status: resolved