Print dialog displays multiple duplicate pages
Closed this issue · 5 comments
To replicate, activate the Membership Card Add-On, add your shortcode to a page, publish, and attempt to print the membership card, the print prompt shows a duplicated page to be printed, instead of displaying only one page.
I deactivated all plugins except PMPro and Membership Card Add-On. I was able to replicate this consistently on my live test site, but not on my local test site.
WordPress 6.1.1 PMPro Membership Card 1.1.1 PMPro 2.8.1 Memberlite 4.5.4.1 PHP 8.0.26
For moderators only: #470594
We've been testing this further but getting inconsistent results (some experience the issue some don't).
Shortcode used: [pmpro_membership_card qr_code=”true” qr_data=”email” print_size=”all”]
Browser used: Chrome in both cases
Tested both on a live site (apache) and a local site (nginx)
The same set of membership card duplicates over multiple pages.
Adding a note here, I'm still unable to replicate this issue but trying to - any information to help us replicate this issue 100% of the time may help us figure out why it's happening.
Moderators Only: #481010
On Chrome.
Shortcode: [pmpro_membership_card qr_code=”true” print_size=”small”]
.
Has the code snippet to adjust the QR size and add extra user fields to the card.
Using CSS to hide some of the fields I don’t need on the card '(membership level, level name, member since).
I'm unable to replicate this issue, but a customer (ticket ID 483978) is experiencing it.
Most likely this is because their theme does not have a print stylesheet set up to exclude other background or site frame elements.