On my wordpress civicrm page, we use event registration and also allow wordpress user creation during event registration. Filling out the registration is working and the final event registraion confirm page loads. When submitting this confirm page the form POST is being executed and redirects to the event thank you page. When loading this event thank you page I receive a HTTP 500 with session expired.
Nevertheless, the person gets registered successfully and also receives confirmation email about successful registration. It is "just" the event thank you page is not loading...
In case any already registered wordpress user registers for the same event everything runs smoothly...
I already checked persistent php session handling, reverse proxy or cdn caching but it did not help.
civicrm error log details:
trace: {
/var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php:796 {
CRM_Core_Controller->invalidKeyCommon()
› public function invalidKeyCommon() {
› throw new CRM_Core_Exception(
› ts("Sorry, your session has expired. Please reload the page or go back and try again."), 419, [ts("Could not find a valid session key.")]);
}
/var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php:817 { …}
/var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Event/Controller/Registration.php:46 { …}
/var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php:311 { …}
/var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php:187 { …}
/var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Event/Controller/Registration.php:25 { …}
/var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:274 { …}
/var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:73 { …}
/var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:38 { …}
/var/www/html/wp-content/plugins/civicrm/civicrm.php:1316 { …}
/var/www/html/wp-content/plugins/civicrm/includes/civicrm.basepage.php:425 { …}
/var/www/html/wp-includes/class-wp-hook.php:324 { …}
/var/www/html/wp-includes/class-wp-hook.php:348 { …}
/var/www/html/wp-includes/plugin.php:565 { …}
/var/www/html/wp-includes/class-wp.php:835 { …}
/var/www/html/wp-includes/functions.php:1342 { …}
/var/www/html/wp-blog-header.php:16 { …}
/var/www/html/index.php:17 { …}
}
