PDF Export button doesn’t work
-
After the new update, the button for exporting the customer list pdf in each product doesn’t work
-
Hi @angyboss20,
Are you able to check if you have any javascript errors in your console? If so can you paste them here?
Here you go.
?v=2.0:6 WebSocket connection to ‘wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data’ failed: Error during WebSocket handshake: Unexpected response code: 403
g @ ?v=2.0:6
extension.js:24 onMessage extension
ial.js:425 Clean the cache of the scraper (new onComplete event)
admin.js?ver=20190710012259:216 [wc-product-customer-list-pro] AJAX operation took about 1.122 seconds.
8virtual-fs.js:20 Uncaught Error: File ‘Roboto-Regular.ttf’ not found in virtual file system
at t.e.readFileSync (virtual-fs.js:20)
at Object.P.openSync (index.js:43)
at Function.value (font_factory.js:13)
at n.font (fonts.js:49)
at n.r.provideFont (PDFDocument.js:51)
at t.<anonymous> (TextInlines.js:110)
at Array.forEach (<anonymous>)
at t.e.measure (TextInlines.js:105)
at t.e.buildInlines (TextInlines.js:66)
at t.e.measureLeaf (DocMeasure.js:134)Hi @angyboss20,
thanks for the update. It seems there’s a lot of things going on there. Can you disable all plugins except for mine and woocommerce to see if that fixes anything?
I did disable all the plugins except for Product Customer List for WooCommerce and Woocommerce but the button of the pdf still not working.
When you do that what are you seeing in the console?
Uncaught Error: File ‘Roboto-Regular.ttf’ not found in virtual file system
at t.e.readFileSync (virtual-fs.js:20)
at Object.P.openSync (index.js:43)
at Function.value (font_factory.js:13)
at n.font (fonts.js:49)
at n.r.provideFont (PDFDocument.js:51)
at t.<anonymous> (TextInlines.js:110)
at Array.forEach (<anonymous>)
at t.e.measure (TextInlines.js:105)
at t.e.buildInlines (TextInlines.js:66)
at t.e.measureLeaf (DocMeasure.js:134)ONe last thing to try, when your plugins are disabled, can you try switching theme to a default one like twentynineteen?
Same errors:
Uncaught Error: File ‘Roboto-Regular.ttf’ not found in virtual file system
at t.e.readFileSync (virtual-fs.js:20)
at Object.P.openSync (index.js:43)
at Function.value (font_factory.js:13)
at n.font (fonts.js:49)
at n.r.provideFont (PDFDocument.js:51)
at t.<anonymous> (TextInlines.js:110)
at Array.forEach (<anonymous>)
at t.e.measure (TextInlines.js:105)
at t.e.buildInlines (TextInlines.js:66)
at t.e.measureLeaf (DocMeasure.js:134)And when you say the pdf button doesn’t work, does it appear? What happens exactly?
The button stop working after the last update.
But what do you mean by “stop working”? WHat exactly is happening?
When I try to export the list of customer in each product with the PDF button, it is not working. The page stayed the same and in the console it appears the error that I copied and pasted in the previous messages.
Hope is clear, but if not let me know what exactly you need to know
@angyboss20 What I need to know is your definition of “not working”. When you click on the button, nothing happens at all? Does it open another tab? Do you get an error?
@kokomoweb What is happening is:
I go to one product page, scroll down, click the PDF button and nothing happen.
When I click on the PDF button, the console shows this error:
virtual-fs.js:20 Uncaught Error: File ‘Roboto-Regular.ttf’ not found in virtual file system
at t.e.readFileSync (virtual-fs.js:20)
at Object.P.openSync (index.js:43)
at Function.value (font_factory.js:13)
at n.font (fonts.js:49)
at n.r.provideFont (PDFDocument.js:51)
at t.<anonymous> (TextInlines.js:110)
at Array.forEach (<anonymous>)
at t.e.measure (TextInlines.js:105)
at t.e.buildInlines (TextInlines.js:66)
at t.e.measureLeaf (DocMeasure.js:134)I hope it’s clear the issue now
Hey everyone, we found the issue and will be pushing a fix shortly. Thank-you for your patience!
The topic ‘PDF Export button doesn’t work’ is closed to new replies.