1. webstar
  2. RO CSVI
  3. Thursday, 24 February 2022
  4.  Subscribe via email
problem running a cron job... I wonder if you can help. we've just moved server and having problem getting a cron job to run.

trying to run php /var/www/html/administrator/components/com_csvi/helper/cron.php --key="xxxxxx" --template_id="40" --form.orderlist="512677"

but getting this error...

PHP Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /var/www/html/libraries/vendor/joomla/input/src/Input.php on line 41

Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /var/www/html/libraries/vendor/joomla/input/src/Input.php on line 41
PHP Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/libraries/vendor/joomla/input/src/Input.php on line 170

Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/libraries/vendor/joomla/input/src/Input.php on line 170
PHP Deprecated: Joomla\CMS\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /var/www/html/libraries/src/Input/Input.php on line 31

Deprecated: Joomla\CMS\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /var/www/html/libraries/src/Input/Input.php on line 31
PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/html/libraries/src/Application/WebApplication.php on line 1305


Accepted Answer
Accepted Answer Pending Moderation
Hello,
but getting this error...

These are not errors but notices and happens because of PHP version compatibility.

problem running a cron job... I wonder if you can help. we've just moved server and having problem getting a cron job to run.

I am guessing you are on PHP 8.0 version or on a higher version. Try to use PHP 7.4 version on CLI and check. That should solve these notices.
Kind regards,

Tharuna

=========================
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
Yes thats it - used /usr/bin/php7.4 unstead of php

thanks
  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!