0

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 administrator 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!

2
  • 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.
    – Alan Dixon
    Commented Mar 23, 2020 at 20:00
  • 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: domain.org/civicrm/mailing/… Commented Apr 9, 2020 at 21:01

1 Answer 1

1

I just updated CiviCRM to 5.26.1, and unsubscribe links seem to work now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.