DateInterval::__construct() expects exactly 1 parameter, 2 given in vendor/magento/module-reward/Model/ResourceModel/Reward/History/Collection.php:288

enterprise-edition
reward

(Sam D) #1

I am also seeing this error now that it installed and the process did not have errors.

[E_ERROR] Uncaught TypeError: DateInterval::__construct() expects exactly 1 parameter, 2 given in /app/65y2iwmymaini/vendor/magento/module-reward/Model/ResourceModel/Reward/History/Collection.php:288
Stack trace:
#0 /app/65y2iwmymaini/vendor/magento/module-reward/Model/ResourceModel/Reward/History/Collection.php(288): DateInterval->__construct(‘P’, ‘15D’)
#1 /app/65y2iwmymaini/vendor/magento/module-reward/Cron/ScheduledBalanceExpireNotification.php(90): Magento\Reward\Model\ResourceModel\Reward\History\Collection->loadExpiredSoonPoints(‘1’, true)
#2 [internal function]: Magento\Reward\Cron\ScheduledBalanceExpireNotification->execute(Object(Magento\Cron\Model\Schedule\Interceptor))
#3 /app/65y2iwmymaini/vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php(247): call_user_func_array(Array, Array)
#4 /app/65y2iwmymaini/vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php(195): Magento\Cron\Observer\ProcessCronQueueObserver->_runJob(1472072460, 1472072462, Array, Object(Magento\Cron\Model\Schedule\I
Файл: /app/65y2iwmymaini/vendor/magento/module-reward/Model/ResourceModel/Reward/History/Collection.php`


Class Df\Framework\Controller\Result\Json\Interceptor may not inherit from final class (Df\Framework\Controller\Result\Json)
(Dmitry Fedyuk) #2

If you need support for the Magento 2 Enterprise Magento_Reward module, then you can buy the generic support service for it.