After updating from 1.12.3 to 1.13., the public viewing of mailing by non-logged-in viewers isn't working anymore.
ConfigAndLog shows:
2026-02-21 13:51:54+0100 [error] API4 Request Authorization failed: Contribution::getActions
2026-02-21 13:51:54+0100 [error] API4 Request Authorization failed: ContributionRecur::getActions
2026-02-21 13:51:54+0100 [error]
$Fatal Error Details = array:3 [
"message" => "Invalid field 'contribution_6999aa6a19884.id'"
"code" => null
"exception" => CRM_Core_Exception {#20749
#message: "Invalid field 'contribution_6999aa6a19884.id'"
#code: 0
#file: "/html/wordpress/wp-content/plugins/civicrm/civicrm/api/api.php"
#line: 149
#cause: null
-_trace: null
-errorData: array:5 [
"error_code" => 0
"entity" => "Mailing"
"action" => "preview"
"is_error" => 1
"error_message" => "Invalid field 'contribution_6999aa6a19884.id'"
]
trace: {
/html/wordpress/wp-content/plugins/civicrm/civicrm/api/api.php:149 {
civicrm_api3(string $entity, string $action, array $params = [])
› if (is_array($result) && !empty($result['is_error'])) {
› throw new CRM_Core_Exception($result['error_message'], $result['error_code'] ?? 'undefined', $result);
› }
}
/html/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Mailing/Page/View.php:131 { …}
/html/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:246 { …}
/html/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:82 { …}
/html/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:40 { …}
/html/wordpress/wp-content/plugins/civicrm/civicrm.php:1316 { …}
/html/wordpress/wp-content/plugins/civicrm/includes/civicrm.basepage.php:425 { …}
/html/wordpress/wp-includes/class-wp-hook.php:341 { …}
/html/wordpress/wp-includes/class-wp-hook.php:365 { …}
/html/wordpress/wp-includes/plugin.php:570 { …}
/html/wordpress/wp-includes/class-wp.php:838 { …}
/html/wordpress/wp-includes/functions.php:1343 { …}
/html/wordpress/wp-blog-header.php:16 { …}
/html/wordpress/index.php:17 { …}
}
}
]
2026-02-21 13:51:54+0100 [debug] $backTrace = #0 /html/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(454): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 /html/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/Base.php(1384): CRM_Core_Error::handleUnhandledException(Object(CRM_Core_Exception))
#2 /html/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(47): CRM_Utils_System_Base->handleUnhandledException(Object(CRM_Core_Exception))
#3 /html/wordpress/wp-content/plugins/civicrm/civicrm.php(1316): CRM_Core_Invoke::invoke((Array:3))
#4 /html/wordpress/wp-content/plugins/civicrm/includes/civicrm.basepage.php(425): CiviCRM_For_WordPress->invoke()
#5 /html/wordpress/wp-includes/class-wp-hook.php(341): CiviCRM_For_WordPress_Basepage->basepage_handler(Object(WP))
#6 /html/wordpress/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, (Array:1))
#7 /html/wordpress/wp-includes/plugin.php(570): WP_Hook->do_action((Array:1))
#8 /html/wordpress/wp-includes/class-wp.php(838): do_action_ref_array("wp", (Array:1))
#9 /html/wordpress/wp-includes/functions.php(1343): WP->main("")
#10 /html/wordpress/wp-blog-header.php(16): wp()
#11 /html/wordpress/index.php(17): require("/html/wordpress/wp-blog-header.php")
#12 {main}
After reverting to CiviSEPA 1.12.3, everything went well again - reproducable on that system.
However, on another system, with similar (but not identical) configuration, this problem did not occur.
Please keep an eye on that.
After updating from 1.12.3 to 1.13., the public viewing of mailing by non-logged-in viewers isn't working anymore.
ConfigAndLog shows:
After reverting to CiviSEPA 1.12.3, everything went well again - reproducable on that system.
However, on another system, with similar (but not identical) configuration, this problem did not occur.
Please keep an eye on that.