Answers.Body: <p>I just updated CiviCRM to 5.26.1, and unsubscribe links seem to work now.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-07T23:09:56.400Z
Answers.LastActivityDate: 2020-06-07T23:09:56.400Z
Answers.UserDisplayName: Norris
Body: <p>Running CiviCRM 5.3.2 on the latest Wordpress. I recently migrated the site from an older version of Civi on another server.</p>
  <p>Unsubscribe links from mailings load the confirmation page correctly, with the correct partially obscured test****@domain.org. But when I fill in the email address and click Unsubscribe, it displays:</p>
  <blockquote>
  <p>Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred.
  Missing Parameters</p>
  <p>Return to home page.</p>
  </blockquote>
  <p>I turned debugging on, and it shows it failing on line 574 of CRM/Core/Form.php</p>
  <p>That line is calling preProcess(), which is defined in Utils/Request.php. The &quot;Missing Parameters&quot; exception is thrown there when jid, qid, or h can't be found.</p>
  <p>I wrote the $this object to a log file, and it does show the correct jid, qid, and h in _submitValues -&gt; entryURL. But jid, qid, and h aren't extracted and stored one by one anywhere.</p>
  <p>That's as far as I can think to go. I'm not sure how those are supposed to be extracted and made available for preProcess to retrieve(), so I'm not sure what to look at next. Thoughts?</p>
  <p>Also, on some of the backend pages, I sometimes get a popup in the upper right with the same &quot;Missing Parameters&quot; error. The pages seem to work normally though, and it hasn't happened enough for me to intuit a pattern.</p>
  <p>I did try disabling all Wordpress plugins except CiviCRM, but that didn't change the behavior.</p>
  <p>Maybe relevant: when I migrated, and ran the database upgrade after unpacking the latest CiviCRM files, the upgrade timed out twice(?) in the middle of running. (I believe php-fpm timeout was set to the default 30 seconds.) I reloaded the upgrade page and it seemed to resume the upgrade just fine, with no errors. But maybe that caused a problem?</p>
  <p>Thanks for any pointers!</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-03-23T20:00:10.020Z
Comments.Text: Yes, I suspect your last note is relevant - i.e. there might be a missing field in a table that should have been generated during the upgrade process. Dunno how you'd figure it out though, if your debug info doesn't give you any clues. You might have to drill down a bit through the debug stack trace to figure it out.
Comments.UserDisplayName: Alan Dixon
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-04-09T21:01:25.130Z
Comments.Text: We are seeing the same issue with Drupal 7.69 and CiviCRM 5.23.4. We did not have any issues or errors during the upgrade process. The unsubscribe page is loaded with this URL:
  
  https://domain.org/civicrm/mailing/unsubscribe?reset=1&jid=3590&qid=1037445&h=c38ef80808cc0140
Comments.UserDisplayName: CMM Administrator
Tags: <civimail><unsubscribe>
Title: "Missing parameters" error in unsubscribe confirmation, and on some admin pages
ThreadText: # "Missing parameters" error in unsubscribe confirmation, and on some admin pages
  
  (Asked by: username_0 on 2020-03-23)
  
  Running CiviCRM 5.3.2 on the latest Wordpress. I recently migrated the site from an older version of Civi on another server.
  
  Unsubscribe links from mailings load the confirmation page correctly, with the correct partially obscured test\*\*\*\*@domain.org. But when I fill in the email address and click Unsubscribe, it displays:
  
  > Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your username_2 or service provider with more details about what action you were performing when this occurred.
  > Missing Parameters
  >
  > Return to home page.
  
  I turned debugging on, and it shows it failing on line 574 of CRM/Core/Form.php
  
  That line is calling preProcess(), which is defined in Utils/Request.php. The "Missing Parameters" exception is thrown there when jid, qid, or h can't be found.
  
  I wrote the $this object to a log file, and it does show the correct jid, qid, and h in \_submitValues -> entryURL. But jid, qid, and h aren't extracted and stored one by one anywhere.
  
  That's as far as I can think to go. I'm not sure how those are supposed to be extracted and made available for preProcess to retrieve(), so I'm not sure what to look at next. Thoughts?
  
  Also, on some of the backend pages, I sometimes get a popup in the upper right with the same "Missing Parameters" error. The pages seem to work normally though, and it hasn't happened enough for me to intuit a pattern.
  
  I did try disabling all Wordpress plugins except CiviCRM, but that didn't change the behavior.
  
  Maybe relevant: when I migrated, and ran the database upgrade after unpacking the latest CiviCRM files, the upgrade timed out twice(?) in the middle of running. (I believe php-fpm timeout was set to the default 30 seconds.) I reloaded the upgrade page and it seemed to resume the upgrade just fine, with no errors. But maybe that caused a problem?
  
  Thanks for any pointers!
  
  **Tags:** civimail, unsubscribe
  
  > **Comments:**
  > **username_1**: Yes, I suspect your last note is relevant - i.e. there might be a missing field in a table that should have been generated during the upgrade process. Dunno how you'd figure it out though, if your debug info doesn't give you any clues. You might have to drill down a bit through the debug stack trace to figure it out.  
  > **username_2**: We are seeing the same issue with Drupal 7.69 and CiviCRM 5.23.4. We did not have any issues or errors during the upgrade process. The unsubscribe page is loaded with this URL:  https://domain.org/civicrm/mailing/unsubscribe?reset=1&jid=3590&qid=1037445&h=c38ef80808cc0140  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2020-06-07. Score: 1
  
  I just updated CiviCRM to 5.26.1, and unsubscribe links seem to work now.
  
  
  ---
  
  