You could at least try to run wp COMMAND --debug to see what this will give you.
I once got this after I manually copied a preprocessed wp-config.php in place to be used inside a Docker container. Suddenly all commands stopped working, silently. The container returned me a 255. With --debug I could identify at which point exactly the commands stopped working and identified that it must have been the wp-config.php.
In the end I fixed it by generating the config with wp config create and suddenly WP-CLI started working again. Would be interesting to know if your error disappears as soon as you remove your wp-config.php. WP-CLI then should tell you that there’s no config existent and might suggest using wp config create to create one.
Related Posts:
- Add section (add_settings_section) to a custom page (add_submenu_page)
- Can i create two tables at single time while installation of custom plugin?
- How do I sanitize a javascript text?
- How can a Firebase user registration and login be integrated into a WordPress site?
- update_meta_user difference in i:1 and b:1, how to write b:1
- Registration Form Validation in wordpress
- Migrating a File from Plugin to Theme and changing its path → instead create a REST endpoint
- Access wordpress functions inside a plugin class
- Can’t access my WP dashboard: fatal error? [closed]
- allow arabic letters when register new account
- Use plugin or custom post type for game score functionality
- How to implement Sentry on WordPress? [closed]
- Need Old Version of plugins
- How to prevent users to download videos from lms website?
- How to append to title via functions.php for auto-posting plugin [duplicate]
- Page Restriction and Redirect for Particular Levels or user
- How to bypass the Easy Digital Downloads checkout process?
- Assign post format to categories
- Shrink down register_settings on Settings API
- custom payment gateway in woocommerce failed to connect to remote api server
- Parse error: syntax error, unexpected ‘new’ (T_NEW) in /misc/41/000/204/381/9/user/web/ragami.net/wp-settings.php on line 219
- Ajax call returning 0
- How to create restrict content to users (by user, not by role)
- Some code in shortcode function being ignored
- do_shortcode is outputting a string
- Custom plugin appears outside of the sidebar container
- accessing parent variables in child construct without executing action in parent
- What are the Best Practises When Using AJAX in Plugin Development?
- Does having more than 30 Admin Ajax affects site performance (plugin)?
- How Can I Safely Remove WP-Super Cache without messing my site up? [closed]
- Check if user is on backend page
- How to Resize the Custom Post Images?
- Super slow plugin page (lots of error 500)
- Error trying to update plugins
- I can’t get blog posts into ‘featured areas’ on homepage
- Hosting multiple sites
- do_action in conditional
- Show WordPress Plugin Menu(Admin) To Editor
- How many MySQL queries per visit I should normally have?
- WordPress plugin with its own “site”/theme
- Hook functions for Wp e-commerce? [closed]
- Multisite Plugin – Access options (wp_options) on child sites
- Plugin Add New Installer failing
- Problem enabling the user to edit Markdown and displaying the HTML output (WMD Editor plugin for WordPress)
- Displaying the facebook profile picture in the WP-FB AutoConnect widget?
- How can I disable an attribute from a Gutenberg block included in a template via InnerBlocks?
- Why the internal link get converted into a comment?
- Elementor Sidebar not loading when PRO elements plugin is active
- how can we migrate wordpress 5.9 website from aws ec2 to new installed wp 5.9 oci compute
- How to add gallery to post and make seperate album page with gallery link to post?
- Editing a coupon generating plugin
- Display pagination in reservation Plugin and and Print table as pdf
- Undeletable column in Posts
- Search in WordPress
- What is the right way to populate a dropdown from MySql?
- prevent anonymous access to WordPress site (non-admin site)
- Content disappears when searching with Search & Filter plugin
- Fatal error: Class ‘RDTheme’ not found
- How to direct wordpress traffic to specific page
- Scroll to ID broken in main menu
- How to fix shifting header after installing speed / cache plugins?
- Set “Open in New tab” as default option
- Generate and send ICS file through WordPress
- PHP message: WordPress database error Deadlock found when trying to get lock
- Field salespeople task management
- Multi Language Code Snippet in WordPress
- Can’t manage plugins anymore
- Creating Admin Submenu Page via Class Method
- How to store multiple instances of the plugin’s options for various shortcodes
- Installed plugins page do not show in wordpress dashboard
- wp_schedule_event need to deactivate plugin changing recurrance
- How do plugin updates work?
- How can i see/log all requests coming from a registration form (not from the UI)?
- ajax request not returning the result
- adding image in the header of my dev widget
- passing ‘&’ in return function of add_filter
- Is there going to an issue running different features of WP site in different subdomains?
- Is there a plugin that will override the “Error establishing a database connection” message? [closed]
- List all subpages hierarchically based on the currently viewed page, top ancestor levels included
- Shortcodes can only be used in Pages, not Posts
- how do you point ‘screen_function’ to a function in the same class? [closed]
- Plugin with custom domain
- Create New Admin Menu Section – Like how custom post type works, in a way
- Combining JS files to one script
- How to clean up unnecessary file inside wp-content/plugins/wordpress-seo?
- How can I modify the colors of my theme for a single section of my site? [closed]
- Duplicating wordpress install issue
- Woocommerce add product variations block to my custom template
- WordPress REST API Visual Composer Shortcodes
- Unable to pass arguments from plugin form to filter hook using ajax, the data is transferring via ajax but unable to pass as arguments in filter hooks
- How to update changes to multiple sites at the same time
- Why am I getting an error when requiring a file in my plugin?
- restore backup full content or just specific folders
- WooCommerce REST API aborts connection [closed]
- How to write a plugin that “listens” every time, an edit occurs?
- How can I use the zip of my plugin in another website?
- Executing ACF field as a shortcode
- Create custom Header and Footer for a page that uses diffrent theme then the rest of the website
- Elementor Form : client side javascript validation
- How to prevent WP All Export from wrapping XML nodes in CDATA? [closed]