1. Anonymous User
  2. RO CSVI
  3. Friday, 15 May 2020
  4.  Subscribe via email
Hello
I am getting an error reported for my Cron task:

Parse error: syntax error, unexpected '?' in /home/juicebik/public_html/plugins/csvirules/fieldcombine/fieldcombine.php on line 173

Cron command is:
/usr/local/php56/bin/php-cli /home/juicebik/public_html/administrator/components/com_csvi/helper/cron.php --key="emailthis" --template_id="48"

I'm not sure how to fix. Perhaps you have some pointers for me?


Very grateful for any help on this.
Kind regards, Bob
Accepted Answer
Accepted Answer Pending Moderation
Hello Bob,

The problem here is the PHP version you are using on for the cron job. As you can see in your command, you are using PHP 5.6 but this is better to use PHP 7.3. What you can do is check if you can use the command

/usr/local/php73/bin/php-cli /home/juicebik/public_html/administrator/components/com_csvi/helper/cron.php --key="emailthis" --template_id="48"
In this case you are using PHP 7.3.

Let me know if that helps.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # Permalink
Accepted Answer Pending Moderation
Perfect Roland! Thanks a lot!
  1. more than a month ago
  2. RO CSVI
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!