Upgrade magento 2.2.3 to 2.2.8 fatal error Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How to send transactional mail with csv/excel attachment in magento 2How to call model in UpgradeData Magento 2Magento2: SearchCriteria OR/ANDAdd CC to all transactional emails in Magento 2Fatal error: Uncaught Error: Call to undefined method getDirectoryRead()Fatal error: Uncaught Error: Call to undefined method addAttributeToSelect()search not working - Fatal error - magento 2Fatal error: Uncaught Error: Call to undefined method getScope()Magento 2.2.3 CE unable to add/remove item from wishlist?Magento 2 Fatal error: Uncaught Error: Call to undefined method MagentoFrameworkSessionSaveHandlerNative::write()
Can't figure this one out.. What is the missing box?
Do working physicists consider Newtonian mechanics to be "falsified"?
Is above average number of years spent on PhD considered a red flag in future academia or industry positions?
3 doors, three guards, one stone
What LEGO pieces have "real-world" functionality?
What items from the Roman-age tech-level could be used to deter all creatures from entering a small area?
Single author papers against my advisor's will?
How is simplicity better than precision and clarity in prose?
Limit for e and 1/e
Why is "Captain Marvel" translated as male in Portugal?
Simulating Exploding Dice
How did the aliens keep their waters separated?
Need a suitable toxic chemical for a murder plot in my novel
What computer would be fastest for Mathematica Home Edition?
Why is there no army of Iron-Mans in the MCU?
Can a zero nonce be safely used with AES-GCM if the key is random and never used again?
Stop battery usage [Ubuntu 18]
Fishing simulator
The following signatures were invalid: EXPKEYSIG 1397BC53640DB551
Who can trigger ship-wide alerts in Star Trek?
Can smartphones with the same camera sensor have different image quality?
How can I protect witches in combat who wear limited clothing?
What do you call a plan that's an alternative plan in case your initial plan fails?
Why does tar appear to skip file contents when output file is /dev/null?
Upgrade magento 2.2.3 to 2.2.8 fatal error
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?How to send transactional mail with csv/excel attachment in magento 2How to call model in UpgradeData Magento 2Magento2: SearchCriteria OR/ANDAdd CC to all transactional emails in Magento 2Fatal error: Uncaught Error: Call to undefined method getDirectoryRead()Fatal error: Uncaught Error: Call to undefined method addAttributeToSelect()search not working - Fatal error - magento 2Fatal error: Uncaught Error: Call to undefined method getScope()Magento 2.2.3 CE unable to add/remove item from wishlist?Magento 2 Fatal error: Uncaught Error: Call to undefined method MagentoFrameworkSessionSaveHandlerNative::write()
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Hi I upgrade my magento 2.2.3 to 2.2.8 where I have some custom functionality for emails.
After upgrading am getting
Fatal error: Uncaught Error: Call to undefined method MagentoFrameworkMailMessageInterceptor::clearFrom()
Fatal error: Uncaught Error: Call to undefined method MagentoFrameworkMailMessageInterceptor::getRawContent()
I have made plugin for public function MagentoEmailModelTransport
beforeSendMessage(MagentoEmailModelTransport $subject)
$message = $subject->getMessage()
$body = $message->getBody()->getRawContent();
$message->clearFrom();
$message->setBody($bodyNew);
its MagentoFrameworkMailMessage
magento2 plugin magento2.2.3 magento-upgrade magento2.2.8
add a comment |
Hi I upgrade my magento 2.2.3 to 2.2.8 where I have some custom functionality for emails.
After upgrading am getting
Fatal error: Uncaught Error: Call to undefined method MagentoFrameworkMailMessageInterceptor::clearFrom()
Fatal error: Uncaught Error: Call to undefined method MagentoFrameworkMailMessageInterceptor::getRawContent()
I have made plugin for public function MagentoEmailModelTransport
beforeSendMessage(MagentoEmailModelTransport $subject)
$message = $subject->getMessage()
$body = $message->getBody()->getRawContent();
$message->clearFrom();
$message->setBody($bodyNew);
its MagentoFrameworkMailMessage
magento2 plugin magento2.2.3 magento-upgrade magento2.2.8
add a comment |
Hi I upgrade my magento 2.2.3 to 2.2.8 where I have some custom functionality for emails.
After upgrading am getting
Fatal error: Uncaught Error: Call to undefined method MagentoFrameworkMailMessageInterceptor::clearFrom()
Fatal error: Uncaught Error: Call to undefined method MagentoFrameworkMailMessageInterceptor::getRawContent()
I have made plugin for public function MagentoEmailModelTransport
beforeSendMessage(MagentoEmailModelTransport $subject)
$message = $subject->getMessage()
$body = $message->getBody()->getRawContent();
$message->clearFrom();
$message->setBody($bodyNew);
its MagentoFrameworkMailMessage
magento2 plugin magento2.2.3 magento-upgrade magento2.2.8
Hi I upgrade my magento 2.2.3 to 2.2.8 where I have some custom functionality for emails.
After upgrading am getting
Fatal error: Uncaught Error: Call to undefined method MagentoFrameworkMailMessageInterceptor::clearFrom()
Fatal error: Uncaught Error: Call to undefined method MagentoFrameworkMailMessageInterceptor::getRawContent()
I have made plugin for public function MagentoEmailModelTransport
beforeSendMessage(MagentoEmailModelTransport $subject)
$message = $subject->getMessage()
$body = $message->getBody()->getRawContent();
$message->clearFrom();
$message->setBody($bodyNew);
its MagentoFrameworkMailMessage
magento2 plugin magento2.2.3 magento-upgrade magento2.2.8
magento2 plugin magento2.2.3 magento-upgrade magento2.2.8
edited 2 days ago
Daniel_12
asked 2 days ago
Daniel_12Daniel_12
18310
18310
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
buddy I just check that class I'm also gonna share as well that class MagentoFrameworkMailMessage;
<?php
/**
* Mail Message
*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace MagentoFrameworkMail;
class Message extends Zend_Mail implements MessageInterface
/**
* @param string $charset
*/
public function __construct($charset = 'utf-8')
parent::__construct($charset);
$this->setHeaderEncoding(Zend_Mime::ENCODING_BASE64);
/**
* Message type
*
* @var string
*/
protected $messageType = self::TYPE_TEXT;
/**
* Set message body
*
* @param string $body
* @return $this
*/
public function setBody($body)
return $this->messageType == self::TYPE_TEXT ? $this->setBodyText($body) : $this->setBodyHtml($body);
/**
* Set message body
*
* @return string
*/
public function getBody()
return $this->messageType == self::TYPE_TEXT ? $this->getBodyText() : $this->getBodyHtml();
/**
* Set message type
*
* @param string $type
* @return $this
*/
public function setMessageType($type)
$this->messageType = $type;
return $this;
so as you can see that there is no any function getRawContent()
or clearFrom()
so they may updated that as well in the updated version thats why its not working
this is really bad :(
– Daniel_12
2 days ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269938%2fupgrade-magento-2-2-3-to-2-2-8-fatal-error%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
buddy I just check that class I'm also gonna share as well that class MagentoFrameworkMailMessage;
<?php
/**
* Mail Message
*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace MagentoFrameworkMail;
class Message extends Zend_Mail implements MessageInterface
/**
* @param string $charset
*/
public function __construct($charset = 'utf-8')
parent::__construct($charset);
$this->setHeaderEncoding(Zend_Mime::ENCODING_BASE64);
/**
* Message type
*
* @var string
*/
protected $messageType = self::TYPE_TEXT;
/**
* Set message body
*
* @param string $body
* @return $this
*/
public function setBody($body)
return $this->messageType == self::TYPE_TEXT ? $this->setBodyText($body) : $this->setBodyHtml($body);
/**
* Set message body
*
* @return string
*/
public function getBody()
return $this->messageType == self::TYPE_TEXT ? $this->getBodyText() : $this->getBodyHtml();
/**
* Set message type
*
* @param string $type
* @return $this
*/
public function setMessageType($type)
$this->messageType = $type;
return $this;
so as you can see that there is no any function getRawContent()
or clearFrom()
so they may updated that as well in the updated version thats why its not working
this is really bad :(
– Daniel_12
2 days ago
add a comment |
buddy I just check that class I'm also gonna share as well that class MagentoFrameworkMailMessage;
<?php
/**
* Mail Message
*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace MagentoFrameworkMail;
class Message extends Zend_Mail implements MessageInterface
/**
* @param string $charset
*/
public function __construct($charset = 'utf-8')
parent::__construct($charset);
$this->setHeaderEncoding(Zend_Mime::ENCODING_BASE64);
/**
* Message type
*
* @var string
*/
protected $messageType = self::TYPE_TEXT;
/**
* Set message body
*
* @param string $body
* @return $this
*/
public function setBody($body)
return $this->messageType == self::TYPE_TEXT ? $this->setBodyText($body) : $this->setBodyHtml($body);
/**
* Set message body
*
* @return string
*/
public function getBody()
return $this->messageType == self::TYPE_TEXT ? $this->getBodyText() : $this->getBodyHtml();
/**
* Set message type
*
* @param string $type
* @return $this
*/
public function setMessageType($type)
$this->messageType = $type;
return $this;
so as you can see that there is no any function getRawContent()
or clearFrom()
so they may updated that as well in the updated version thats why its not working
this is really bad :(
– Daniel_12
2 days ago
add a comment |
buddy I just check that class I'm also gonna share as well that class MagentoFrameworkMailMessage;
<?php
/**
* Mail Message
*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace MagentoFrameworkMail;
class Message extends Zend_Mail implements MessageInterface
/**
* @param string $charset
*/
public function __construct($charset = 'utf-8')
parent::__construct($charset);
$this->setHeaderEncoding(Zend_Mime::ENCODING_BASE64);
/**
* Message type
*
* @var string
*/
protected $messageType = self::TYPE_TEXT;
/**
* Set message body
*
* @param string $body
* @return $this
*/
public function setBody($body)
return $this->messageType == self::TYPE_TEXT ? $this->setBodyText($body) : $this->setBodyHtml($body);
/**
* Set message body
*
* @return string
*/
public function getBody()
return $this->messageType == self::TYPE_TEXT ? $this->getBodyText() : $this->getBodyHtml();
/**
* Set message type
*
* @param string $type
* @return $this
*/
public function setMessageType($type)
$this->messageType = $type;
return $this;
so as you can see that there is no any function getRawContent()
or clearFrom()
so they may updated that as well in the updated version thats why its not working
buddy I just check that class I'm also gonna share as well that class MagentoFrameworkMailMessage;
<?php
/**
* Mail Message
*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace MagentoFrameworkMail;
class Message extends Zend_Mail implements MessageInterface
/**
* @param string $charset
*/
public function __construct($charset = 'utf-8')
parent::__construct($charset);
$this->setHeaderEncoding(Zend_Mime::ENCODING_BASE64);
/**
* Message type
*
* @var string
*/
protected $messageType = self::TYPE_TEXT;
/**
* Set message body
*
* @param string $body
* @return $this
*/
public function setBody($body)
return $this->messageType == self::TYPE_TEXT ? $this->setBodyText($body) : $this->setBodyHtml($body);
/**
* Set message body
*
* @return string
*/
public function getBody()
return $this->messageType == self::TYPE_TEXT ? $this->getBodyText() : $this->getBodyHtml();
/**
* Set message type
*
* @param string $type
* @return $this
*/
public function setMessageType($type)
$this->messageType = $type;
return $this;
so as you can see that there is no any function getRawContent()
or clearFrom()
so they may updated that as well in the updated version thats why its not working
answered 2 days ago
Asad KhanAsad Khan
1919
1919
this is really bad :(
– Daniel_12
2 days ago
add a comment |
this is really bad :(
– Daniel_12
2 days ago
this is really bad :(
– Daniel_12
2 days ago
this is really bad :(
– Daniel_12
2 days ago
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269938%2fupgrade-magento-2-2-3-to-2-2-8-fatal-error%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown