Print Flyer button not working
-
We are using WP-Property v. 1.42.4
When I go to a property page and click on the Print Flyer button I get this error:
Warning: Division by zero in /wp-content/plugins/wp-property/third-party/tcpdf/tcpdf.php on line 7220
Funny thing is that when the client mentioned it to me, I was able to regenerate the pdf flyers on the back end and it worked. Then within 1 hour it didn’t. I tried to regenerate the flyers again but it still fails.
I went here: https://www.yourwhiteknight.com/properties/lucky-ln-74-lucky-ln/ and clicking the button took me here: https://www.yourwhiteknight.com/wp-content/uploads/2016/05/lucky-ln-74-lucky-ln.pdf
You can see the the PDF is still there but if you try to get there via the Flyer button it just throws an error at the top of the screen. I tried to go to that line of code in the error but the file isn’t that big.
This is the code for the Flyer button:
<a class="flyer hover" target="Flyer" onclick="location.href='https://www.yourwhiteknight.com/properties/lucky-ln-74-lucky-ln/?wpp_flyer_create=true';return false;" href="https://www.yourwhiteknight.com/properties/lucky-ln-74-lucky-ln/?wpp_flyer_create=true">Flyer</a>
Any suggestions? I have tried disabling the other plugins.
- The topic ‘Print Flyer button not working’ is closed to new replies.