I recently updated CiviCRM and am now having errors with the CiviMail reports. My setup uses:
CiviCRM 5.32.2
Drupal 7.77
PHP 7.4
Below is the step-by-step description of what happens.
- Click on Mailings in CiviCRM
- Select Scheduled and Sent Mailings
- Click on any completed mailing Report
- Click on any of the report items having more than 50 results--"successful deliveries" or "unique opens," etc. When I do this, I get the list of contacts and 3 errors are logged in the Drupal logs. They are:
_ERROR 1
Location: http://mysite.org/civicrm/report/instance/33?mailing_id_value=390& qfKey=54cfb81fd804cbcd6b07435da277f9354ce7ca54fd178e9_4603&force=1&crmPID=3& snippet=json
Referrer: http://mysite.org/civicrm/report/instance/33?reset=1&mailing_id_value=390
Message: Notice: Undefined offset: 3 in HTML_QuickForm->addElement() (line 648 of /home/mysite/www/www/sites/all/modules/civicrm/packages/HTML/QuickForm.php).
_ERROR 2
Location: http://mysite.org/civicrm/report/instance/33?mailing_id_value=390& qfKey=54cfb81fd804cbcd6b07435da277f9354ce7ca54fd178e9_4603&force=1&crmPID=3& snippet=json
Referrer: http://mysite.org/civicrm/report/instance/33?reset=1&mailing_id_value=390
Message: Warning: array_merge(): Expected parameter 2 to be an array, null given in HTML_QuickForm->addElement() (line 648 of /home/mysite/www/www/sites/all/modules/civicrm/packages/HTML/QuickForm.php).
_ERROR 3
Location: http://mysite.org/civicrm/report/instance/33?mailing_id_value=390& qfKey=54cfb81fd804cbcd6b07435da277f9354ce7ca54fd178e9_4603&force=1&crmPID=3& snippet=json
referrer: http://mysite.org/civicrm/report/instance/33?reset=1&mailing_id_value=390
Message: Notice: Undefined index: class in HTML_QuickForm->addElement() (line 649 of /home/mysite/www/www/sites/all/modules/civicrm/packages/HTML/QuickForm.php).
- Next, click the up arrow on the upper right of the list for going to the next page of contacts. Once again the same 3 errors above are added to the Drupal Log.
- The page loads with the following form and SQL query (see image) and the up-arrow is gone from the paging. One time, the top toolbar drop-downs also stopped working.
My question is: Why is this quickform displaying when you go to page 2 or any page past the first one? Insights, please?