Event Registration Error on Wordpress 6.3.1 Civi 5.63.4 "Could not find valid value for id"
Overview
When registering for an event, users do not see the configured thank you messge, but instead are shown the error: "Could not find valid value for id"
Reproduction steps
- Configure an event with free online registration and a thankyou message.
- Register for the event from the event info page.
Current behaviour
Users are shown an error: "Could not find valid value for id"
Expected behaviour
Thank you message configured in the event should be shown.
Environment information
- __Browser: Browser independent.
- __CiviCRM: 5.63.4
- __PHP: 8.1
- __CMS: WordPress 6.3.1
- __Database: MariaDB
- __Web Server: Nginx
Comments
This only happens with registering for events using the Civi event info page. If you embed a shortcode for the specific event in a WordPress page then the error is not shown.