I've created an events page for an event with fees. The fess are processes via a Stripe payment processor. When I'm logged onto CiviCRM, as an administrator, I can enter my credit card details and submit the form, and everything works perfectly well. However, when I attempt the same browsing incognito, although I'm able to access the events page and enter my credit card details, as soon as I hit the submit button a dialogue box pops up with the message error. I've check the logs and indeed two entries are created when the error is generated but I'm unable to interpret what they mean. I guess it's something to do with permissions. Would anyone have any suggestions how I could go about more precisely diagnosing and resolving this issue? I'm including the contents of the relevant log entries below. Thank you.
[error] $Fatal Error Details = array:3 [ "message" => "You do not have permission to access this page." "code" => null "exception" => CRM_Core_Exception {#7937 -errorData: array:1 [ "error_code" => 0 ] #cause: null -_trace: null #message: "You do not have permission to access this page." #code: 0 #file: "/home/embracingage/www/www/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/WordPress.php" #line: 615 trace: { /home/embracingage/www/www/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/WordPress.php:615 { › $civicrm_wp_title = ts('You do not have permission to access this page.'); › throw new CRM_Core_Exception(ts('You do not have permission to access this page.')); › } } /home/embracingage/www/www/wp-content/plugins/civicrm/civicrm/CRM/Utils/System.php:62 { …} /home/embracingage/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:239 { …} /home/embracingage/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:69 { …} /home/embracingage/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:36 { …} /home/embracingage/www/www/wp-content/plugins/civicrm/civicrm.php:1199 { …} /home/embracingage/www/www/wp-includes/class-wp-hook.php:308 { …} /home/embracingage/www/www/wp-includes/class-wp-hook.php:332 { …} /home/embracingage/www/www/wp-includes/plugin.php:565 { …} /home/embracingage/www/www/wp-includes/class-wp.php:797 { …} /home/embracingage/www/www/wp-includes/functions.php:1334 { …} /home/embracingage/www/www/wp-blog-header.php:16 { …} /home/embracingage/www/www/index.php:17 { …} } } ]
[debug] $Fatal Error Details = array:3 [ "message" => "You do not have permission to access this page." "code" => null "exception" => CRM_Core_Exception {#7937 -errorData: array:1 [ "error_code" => 0 ] #cause: null -_trace: null #message: "You do not have permission to access this page." #code: 0 #file: "/home/embracingage/www/www/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/WordPress.php" #line: 615 trace: { /home/embracingage/www/www/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/WordPress.php:615 { › $civicrm_wp_title = ts('You do not have permission to access this page.'); › throw new CRM_Core_Exception(ts('You do not have permission to access this page.')); › } } /home/embracingage/www/www/wp-content/plugins/civicrm/civicrm/CRM/Utils/System.php:62 { …} /home/embracingage/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:239 { …} /home/embracingage/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:69 { …} /home/embracingage/www/www/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:36 { …} /home/embracingage/www/www/wp-content/plugins/civicrm/civicrm.php:1199 { …} /home/embracingage/www/www/wp-includes/class-wp-hook.php:308 { …} /home/embracingage/www/www/wp-includes/class-wp-hook.php:332 { …} /home/embracingage/www/www/wp-includes/plugin.php:565 { …} /home/embracingage/www/www/wp-includes/class-wp.php:797 { …} /home/embracingage/www/www/wp-includes/functions.php:1334 { …} /home/embracingage/www/www/wp-blog-header.php:16 { …} /home/embracingage/www/www/index.php:17 { …} } } ]'''