These are chat archives for ushahidi/Community

2nd
Aug 2018
WebDesign - Lentarex
@Lentarex_twitter
Aug 02 2018 11:46

PLS HELP
when i run cron, for
cd /home/vote1countorg/public_html/portal/platform && ./bin/ushahidi dataprovider incoming
i get this error below and email, twitter data source not pulling data to the site.

PHP Notice: Undefined index: argv in /home/vote1countorg/public_html/portal/platform/vendor/symfony/console/Input/ArgvInput.php on line 53
PHP Warning: array_shift() expects parameter 1 to be array, null given in /home/vote1countorg/public_html/portal/platform/vendor/symfony/console/Input/ArgvInput.php on line 57
PHP Warning: Invalid argument supplied for foreach() in /home/vote1countorg/public_html/portal/platform/vendor/symfony/console/Input/ArgvInput.php on line 280
PHP Warning: Invalid argument supplied for foreach() in /home/vote1countorg/public_html/portal/platform/vendor/symfony/console/Input/ArgvInput.php on line 280
PHP Warning: Invalid argument supplied for foreach() in /home/vote1countorg/public_html/portal/platform/vendor/symfony/console/Input/ArgvInput.php on line 280
PHP Warning: Invalid argument supplied for foreach() in /home/vote1countorg/public_html/portal/platform/vendor/symfony/console/Input/ArgvInput.php on line 280
PHP Warning: Invalid argument supplied for foreach() in /home/vote1countorg/public_html/portal/platform/vendor/symfony/console/Input/ArgvInput.php on line 280
PHP Warning: Invalid argument supplied for foreach() in /home/vote1countorg/public_html/portal/platform/vendor/symfony/console/Input/ArgvInput.php on line 280
PHP Warning: Invalid argument supplied for foreach() in /home/vote1countorg/public_html/portal/platform/vendor/symfony/console/Input/ArgvInput.php on line 280
PHP Warning: Invalid argument supplied for foreach() in /home/vote1countorg/public_html/portal/platform/vendor/symfony/console/Input/ArgvInput.php on line 280
PHP Warning: Invalid argument supplied for foreach() in /home/vote1countorg/public_html/portal/platform/vendor/symfony/console/Input/ArgvInput.php on line 280
PHP Warning: Invalid argument supplied for foreach() in /home/vote1countorg/public_html/portal/platform/vendor/symfony/console/Input/ArgvInput.php on line 280
PHP Warning: Invalid argument supplied for foreach() in /home/vote1countorg/public_html/portal/platform/vendor/symfony/console/Input/ArgvInput.php on line 280
PHP Warning: Invalid argument supplied for foreach() in /home/vote1countorg/public_html/portal/platform/vendor/symfony/console/Input/ArgvInput.php on line 280
PHP Warning: Invalid argument supplied for foreach() in /home/vote1countorg/public_html/portal/platform/vendor/symfony/console/Input/ArgvInput.php on line 264
PHP Warning: Invalid argument supplied for foreach() in /home/vote1countorg/public_html/portal/platform/vendor/symfony/console/Input/ArgvInput.php on line 280
PHP Warning: array_shift() expects parameter 1 to be array, null given in /home/vote1countorg/public_html/portal/platform/vendor/symfony/console/Input/ArgvInput.php on line 76

Console Tool

Usage:
command [options] [arguments]

Options:
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
dataprovider List, fetch, and send messages from data providers
exporter Export Posts
help Displays help for a command
import Import data
list Lists commands
notification Manage notifications
savedsearch Search and add posts to Saved Searches
user Create user accounts
webhook Manage webhook requests
apikey
apikey:set Set apikey
config
config:get Get config
config:set Set config
oauth
oauth:client List, create, and delete OAuth clients
X-Powered-By: PHP/7.1.19
Content-type: text/html; charset=UTF-8

WebDesign - Lentarex
@Lentarex_twitter
Aug 02 2018 23:11
@ushbot After a lot of research and trial and error, i was able to get the cron to work with this command.
cd /home/vote1countorg/public_html/portal/platform && /usr/local/bin/php -q bin/ushahidi dataprovider incoming
Thank you so much David Losana for all your help! I really appreciate.