Answers.Body: <p>I'm assuming you have the civicrm_entity module installed. There's an open pull request for this at <a href="https://github.com/eileenmcnaughton/civicrm_entity/pull/238" rel="nofollow noreferrer">https://github.com/eileenmcnaughton/civicrm_entity/pull/238</a></p>
  <p>If you're able to test out that patch and comment there on that PR it might get merged faster.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-05T00:38:24.833Z
Answers.Text: Thank you Demerit. I don't know how to install patches, so I will just wait for the module update whenever it comes. I appreciate your taking the time to let me know.
Answers.UserDisplayName: The Amateur
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-04T20:49:31.933Z
Answers.LastActivityDate: 2020-10-04T20:49:31.933Z
Answers.UserDisplayName: Demerit
Body: <p>On Drupal 7.73 with CiviCRM 5.29.1. Every time the CiviCRM cron runs, I get the following warnings in the Drupal watchdog log. Each is a separate entry.</p>
  <p>hook_civicrm_alter_drupal_entities should be updated to pass an array of parameter names to CRM_Utils_Hook::invoke(). Array ( [civi.tag] =&gt; deprecated )</p>
  <p>hook_civicrm_entity_supported_info should be updated to pass an array of parameter names to CRM_Utils_Hook::invoke(). Array ( [civi.tag] =&gt; deprecated )</p>
  <p>Any suggestions for how to fix this would be most welcome :-)</p>
  <p>Thanks.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-10-06T13:31:16.543Z
Comments.Text: Wow - this totally worked for me ! No more clogged log file. Thank you Eileen.
Comments.UserDisplayName: barbaraec
Tags: <drupal><cron><hooks>
Title: Why am I getting a warning about hook_civicrm when Civi's cron runs?
ThreadText: # Why am I getting a warning about hook_civicrm when Civi's cron runs?
  
  (Asked by: username_0 on 2020-10-04)
  
  On Drupal 7.73 with CiviCRM 5.29.1. Every time the CiviCRM cron runs, I get the following warnings in the Drupal watchdog log. Each is a separate entry.
  
  hook\_civicrm\_alter\_drupal\_entities should be updated to pass an array of parameter names to CRM\_Utils\_Hook::invoke(). Array ( [civi.tag] => deprecated )
  
  hook\_civicrm\_entity\_supported\_info should be updated to pass an array of parameter names to CRM\_Utils\_Hook::invoke(). Array ( [civi.tag] => deprecated )
  
  Any suggestions for how to fix this would be most welcome :-)
  
  Thanks.
  
  **Tags:** drupal, cron, hooks
  
  > **Comments:**
  > **username_1**: Wow - this totally worked for me ! No more clogged log file. Thank you Eileen.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2020-10-04. Score: 4 | Accepted answer
  
  I'm assuming you have the civicrm\_entity module installed. There's an open pull request for this at <https://github.com/eileenmcnaughton/civicrm_entity/pull/238>
  
  If you're able to test out that patch and comment there on that PR it might get merged faster.
  
  > **Comments:**
  > **username_0**: Thank you username_2. I don't know how to install patches, so I will just wait for the module update whenever it comes. I appreciate your taking the time to let me know.  
  
  ---
  
  