ho-nl / magento2-ReachDigital_BetterIndexer

12 stars 4 forks source link

Call to undefined function ReachDigital\\IndexerPerformance\\Plugin\\pcntl_signal() #10

Open shilparightpoint opened 1 year ago

shilparightpoint commented 1 year ago

When I tried to run cron:run cli command, on cron.log, I have found below issue:

report.CRITICAL: Error when running a cron job {"exception":"[object] (RuntimeException(code: 0): Error when running a cron job at /var/www/html/vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php:368, Error(code: 0): Call to undefined function ReachDigital\IndexerPerformance\Plugin\pcntl_signal() at /var/www/html/app/code/ReachDigital/IndexerPerformance/Plugin/ViewPlugin.php:66)"}

Please let me know, if I need add any php extension in composer.json file.

kanevbg commented 9 months ago

It seems the extension uses the Process Control PHP extension: https://www.php.net/manual/en/book.pcntl.php If you add that to your PHP installation the error should disappear.