I have installed email attachment extension https://github.com/manishjoy1993/email-attachment in magento 2.2.8 version and it throw some errors. Errors mentioned in following image. And there are some solutions available on internet but they are for 2.3.x version but I have installed 2.2.8

In magneto 2.2.8,it throw following error enter image description here

I also installed magento 2.2.3 version,for this I have applied code from webkul

https://webkul.com/blog/attach-pdf-file-magento-2-email/ This webkul link works fine in 2.2.3 but not in magento 2.2.8

  • 1
    run setup:di:compile and error will gone – Ramkishan Suthar Aug 24 '19 at 19:03
  • @niraj patel have you tried with ramkrishna suggestion? max problem will solve please let me know if still issue facing? – Nagaraju K Aug 24 '19 at 19:09
  • But I have installed magento 2.2.8 in xampp in my local machine ,so it throws allow memory size error in cmd when I run setup:di:compile so I have to increase memory size for that – Niraj Patel Aug 24 '19 at 19:12
  • @NagarajuKasa still facing same error – Niraj Patel Aug 24 '19 at 19:25
  • php -d set_time_limit=3600 -d memory_limit=5G bin/magento setup:di:compile – Nagaraju K Aug 24 '19 at 20:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.