New answers tagged

0

In the current dual state where tables and columns can be added/altered/removed either via setup scripts (those located in the Setup folder) or via the new etc/db_schema.xml files, Magento can not know by itself which tables/columns can be safely altered using only the db_schema.xml files. Hence, the db_schema_whitelist.json holds a list of all the DB tables,...


0

The is a synchronisation tool available on Github that automatically configures your development environment for you https://github.com/jellesiderius/mage-db-sync/


0

log into mysql select database Run below command: update core_config_data set value='server_side_compilation' where path = 'dev/front_end_development_workflow/type';


0

I have also faced the similar issue but in my case eav attribute of an extension is not created properly or an product save after observer is causing the issue by commenting the event you can check .


0

mysqlcheck --repair --all-databases OR


0

use Magento date Instead of the PHP date function \Magento\Framework\Stdlib\DateTime\DateTime to get current date $date = $this->date->gmtDate();


1

This tables is create from Dotdigitalgroup_Emailmodule.If you are not using dotdigital for email and marketing then You Need to disable this extension and it will resolved this issue


0

I just came across this problem. It was caused by the long list of pending cron jobs in table cron_schedule. I backed up the database then truncated table 'cron_schedule' with command TRUNCATE TABLE cron_schedule; After this I reindex data and manually ran cron jobs with command bin/magenot cron:run After this I was able to create/save products as normal. ...


0

This will be used in the generation of the Increment ID for order, shipment, creditmemo, invoice.


0

<?php use Magento\Framework\App\Bootstrap; include('./app/bootstrap.php'); $bootstrap = Bootstrap::create(BP, $_SERVER); $objectManager = Magento\Framework\App\ObjectManager::getInstance(); getAllProducts($objectManager); function getAllProducts($objectManager) { $output = fopen('php://output', 'w'); // output the column headings // fputcsv($output,...


0

You need to copy manually in plugin on \Magento\Quote\Model\Quote\Address\ToOrderAddress::convert. For examples, see Magento plugins (EE only unfortunately): \Magento\GiftRegistry\Model\Plugin\ConvertQuoteAddressToOrderAddress::afterConvert \Magento\CustomerCustomAttributes\Model\Plugin\ConvertQuoteAddressToOrderAddress::afterConvert Reason for this is ...


0

\Magento\Framework\Data\OptionSourceInterface is used when creating source model for system.xml configurations. And can be used with any other custom requirement. AbstractSource is specifically for EAV attributes.


0

Replace use \Magento\Framework\Model\AbstractModel with use Magento\Framework\Model\AbstractModel . I am suggesting to remove slash. Edited: - You can see in this picture the class file is present and its not 404.


0

There's a Magento patch SUPEE-5984, which addresses these kinds of Enterprise Refresh Index problems. You can find the patch at https://github.com/brentwpeterson/magento-patches/blob/master/EE1.14/PATCH_SUPEE-5984_EE_1.14.2.0_v1.sh


Top 50 recent answers are included