We recently upgraded a site to use Commerce 4 and version 2 of this plugin. Now, when a user clicks on the link to view their PDF tickets (generated by craft.events.getOrderPdfUrl(order)) we are seeing the above error.
When clicking on the link generated by craft.events.getOrderPdfUrl(order) you will see the above error
Craft CMS version
4.3.10
Plugin version
2.0.0-beta.9
Multi-site?
Yes
Additional context
List of other plugins installed:
AsyncQueue 3.1.0
Category Groups Field 2.0.1
Colour Swatches 4.2.1
Cookies 4.0.0
Craft Commerce 4.2.5.1
Disqus 4.0.0
Element API 3.0.1.1
Environment Label 4.0.2
Events 2.0.0-beta.9
Freeform 4.0.17
Navigation 2.0.16
oEmbed 2.3.0
PDF Transform 2.0.1
Read Only 1.0.5
Redactor 3.0.3
Redirect Manager 2.0.0
Section Field 2.0.1
SEOmatic 4.0.20
Stripe for Craft Commerce 3.1.0
Super Table 3.0.7
Tags 2.0.0
User Group Field 3.0.1
Describe the bug
We recently upgraded a site to use Commerce 4 and version 2 of this plugin. Now, when a user clicks on the link to view their PDF tickets (generated by
craft.events.getOrderPdfUrl(order)
) we are seeing the above error.Here is the stacktrace:
Steps to reproduce
craft.events.getOrderPdfUrl(order)
you will see the above errorCraft CMS version
4.3.10
Plugin version
2.0.0-beta.9
Multi-site?
Yes
Additional context
List of other plugins installed:
AsyncQueue 3.1.0 Category Groups Field 2.0.1 Colour Swatches 4.2.1 Cookies 4.0.0 Craft Commerce 4.2.5.1 Disqus 4.0.0 Element API 3.0.1.1 Environment Label 4.0.2 Events 2.0.0-beta.9 Freeform 4.0.17 Navigation 2.0.16 oEmbed 2.3.0 PDF Transform 2.0.1 Read Only 1.0.5 Redactor 3.0.3 Redirect Manager 2.0.0 Section Field 2.0.1 SEOmatic 4.0.20 Stripe for Craft Commerce 3.1.0 Super Table 3.0.7 Tags 2.0.0 User Group Field 3.0.1