Answers.Body: <p>You've probably always had that scheduled job running with invalid parameters, it's just now showing in the logs because of a change in civi in logging. I would just turn off that job unless you really think there are reports being mailed, but I doubt it was working.</p>
  <p>Normally when you enable that job you replace the placeholders in the parameters section with actual values.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-08-24T15:08:39.933Z
Answers.LastActivityDate: 2022-08-24T15:08:39.933Z
Answers.UserDisplayName: Demerit
Body: <p>I have just worked through upgrading from 5.44 to 5.52 on WordPress. It took a few tries, and I had to do it in stages, but seemed to work in the end except that I have an error in my scheduled jobs now. The full text is this:</p>
  <pre><code>Parameters raw (from db settings): 
  instanceId=[ID of report instance] required
  format=[csv or print] optional-output CSV or print-friendly HTML, else PDF
  
  Parameters parsed (and passed to API method): 
  a:3:{s:7:&quot;version&quot;;i:3;s:10:&quot;instanceId&quot;;s:32:&quot;[ID of report instance] required&quot;;s:6:&quot;format&quot;;s:67:&quot;[csv or print] optional-output CSV or print-friendly HTML, else PDF&quot;;}
  
  Full message: 
  Finished execution of Mail Reports with result: Failure, Error message:  is not of type String
  </code></pre>
  <p>I haven't added any reports to be mailed in a long time. Not even sure there are any. There is, surprisingly, nothing in the CiviCRM log. Any thoughts? It seems almost like placeholder info is being passed, but I'm not sure why or where I would find that happening.</p>
  
Tags: <scheduled-job>
Title: Finished execution of Mail Reports with result: Failure, Error message: is not of type String
ThreadText: # Finished execution of Mail Reports with result: Failure, Error message: is not of type String
  
  (Asked by: username_0 on 2022-08-24)
  
  I have just worked through upgrading from 5.44 to 5.52 on WordPress. It took a few tries, and I had to do it in stages, but seemed to work in the end except that I have an error in my scheduled jobs now. The full text is this:
  
  ```
  Parameters raw (from db settings): 
  instanceId=[ID of report instance] required
  format=[csv or print] optional-output CSV or print-friendly HTML, else PDF
  
  Parameters parsed (and passed to API method): 
  a:3:{s:7:"version";i:3;s:10:"instanceId";s:32:"[ID of report instance] required";s:6:"format";s:67:"[csv or print] optional-output CSV or print-friendly HTML, else PDF";}
  
  Full message: 
  Finished execution of Mail Reports with result: Failure, Error message:  is not of type String
  
  ```
  
  I haven't added any reports to be mailed in a long time. Not even sure there are any. There is, surprisingly, nothing in the CiviCRM log. Any thoughts? It seems almost like placeholder info is being passed, but I'm not sure why or where I would find that happening.
  
  **Tags:** scheduled-job
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-08-24. Score: 1 | Accepted answer
  
  You've probably always had that scheduled job running with invalid parameters, it's just now showing in the logs because of a change in civi in logging. I would just turn off that job unless you really think there are reports being mailed, but I doubt it was working.
  
  Normally when you enable that job you replace the placeholders in the parameters section with actual values.
  
  
  ---
  
  