Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to undefined method DOMDocument::hasAttribute() #61

Closed
GaneshKandu opened this issue Oct 28, 2017 · 2 comments
Closed

Call to undefined method DOMDocument::hasAttribute() #61

GaneshKandu opened this issue Oct 28, 2017 · 2 comments
Labels

Comments

@GaneshKandu
Copy link

GaneshKandu commented Oct 28, 2017

Call to undefined method DOMDocument::hasAttribute()

Hi

i am Getting Fetal Error in Akaunting 1.0.6 on pdf downloads
https://akaunting.com/forum/discussion/general/error-when-creating-pdf

Call to undefined method DOMDocument::hasAttribute() in 
vendor/dompdf/dompdf/src/Css/Stylesheet.php on line 970

error_log.txt
laravel.log

system

  • Apache/2.2.31
  • PHP
    • 5.6
    • 7.0
    • 7.1

php extenstion enabled

  • bcmath
  • bz2
  • calendar
  • Core
  • ctype
  • curl
  • date
  • dba
  • dom
  • exif
  • fileinfo
  • filter
  • ftp
  • gd
  • gettext
  • gmp
  • hash
  • iconv
  • imap
  • intl
  • json
  • ldap
  • libxml
  • mbstring
  • mcrypt
  • mysqli
  • openssl
  • pcntl
  • pcre
  • PDO
  • pdo_mysql
  • pdo_sqlite
  • Phar
  • posix
  • Reflection
  • session
  • shmop
  • SimpleXML
  • soap
  • sockets
  • SPL
  • sqlite3
  • standard
  • sysvsem
  • sysvshm
  • tidy
  • tokenizer
  • wddx
  • xml
  • xmlreader
  • xmlrpc
  • xmlwriter
  • xsl
  • Zend OPcache
  • zip
  • zlib
@denisdulici
Copy link
Member

Thanks Ganesh for the details. It seems to be a generic problem of DomPDF. Looking for a solution and/or another pdf library.

@denisdulici
Copy link
Member

Here I have suggested the fix to Dompdf dompdf/dompdf#1584

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants