Error while upgrading from 2.3.3 to 2.3.4

After typing below in CLI I ran composer update. composer require magento/product-community-edition 2.3.4 –no-update Loading composer repositories with package information Updating dependencies (including require-dev) The “http://repo.packagist.org/p/zendframework/zend-barcode%24ddcc1cb490598ed29ea4ff3bb37037db35d582ff2b08a096bef4c88dd8e572e5.json” file could not be downloaded: failed to open stream: Connection refused http://repo.packagist.org could not be fully loaded, package information was loaded from the local cache and may be out…

Extra parameters passed to parent construct error after upgrade

After upgrading Magento 2 from 2.3.1 to 2.3.3, while running di:compile, it throws following error. Extra parameters passed to parent construct: $messageFactory, $emailMessageInterfaceFactory, $mimeMessageInterfaceFactory, $mimePartInterfaceFactory, $addressConverter. File: /var/www/html/aao2/store/vendor/magento/module-newsletter/Model/Queue/TransportBuilder.php Total Errors Count: 1

What is the difference between getStoredData and getData?

I’m adding some custom logic in the admin when the customer is saved. I’ve created an observer on the customer_save_before event. I am using the following code to get the customer: /** @var \Magento\Customer\Model\Customer $customer */ $customer = $observer->getEvent()->getCustomer(); While I was relying on $customer->getGroupId() to get the customer group ID for example I noticed…

Add custom locale to the allowed locale list variable in Magento\Framework\Locale\Config

I need to update the allowed locale list with my custom language in magento 2.3.3. For that, I have overridden the Magento\Framework\Locale\Config class in my custom module. di.xml: <preference for=”Magento\Framework\Locale\Config” type=”Vendor\Module\Locale\Config” /> Config.php: <?php namespace Vendor\Module\Locale; class Config extends \Magento\Framework\Locale\Config { protected $_test = [ ‘es_US’ ]; public function __construct(array $data = []) { $data[‘allowedLocales’]…

View Magento’s Rest API generated guest-cart in Store Website using URL with guest-cart id

I have a requirement to show guest-cart items(created and items added using Magento rest API) on the Magento store website to initiate checkout from the website. I tried http://storeurl.com/checkout/?cartId=asdfasdf with the guest-cart id that I generated using Rest API. But this doesn’t work, It shows an empty cart. Can anyone help me with this? Or…