• Hi Phil,
    the Plugin throws an fatal error when i try to update it with wp_cli.

    We are using “/bin/bash” with a file containing “wp –path=$site plugin update –all” that utilizes the wp_cli to update all the plugins.
    In this updating process AgeGate throws a fatal error which stops the execution of the update.

    The thrown error:
    Parse error: syntax error, unexpected ‘=>’ (T_DOUBLE_ARROW), expecting ‘,’ or ‘)’ in
    …/wp-content/plugins/age-gate/vendor/agegate/common/src/Admin/AbstractController.php on line 73

    I already had a quick look at the code but everything seemed fine, maybe changing this to a normal anonymous function will work.

    I hope you can fix this.

    Thanks,
    Elko Keil from CvH Design

  • The topic ‘Error while auto-updating with WP Cli’ is closed to new replies.