-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
Error after upgrade: Uncaught Error: Class 'Pelago\Emogrifier\CssInliner' #2925
Comments
The repository no longer has the /lib/Pelago directory, but the release version contains it. Download the archive and put it there or use Composer. You face this issue because you used the git command and what you had local was synchronized with remote. |
how did you upgrade? git a git pull from a development branch? IMHO don't use development branches, use a release tag, better if with composer. anyway |
Thank you very much, the error is now gone, but I still see HTML code instead of real email, for all emails since upgrade.
I've upgraded via "as it turns out, outdated" automatic script by OpenMage team, now reuploaded files from https://github.com/OpenMage/magento-lts/releases/tag/v19.4.21 |
mmm i've never seen that script, i'll look for it, maybe it broke because our development branches are very different from the released ones. |
Yes, they've since decided to drop it OpenMage/migrate#6 But the issue was there with HTML emails right after upgrade, then same with dev branch and .ZIP Anyhow, I'll probably create another ticket for HTML issue, thank you for your help |
ah, weird I'm not subscribed to that repo, BTW it seems very outdated, I wouldn't use it |
@addison74 @djixas I've created this PR to discontinue the migration script, vote for it if you feel it's correct ;-) |
Yeah, sadly, this is how "they got me", as it was the top recommendation at https://www.openmage.org/magento-lts/migration-guide.html
I'm fairly new to Github, sorry, do I just +1 with comment or? |
can I ask you where is that page linked? cause I can't find a link to it. that page, to me, should be complete redone, i woulnd't use (and i didn't when i migrated my shops) any of those methods. |
that's enough at the moment :-) |
@fballiano Can you describe the method you used to migrate, perhaps in a form that we can put on the website or in a README? |
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
Line 200 -
$emogrifier = \Pelago\Emogrifier\CssInliner::fromHtml($html)
The text was updated successfully, but these errors were encountered: