CssToInlineStyles icon indicating copy to clipboard operation
CssToInlineStyles copied to clipboard

Undefined property: DOMDocument::$documentElement

Open m-shariatzadeh opened this issue 2 years ago • 0 comments

Hi, i have a problem with this package on shared-hosting while i haven't this problem on localhost

gives me the error:

{ "message": "Undefined property: DOMDocument::$documentElement", "exception": "ErrorException", "file": "/home/h189025/public_html/system/vendor/tijsverkoyen/css-to-inline-styles/src/CssToInlineStyles.php", "line": 132, "trace": [ { "file": "/home/h189025/public_html/system/vendor/tijsverkoyen/css-to-inline-styles/src/CssToInlineStyles.php", "line": 132, "function": "handleError", "class": "Illuminate\Foundation\Bootstrap\HandleExceptions", "type": "->" }, { "file": "/home/h189025/public_html/system/vendor/tijsverkoyen/css-to-inline-styles/src/CssToInlineStyles.php", "line": 50, "function": "getHtmlFromDocument", "class": "TijsVerkoyen\CssToInlineStyles\CssToInlineStyles", "type": "->" }, { "file": "/home/h189025/public_html/system/vendor/laravel/framework/src/Illuminate/Mail/Markdown.php", "line": 74, "function": "convert", "class": "TijsVerkoyen\CssToInlineStyles\CssToInlineStyles", "type": "->" }, .... ] }

Screenshot (391)

please help...

m-shariatzadeh avatar Aug 05 '22 09:08 m-shariatzadeh