Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

New answers tagged

0

I had the same, or at least very similar issue, with a codazon theme. After some digging, I noticed my store id was incorrect in my URL string. It might have been a cache issue. When you look at your admin url when going to the theme options, check out this part... "general_section/theme_id/x/store/x/". In my case, the "theme_id" was showing "0" when it ...


0

This looks like an insert into the catalog_product_entity table. This table has 8 columns by default. But in your case it tries to insert 9 parameters. The last one is strange. I have a feeling that the last parameter is the category ids that you are sending. For some reason magento tries to insert these into the main table when it should actually insert it ...


0

I had amazon payments extension cause me similar problem. Use composer to remove any unnecessary components. https://www.integer-net.com/removing-unused-core-modules-from-magento-2-the-right-way/ e.g. 2.2.6 update composer.json [...] }, "replace": { "magento/module-admin-notification": "*", "magento/module-dhl": "*", ...


0

Why did you call the parent method twice? Try the following way, maybe will fix: define([ 'underscore', 'uiRegistry', 'Magento_Ui/js/form/element/select', 'Magento_Ui/js/modal/modal' ], function (_, uiRegistry, select, modal) { 'use strict'; return select.extend({ initialize: function () { this._super(); ...


1

Change <item name="default" xsi:type="number">0</item> to <item name="default" xsi:type="number">1</item>


-1

Try the following query: SELECT * FROM `core_config_data` WHERE path = 'web/secure/use_in_adminhtml' ; if path web/secure/use_in_adminhtml has value of null Update the value to 1 using the following query UPDATE `core_config_data` SET `value`=1 WHERE path = 'web/secure/use_in_adminhtml'; Hard refresh the page and it will work


0

This is a known issue in your version of magneto there have been a number of updates since your version this error relates to there being a title missing within on of the ACL files to fix this you would either need to create a custom extension which replaces the helper or amend the helper directly Open magento/vendor/magento/module-integration/Helper/Data....


0

free extension https://landofcoder.com/magento-2-advanced-reports.html OR I used this module https://github.com/degdigital/magento2-customreports/ and customize to my needs.


0

I have found one extension created for custom report. It contains sample code with needed file and uploaded on github. You can look at below URL. https://github.com/yash7690/magento2-customreport


1

To increase the height of text-area use <item name="rows" xsi:type="number">60</item> insted of <item name="cols" xsi:type="number">200</item> But the above code is not working as expected and not increase the height of text-area because of Magento CSS issue. to check inspect element and find class .admin__control-textarea you can ...


1

I have fixed the issue of product stock status update from Out of Stock to In Stock. Fixed the issue to override module-catalog-inventory/Model/Stock/StockItemRepository.php file. Follow below steps to create custom module for override StockItemRepository.php file and updated code. File path: magento/app/code/Vendor/UpdateStockStatus/registration.php &...


0

This issue is coming because of system.xml. Please correct as per below, your system tab id="custom_tab" translate="label" sortOrder="10"> And tab name under section should be same.


1

I had the same error in earlier version. Finally it was permissions issue. Check the permissions of file system may be this is the reason


1

I had a similar issue when setting up a docker. The following command resolved the issue: Ubuntu server chown -R :www-data /[path]/[to]/[magento]/[root]/[folder] CentOS server chown -R :apache /[path]/[to]/[magento]/[root]/[folder] Afterwards, I cleared Magento's cache and flushed Redis. Hope this helps!


0

Got it Fixed var root = new Tree.AsyncTreeNode({ text: 'getRootNodeName() ?>', draggable:false, id:'root', children:getTreeJson() ?> }); got it fixed by adding "children:getTreeJson() ?>" to the tree.phtml file .


0

Missing folders : In the folder media, take a look if media/catalog, media/wysiwyg and media/images are there (or even any other folder you’ve set up to upload your files to). If yes, if the server has the permissions to write on them. Var/cache : Get yourself sure you run one $ rm -rf var/cache/* and got rid of everything inside this folder. Cache ...


1

In your component JS file : Vendor_Module/js/getTemplateText define([ 'underscore', 'Magento_Ui/js/grid/columns/select' ], function (_, Column) { 'use strict'; return Column.extend({ defaults: { bodyTmpl: 'Vendor_Module/ui/grid/cells/text' }, getCustomFunction: function (row) { console.log(row.template_text_4); ...


0

Attributes are the best bet for this job. Below script will help you to add an additional checkbox in the customer form Create a script add.php in your root folder and use the below script, and call this script http://domain.com/add.php <?php $baseDir = dirname(dirname(__FILE__)); require_once($baseDir.'/app/Mage.php'); umask(0); Mage::app()->...


0

I solved it creating CreaFattura.php file like this: <?php class Fattura24_AppFatturazione_Model_System_Config_Source_CreaFattura { public function toOptionArray() { $option = array( array('value' => 'd', 'label' => 'Disabilitata'), array('value' => 'f', 'label' => 'Fattura NON Elettronica'), ...


0

It is still available. Here is Magento's user guide about this - https://docs.magento.com/m2/ce/user_guide/sales/checkout-guest.html. You should be able to go to Stores -> Settings -> Configuration -> Sales -> Checkout -> Checkout Options and find the setting there. This is the opposite situation as yours, but still provides instructions on how to find the ...


0

Based on one of the other answers this worked for me. No need to change any secret key config. var ajaxRequest; ajaxRequest = jQuery.ajax({ url: "<?php echo $this->getUrl('adminrouter/folder/index'); ?>?isAjax=true", type: 'POST', data: {form_key: window.FORM_KEY, id : 1}, dataType: 'json', beforeSend: function () { ...


0

Check module.xml file of your last installed extension. This error generally because of this file only


0

I fixed the issue by deleting the row modul on setup_model table on database


1

Faced the same problem in Magento 2.2.8. The problem is that the controller returns the same results, sorted by ID (or not, not sure). After digging into this I found out that a problem in this file: vendor/magento/module-customer/Model/GroupManagement.php Inside getLoggedInGroups method: $groupNameSortOrder = $this->sortOrderBuilder ->...


0

I also faced this problem, You just need to replace your multi select field code in main.php with this. What I did, I added the values instead of options $fieldset->addField( 'categories', 'multiselect', [ 'label' => __('Categories'), 'title' => __('Categories'), ...


0

This means your crons aren't setup. I set tasks for cron:run, setup:cron:run and for magentoroot/upgrade/cron.php. Once I created a schedule for those three, I had no more issues with the Web Setup Wizard.


0

You need to contact whoever has administration access to the Magento admin so they can provide you with the access you need. If you were never given that then you are not going to be able to login. Or, if you have that and are now getting login failures, your account may be locked due to failures. Either way, the admin administrator should be able to resolve ...


0

Pls check if the cron is installed and working properly This line may give you a clue https://devdocs.magento.com/guides/v2.3/comp-mgr/trouble/cman/cron.html


0

I have checked and found that module-google-analytics is responsible for sending order analytics to Google. It has events.xml at magento2Root/vendor/magento/module-google-analytics/etc/frontend with following content. <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...


Top 50 recent answers are included