Magento 2 Add Image Upload in Configuration issue “The base directory to upload file is not specified”

I am new in MAgento2, and I installed custom module of Magento 2.3 to add image file upload configuration in system.xml. But i encountred this isuue when i try to save the config : system.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Config:etc/system_file.xsd”> <system> <tab id=”mageplaza” translate=”label” sortOrder=”10″> <label>Mageplaza</label> </tab> <section id=”helloworld” translate=”label” sortOrder=”130″ showInDefault=”1″ showInWebsite=”1″ showInStore=”1″> <class>separator-top</class>…

Wishlist function does not work – Item (Magento\Wishlist\Model\Item) with the same ID “5192” already exists

We are having an issues with wishlist function. Products are not added to the wishlist. In system.log and exception.log we get the following messages, when a customer click on “add to wishlist” in frontend: system.log [2020-01-26 17:32:00] main.CRITICAL: Item (Magento\Wishlist\Model\Item) with the same ID “5192” already exists. [] [] Exception.log [2020-01-26 17:20:08] main.CRITICAL: The product…

Magento 2: unit test of a private method into a command

I’ve developed a new command and it works fine. class TemplateHintsStatusCommand extends Command { .. /** * @var ScopeConfigInterface */ private $scopeConfig; /** * @var ReinitableConfigInterface */ private $reinitableConfig; /** * Initialize dependencies. * * @param ScopeConfigInterface $scopeConfig * @param ReinitableConfigInterface $reinitableConfig */ public function __construct( ScopeConfigInterface $scopeConfig, ReinitableConfigInterface $reinitableConfig ) { parent::__construct(); $this->scopeConfig =…