Questions tagged [magento-2.0.5]

Denotes questions related to Magento CE/EE version 2.0.5

0
votes
0answers
346 views

Getting error when trying to access Sales > Orders in Magento 2 backend

I'm getting the following error when trying to access Sales > Orders in Magento 2 admin area. Any idea what the issue is? Element 'listingToolbar': This element is not expected. Expected is one of ( ...
1
vote
1answer
189 views

In Magento 2 i want to add the image in my custom module template file and the image i want to use is my company logo

I tried this with my source but not work: C:\wamp\www\magento\app\code\magento\hello\view\adminhtml\templates\custom\logo.png
1
vote
1answer
503 views

Changing/Modifying Magento 2 Rest Api call from url

I want to use magento2 rest api of products to get list of details of products based on some criteria. For example - http://localhost:8080/magento/index.php/rest/V1/products?searchCriteria[...
3
votes
1answer
3k views

Adding custom global javascript validation

I have done some digging in internet but I haven't found any confirmed solution. What is the way to add custom js validation rule, that can be used globally as for example frontend_class for ...
12
votes
8answers
13k views

Package fabpot/php-cs-fixer is abandoned message in Magento 2

I am using Magento 2.0.5. When I run the composer update or composer install command it's showing the following warning. Package fabpot/php-cs-fixer is abandoned, you should avoid using it. Use ...
0
votes
2answers
368 views

Magento (2.0.5) review rest api

I want to get reviews of the products using magento 2.0.5 . I think rest api for it is not being implemented. Can u give me some idea about how to start? And I have tried tutorial from Alan Kent ...
1
vote
0answers
317 views

How to inject EAV attribute to product model before loading it in Magento 2?

I want to always add a specific EAV attribute to the Product model whenever a Product model is loading. As an example, I always want to include vendor_name and brand_name EAV attributes to my ...
0
votes
1answer
596 views

Magento 2 Migration : SQLSTATE[23000]: Integrity constraint violation: 1062

I followed http://devdocs.magento.com/guides/v2.0/migration/bk-migration-guide.html for migration. I am facing issue - SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'customer-...
1
vote
1answer
180 views

M2: Can't save customer because created_at date gets malformed by Magento

This is a followup to my previous question. Previously, I had an issue where the customer created_at attribute was incorrectly assigned a datetime input filter when it should have been date. However, ...
52
votes
4answers
13k views

Deprecated save and load methods in Abstract Model

I see that in the develop branch of the Magento 2 repo the methods load and save from Magento\Framework\Model\AbstractModel class are deprecated. But there are a gazillion classes in the core that ...
3
votes
2answers
3k views

Magento 2: what is the search_request.xml file used for?

Under app/code/Magento/CatalogSearch/etc/ there's a search_request.xml file with the following content: <requests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
11
votes
2answers
3k views

Magento 2: what is the catalog_attributes.xml file?

I noticed that Magento 2 contains several catalog_attributes.xml files in the following folders: app/code/Magento/Bundle/etc app/code/Magento/Catalog/etc app/code/Magento/CatalogSearch/etc app/code/...
1
vote
3answers
1k views

Class 'Magento\Framework\Data\Form\Filter\Datetime' not found

I have a M2 install with data migrated over using the data migration tool. I have no extra modules or extensions enabled. When I try to save a customer's data from the Admin, I simply get a blank ...
7
votes
2answers
6k views

Magento 2 - Best practice to get current date

I have to save an updated_at attribute of a custom entity and to know which is the best practice I took a look at how Magento 2 handles it. I looked at the \Magento\Eav\Model\Entity\Attribute\Backend\...
0
votes
2answers
447 views

issue in upgrading phpseclib in magento2

I am working on a task that requires sftp connection and related functions. In magento phpseclib provide the same but they have not yet upgraded the library and it contains deprecated methods and ...
4
votes
9answers
15k views

admin backend icon fonts missing

As a newbie, I just installed the M.Community Full Release with Sample Data 2.0.5 on Win8 64bit with Xampp -- all went well so far, except arriving in the backend panel the "Admin Icons" are replaced ...
3
votes
1answer
7k views

Please re-run Magento compile command?

I am trying to setup one of the magento 2 extension with cygwin which is from this source https://github.com/ibnab/magento2-extension-change-attribute-set and I am getting this error during installion ...
5
votes
1answer
5k views

How can i change the Attribute Set by products? [duplicate]

I need to change Attribute set for some of the products but there is no option to change them.
5
votes
2answers
2k views

“Undefined Index Notice” in EavAttribute.php when adding a swatch option

I am using Magento 2 and I created an attribute called hair_color that is of a visual swatch input type. I have inputted 140 swatch options for this attribute, but on the 141 I keep getting this error:...