20

please run below command in terminal Magento root path : bin/magento module:disable Magento_TwoFactorAuth bin/magento cache:flush


4

Mark Shust created a module for this purpose which is developer-friendly while keeping secure defaults in place; ref his comments about it


3

Replace your magento module with this one https://github.com/dotmailer/dotmailer-magento2-extension


2

You need to run below command to disable MSI modules in Magento 2.3+ versions. To disable modules run below command php bin/magento module:disable Magento_Inventory Magento_InventoryAdminUi Magento_InventoryApi Magento_InventoryGraphQl Magento_InventoryBundleProduct Magento_InventoryBundleProductAdminUi Magento_InventoryCache ...


2

Go to app/bootstrap.php and check if below lines are commented then un-comment that lines and run compile command again. error_reporting(E_ALL); ini_set('display_errors', 1); Hope this will help you!


2

There is no straight forward answer to pass diff image types. Because the way of doing resizing involves all the Themes, Stores, and Image types around 40-50 types (which are available in every theme file Namespace/Themename/etc/view.xml). This runs for all the product images which will obviously consume more time. One thing is to remove the unnecessary ...


2

You may have seen the command bin/magento hits a Magento model Magento\Framework\Console\Cli from within magento script. However, this model is not instantiated with the objectmanager but rather using the raw php command new then, following the code, you will find the function \Symfony\Component\Console\Application::doRunCommand. This function does not ...


2

I found a way, by adding a system configuration to Enable/Disable it. I made a module, you can download it with composer: composer require wolfsellers/module-enabledisabletfa Or check it at: https://github.com/wolfsellers/module-enabledisabletfa


2

Delete composer autoload (vendor/autoload.php) as suggested by @JELLEJ and type composer install in magento root folder to recreate it. It worked for me on Magento 2.3.5-p1 (but should work in other versions).


2

if you want to install version using CLI these are basic steps you should follow. check if elastic server is installed, using : **curl elastic-server-ip:port** //example -> curl localhost:9200 it will output server info if started otherwise start the server afte this, download Magento2.4 using composer mkdir DIRECTORY_NAME_WHERE_YOU_WANT_TO_INSTALL cd ...


1

Example of CLI command install : php bin/magento setup:install --base-url="http://yourdomaine.com/" --base-url-secure="http://yourdomaine.com/" --backend-frontname="admin" --session-save="files" --db-host="localhost" --db-name="your-db-name" --db-user="your-db-user" --db-password="...


1

Run this commands, deleting files/module manually not a good approach. composer remove dotmailer/dotmailer-magento2-extension composer require dotmailer/dotmailer-magento2-extension -vvv mv generated generated_dotfix php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento s:s:d -s


1

It does seem the command line does not see any of your parameters. The amqp parameters I believe are not required. Therefore, it seems to be a red herrings to think these are missing. I'd rather make sure your base-url parameter has quote though: Also, you seem to have missed some parameters like database password, the below might work: php bin/magento setup:...


1

Trying with overrides, plugins etc will not work, but there is a workaround. You can create a shell script and do not use the php bin/magento setup:di:compile command directly. EX: compile.sh php bin/magento setup:di:compile php yourscript.php And you can execute ./compile.sh every time you need to run setup:di:compile Another not way (not a good way though)...


1

This is related to v2.3.x I would assume not, looking at the code of Magento 2 ImagesResizeCommand. You might need to create a new custom module to override function execute() and possibly target information inside $resizeInfo[] array, for example filename. (For example, you might create new custom arguments to the constructor in your module and target ...


1

Declaration of Theme Logo Go to app/design/frontend/Demo/Mytheme/Magento_Theme/layout and create a default.xml file. Paste the following code in it: <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="logo"> &...


1

Your code is correct and must be inserted in /Magento_Theme/layout/default.xml It seems that your static image is in a less folder(?), is your static file well generated? You can read https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/theme-create.html#theme_logo


1

please check again what the version PHP is


1

Try to run /opt/plesk/php/7.2/bin/php -dmemory_limit=3G bin/magento setup:upgrade and then run the di:compile /opt/plesk/php/7.2/bin/php -dmemory_limit=3G bin/magento setup:di:compile -vvv - It helps you to see the exactly file where you are getting error


1


1

bin/magento config:set sets any non-sensitive configuration value by its configuration path Non - Sensitive Configurations includes: URLs IP addresses Ports Hostnames Domain names Paths (e.g., custom paths, proxy host, proxy port) “modes” (e.g, sandbox mode, debug mode, test mode) SSL (only for non-payment) E-mail recipients Administrative settings ...


1

For enable Cronjob, you need to first install system cronjob and Cronjob is time-based job scheduler in Unix-like operating systems and You are using the Window system and it NOt possible run cron at the window system at this way. You have to use Task Scheduler for set magento cronjob and but cannot use php bin/magento cron:remove and php bin/magento cron:...


1

Enable maintenance mode except Your IP bin/magento maintenance:enable bin/magento maintenance:allow-ips your ip


1

We use these two bash/ssh scripts heavily in our development. I hope you guys will find them useful too. https://github.com/MagePsycho/magento2-installer-bash-script https://github.com/MagePsycho/nginx-virtual-host-bash-script


1

php bin/magento cache:clean Cleaning a cache type deletes all items from enabled Magento cache types only. In other words, this option does not affect other processes or applications because it cleans only the cache that Magento uses. Disabled cache types are not cleaned. php bin/magento cache:flush Flushing a cache type purges the cache ...


Only top voted, non community-wiki answers of a minimum length are eligible