Title: PHP error while running the command line
Last modified: December 17, 2019

---

# PHP error while running the command line

 *  Resolved [jdrapella](https://wordpress.org/support/users/jdrapella/)
 * (@jdrapella)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/php-error-while-running-the-command-line/)
 * Installed the pluging, it was getting stuck running through the site so I flowed
   the advice of running it as a command line. This is the error I get now:
 *     ```
       $wp phpcompat 7.3
       Testing compatibility with PHP 7.3.
   
       Fatal error: Call to undefined method PHPCompatibility\PHPCSHelper::findStartOfStatement() in /home/e4e43490403083/html/wp-content/plugins/php-compatibility-checker/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/ArgumentFunctionsReportCurrentValueSniff.php on line 323
       Error: There has been a critical error on your website.Learn more about debugging in WordPress. There has been a critical error on your website.
       ```
   
 * Please advise what to do next?

Viewing 1 replies (of 1 total)

 *  Thread Starter [jdrapella](https://wordpress.org/support/users/jdrapella/)
 * (@jdrapella)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/php-error-while-running-the-command-line/#post-12276247)
 * found the answer to on a different blog:
    [https://github.com/wpengine/phpcompat/issues/245](https://github.com/wpengine/phpcompat/issues/245)

Viewing 1 replies (of 1 total)

The topic ‘PHP error while running the command line’ is closed to new replies.

 * ![](https://ps.w.org/php-compatibility-checker/assets/icon-256x256.png?rev=1446087)
 * [PHP Compatibility Checker](https://wordpress.org/plugins/php-compatibility-checker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-compatibility-checker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-compatibility-checker/)
 * [Active Topics](https://wordpress.org/support/plugin/php-compatibility-checker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-compatibility-checker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-compatibility-checker/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [jdrapella](https://wordpress.org/support/users/jdrapella/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/php-error-while-running-the-command-line/#post-12276247)
 * Status: resolved