faq:troubleshooting:errors_directory:parse-errors:unexpected-t_object_operator

syntax error, unexpected T_OBJECT_OPERATOR in /ow_cron/run.php

 Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /ow_cron/run.php 
  • Cause: Cron command is executed under PHP version that is not compatible with SkaDate software. Applicable to cron commands in /path-to-php/path-to-site-root/ow_cron/run.php format, where PHP version in /path-to-php location is either lower or higher then minimal/maximal SkaDate requirements.
  • Happens when: Crontab executes /ow_cron/run.php file.
  • Solutions in recommended order ( choose one):
    • Ask your hosting provider for an alternative path to the PHP executable. Ex: /usr/bin/php5 .
    • Configure cron command to run via HTTP request. Ex:
      wget -q -O /dev/null http://[your_site_URL]/ow_cron/run.php 
    • Ask your hosting provider to update PHP version in default /path-to-php location
faq/troubleshooting/errors_directory/parse-errors/unexpected-t_object_operator.txt · Last modified: 2017/06/07 09:11 by 127.0.0.1