Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

TypeError: Cannot assign to read only property

$
0
0

Replies: 0

Receiving this error when clicking on the button to generate a .pdf on a custom post type. Look to be an issue with the full page pdf as when this is disabled it is able to generate a page.

TypeError: Cannot assign to read only property ‘className’ of object ‘#<SVGSVGElement>’ in html2canvas.js.

PHP Version 7.2.19

                }
            });
            anonymousReplacedElement.className = PSEUDO_HIDE_ELEMENT_CLASS_BEFORE + " " + PSEUDO_HIDE_ELEMENT_CLASS_AFTER;
            clone.className +=
                pseudoElt === PseudoElementType.BEFORE
                    ? " " + PSEUDO_HIDE_ELEMENT_CLASS_BEFORE
                    : " " + PSEUDO_HIDE_ELEMENT_CLASS_AFTER;
            return anonymousReplacedElement;
  • This topic was modified 14 minutes ago by whebbworks. Reason: more information

Viewing all articles
Browse latest Browse all 59525

Trending Articles