Suddenly, an error messaage occurs when commenting using the the Commenting plugin. It has worked fine for more than 1200 comments so far, but now you get an error after submitting a new comment. The error says: “Omeka has encountered an error
To learn how to see more detailed information about this error, see the Omeka Codex page on retrieving error messages.”
I turned on error logging, and The message there is: 2019-06-21T01:03:31+02:00 ERR (3): RuntimeException: The configured PHP path (/usr/bin/php) does not point to a PHP-CLI binary. in /home/samlinge/klepp.samlinger.no/application/libraries/Omeka/Job/Process/Dispatcher.php:124 Stack trace: #0 /home/samlinge/klepp.samlinger.no/application/libraries/Omeka/Job/Process/Dispatcher.php(93): Omeka_Job_Process_Dispatcher::_checkCliPath(’/usr/bin/php’) #1 /home/samlinge/klepp.samlinger.no/application/libraries/Omeka/Job/Process/Dispatcher.php(28): Omeka_Job_Process_Dispatcher::getPHPCliPath() #2 /home/samlinge/klepp.samlinger.no/application/libraries/Omeka/Job/Dispatcher/Adapter/BackgroundProcess.php(31): Omeka_Job_Process_Dispatcher::startProcess(‘Omeka_Job_Proce…’, Object(User), Array) #3 /home/samlinge/klepp.samlinger.no/application/libraries/Omeka/Job/Dispatcher/Default.php(151): Omeka_Job_Dispatcher_Adapter_BackgroundProcess->send(’{“className”:"J…’, Array) #4 /home/samlinge/klepp.samlinger.no/plugins/Commenting/controllers/CommentController.php(231): Omeka_Job_Dispatcher_Default->sendLongRunning(‘Job_CommentNoti…’, Array) #5 /home/samlinge/klepp.samlinger.no/plugins/Commenting/controllers/CommentController.php(82): Commenting_CommentController->sendEmailNotifications(Object(Comment)) #6 /home/samlinge/klepp.samlinger.no/application/libraries/Zend/Controller/Action.php(516): Commenting_CommentController->addAction() #7 /home/samlinge/klepp.samlinger.no/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(‘addAction’) #8 /home/samlinge/klepp.samlinger.no/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #9 /home/samlinge/klepp.samlinger.no/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch() #10 /home/samlinge/klepp.samlinger.no/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #11 /home/samlinge/klepp.samlinger.no/application/libraries/Omeka/Application.php(73): Zend_Application->run() #12 /home/samlinge/klepp.samlinger.no/index.php(23): Omeka_Application->run() #13 {main}
Ps. Although the error message occurs, the comments still get adde into the list for approvement, and when approved shows just as it should, underneath the item.