cancel
Showing results for 
Search instead for 
Did you mean: 

Email error

Email error

Hi,

 

First off I was getting this email error in the top of every mail

CSS inlining error: Warning: DOMXPath::query(): Invalid predicate in /var/www/domain.com/public_html/vendor/pelago/emogrifier/Classes/Emogrifier.php on line 269

Then I read that the solution is to insert this into composer.json "require-dev" area

"pelago/emogrifier": "1.2.0 as 0.1.1"

 

But now I'm getting this error?!

CSS inlining error: DOMXPath::query(): Invalid expression in selector >> .block-search .action.search[disabled] << in /var/www/domain.com/public_html/vendor/pelago/emogrifier/Classes/Emogrifier.php on line 370

Can somebody tell me how I fix this issue?

 

Sincerly,

Daniel

 

4 REPLIES 4

Re: Email error

Coild you please try with composer update command from root of magento

Run command,
composer update

Run deploy command and clear cache.
Let me know if you faced error.

If issue solved click kudos/ accept as solutions.
If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: Email error

There was no errors in the terminal but it did not resolve the problem :/

Re: Email error

Am Facing the same issue on 2.2.4

CSS inlining error: DOMXPath::query(): Invalid expression in selector -- .block-search .action.search[disabled] -- in /var/www/html/store/vendor/pelago/emogrifier/Classes/Emogrifier.php on line 372

 

any solution

Re: Email error

Re: CSS inlining error: Warning: DOMXPath::query(): Invalid expression in /var/www/html/dev.instance
CSS inlining error: DOMXPath::query(): Invalid expression in selector >> @-webkit-keyframes bounceIn << in /var/www/html/vendor/pelago/emogrifier/src/Emogrifier.php on line 530

 

and current magento version 2.3.2

 

so please help any suggestion