Title: Error using wp-cli when Responsive Menu is active
Last modified: April 24, 2026

---

# Error using wp-cli when Responsive Menu is active

 *  Resolved [rbruno](https://wordpress.org/support/users/rbruno/)
 * (@rbruno)
 * [1 month, 2 weeks ago](https://wordpress.org/support/topic/error-using-wp-cli-when-responsive-menu-is-active/)
 * Hello,
 * when I launch a wp-cli command like wp plugins list I see:
 * Fatal error: Uncaught Error: Call to undefined function wp_generate_password()
   in /var/www/html/wordpress/wp-admin/includes/file.php:690
   Stack trace: 0 /var/
   www/html/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php(138): wp_tempnam()
   1 /var/www/html/wordpress/wp-content/plugins/responsive-menu/v4.0.0/inc/classes/
   class-theme-manager.php(436): WP_Filesystem_FTPext->get_contents() 2 /var/www/
   html/wordpress/wp-content/plugins/responsive-menu/v4.0.0/inc/classes/class-theme-
   manager.php(850): RMP\Features\Inc\Theme_Manager->get_themes_from_uploads() 3/
   var/www/html/wordpress/wp-content/plugins/responsive-menu/responsive-menu.php(
   170): RMP\Features\Inc\Theme_Manager->get_menu_active_themes() 4 /var/www/html/
   wordpress/wp-content/plugins/responsive-menu/responsive-menu.php(185): rm_includes_menu_theme_template()
   5 /var/www/html/wordpress/wp-settings.php(560): include_once(‘…’)
 * The same command with the parameter –skip-plugins or when Responsive Menu is 
   deactivated gives no errors.
 * Could you please fix it ?
 * Thank you

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

 *  Plugin Support [pankaj2508](https://wordpress.org/support/users/pankaj2508/)
 * (@pankaj2508)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/error-using-wp-cli-when-responsive-menu-is-active/#post-18892346)
 * Hi [@rbruno](https://wordpress.org/support/users/rbruno/) ,
 * I hope you’re doing well, and thank you for reaching out.
 * We understand that you’re encountering a fatal error when running the WP-CLI 
   command, particularly when the Responsive Menu plugin is activated. We appreciate
   you sharing the error details and the steps to reproduce the issue.
 * Our team is currently reviewing the error message to identify the root cause.
   In the meantime, please ensure that you are using the latest version of the Responsive
   Menu plugin, as updates often include important fixes.
 * We will update you here as soon as we have more information or recommended steps
   to resolve the issue.
 * Thank you for your time and cooperation.
 * Warm regards,
   **Pankaj**
 *  Plugin Support [pankaj2508](https://wordpress.org/support/users/pankaj2508/)
 * (@pankaj2508)
 * [1 month ago](https://wordpress.org/support/topic/error-using-wp-cli-when-responsive-menu-is-active/#post-18902544)
 * Hi [@rbruno](https://wordpress.org/support/users/rbruno/) ,
 * I hope you are doing well, and I apologize for the delay in getting back to you.
 * We reviewed the error logs with our development team and rechecked the issue 
   thoroughly. Our developers confirmed that the warning is generated by the default
   WordPress file manager and originates from WordPress core functions. Since this
   functionality is part of the WordPress core, we’re unable to modify or override
   it from our end.
 * I hope this clarifies your concern regarding the issue.
 * Please let us know if there’s anything else we can assist you with.
 * Thank you for your cooperation and time.
 * Warm regards,
   **Pankaj**

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-using-wp-cli-when-responsive-menu-is-active%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/responsive-menu/assets/icon-256x256.png?rev=1782326)
 * [Responsive Menu - Create Mobile-Friendly Menu](https://wordpress.org/plugins/responsive-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-menu/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [pankaj2508](https://wordpress.org/support/users/pankaj2508/)
 * Last activity: [1 month ago](https://wordpress.org/support/topic/error-using-wp-cli-when-responsive-menu-is-active/#post-18902544)
 * Status: resolved