Error Code: MCWHC005

The script has not been executed in a CLI mode which is required for the script to run properly.
Note that CLI does not have any timeout limitation which may break synchronization of bigger data sent to MetricsCube.

Suggested Solution

Please open your command line and run the below command to execute this script in a CLI mode:

php your_WHMCS_dir/modules/addons/MetricsCube/cron.php

Important! The above directory is an example, please replace it with a full directory of the file on your server.