Title: Errors when accessing wp-cli
Last modified: March 19, 2020

---

# Errors when accessing wp-cli

 *  Resolved [gresakg](https://wordpress.org/support/users/gresakg/)
 * (@gresakg)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/errors-when-accessing-wp-cli/)
 * I manage my sites on the server using wp-cli. Recently, I encountered this error
   that fires whenever I try to use wp-cli, preventing my automated scripts to work.
 * `PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function 
   Give\API\Endpoints\Reports\Endpoint::get_report_schema(), 0 passed in [stripped]/
   wp-includes/rest-api/class-wp-rest-server.php on line 1165 and exactly 1 expected
   in [striped]/wp-content/plugins/give/src/API/Endpoints/Reports/Endpoint.php:114`
 * Maybe important: there is also woocommerce installed on the same site.
    The site
   is running on Ubuntu 18.04 nginx/mariadb and it’s the latest WordPress, Give 
   and Woocommerce versions.
 * Thanks in advance, Greg

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

 *  Thread Starter [gresakg](https://wordpress.org/support/users/gresakg/)
 * (@gresakg)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/errors-when-accessing-wp-cli/#post-12585364)
 * Hi, could any of the plugin developers look at this please?
    thaks, Grego
 *  Plugin Contributor [Ben Meredith](https://wordpress.org/support/users/benmeredithgmailcom/)
 * (@benmeredithgmailcom)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/errors-when-accessing-wp-cli/#post-12593054)
 * Hi [@gresakg](https://wordpress.org/support/users/gresakg/)
 * We are working on addressing this. See the PR here that will resolve this: [https://github.com/impress-org/givewp/pull/4593](https://github.com/impress-org/givewp/pull/4593)
 * Thanks so much for reporting this!
 *  Thread Starter [gresakg](https://wordpress.org/support/users/gresakg/)
 * (@gresakg)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/errors-when-accessing-wp-cli/#post-12600118)
 * That’s good news! Thanks a lot!

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

The topic ‘Errors when accessing wp-cli’ is closed to new replies.

 * ![](https://ps.w.org/give/assets/icon-256x256.jpg?rev=2873287)
 * [GiveWP - Donation Plugin and Fundraising Platform](https://wordpress.org/plugins/give/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/give/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/give/)
 * [Active Topics](https://wordpress.org/support/plugin/give/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/give/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/give/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [wp-cli](https://wordpress.org/support/topic-tag/wp-cli/)

 * 3 replies
 * 2 participants
 * Last reply from: [gresakg](https://wordpress.org/support/users/gresakg/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/errors-when-accessing-wp-cli/#post-12600118)
 * Status: resolved