• Resolved gresakg

    (@gresakg)


    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)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Errors when accessing wp-cli’ is closed to new replies.