Questions tagged [index]

This tag is ambiguous. Use "indexing" for Magento indexes, "seo" for search engine indexing, "mysql-indexes" for MySQL indexes. For questions about "index.php" there is no specific tag.

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

Undefined index error on going to shopping cart page in magento 2.3.3

After adding Product to cart and clicking on shopping cart link. I am getting this error Undefined index: 8039,8219 in /srv/public_html/vendor/magento/module-catalog/Model/ProductRepository.php on ...
0
votes
1answer
14 views

Url not accessible

I've added a product on my magento 2.2.4 website. But when I go to my product, I have this message (a 404 page in the console) L'URL que vous demandez n'est pas accessible. But it's only on one on ...
0
votes
1answer
19 views

report.CRITICAL: Notice: Undefined index

app\code\Zero\Storelocator\Rewrite\Amasty\Storelocator\Location.php public function getFrontendData(): array { $storeHours = $this->getDataByKey('attributes'); $result =...
0
votes
0answers
7 views

How re-indexing process is works in Magento 2 if new product is added?

If i have 1 lakh product in my store and i have re-index in Magento 2. And i have added 50 more product in my store. so if it is just re-index all the product from starting or just re-index the ...
0
votes
0answers
127 views

Magento2: issue with elasticsuite | no alive nodes found in your cluster

I use elasticsuite: https://github.com/Smile-SA/elasticsuite Everytime when I create new category or assign products to categories items in all categories in frontend will disappear after a while. ...
0
votes
1answer
44 views

Is there a way to show products on frontend without indexing in Magento 2?

I have 60 million products in my store so I want to show products on front-end without using php bin/magento indexer:reindex command. Is there a way to show products on front-end without indexing.
0
votes
0answers
75 views

On index page i get error Breadcrumbs::getProductName() must be of the type string, null returned in readcrumbs.php:101

Ok, this is the full error actually: TypeError: Return value of Magento\Catalog\ViewModel\Product\Breadcrumbs::getProductName() must be of the type string, null returned in /var/www/html/vendor/...
0
votes
0answers
31 views

Magento 2 Elastic Search enable but not showing search results

Magento 2 enable elastic and the connection is successful but when search from the frontend it is not showing results Even our elastic search status is green and the index key is also generating Can ...
0
votes
1answer
40 views

Undefined index: frontName in /var/www/html/magento/vendor/magento/framework/App/Route/Config.php

I've not found something that could help me in other topis :( My problem is correlated to creation of pages, when I try to create a new Page in Content->Pages->New Page i receive this error : ...
1
vote
1answer
263 views

How to enable asynchronous indexing in production mode?

I want to enable the asynchronous indexing, but the option is inside the Admin menu below, which is available just in developer mode. Stores > Settings > Configuration > Advanced > ...
0
votes
1answer
22 views

What's the purpose of the mview_state table in the database?

I saw the numbers increasing in the mview_state table in the database and there is no cleanup. So I wonder what's the purpose of this table and the values that we have there?
0
votes
0answers
68 views

Magento2.4.0 - Catalog search index process unknown error

I am getting a catalog search index process unknown error when I run php bin/magento indexer:reindex I don't know how to solve this. I have successfully connected to Elasticsearch 7 on admin panel. ...
1
vote
1answer
19 views

are the two codes same?

I'm starting to learn Magento 2 and I read some instructions to create Controller. There are the index.php. on Magento 2 _ development cookbook and another on website. /** @var \Magento\Framework\View\...
0
votes
1answer
279 views

Auto Increment column do not have index. Column - “value_id”, table - “catalog_product_entity_text”

I'm getting the following error after i upgrade magento version to 2.3.5 and try to run php bin/magento setup:upgrade Auto Increment column do not have index. Column - "value_id", table - &...
0
votes
0answers
16 views

Magento 2 not index price after change user db

i using magento 2.x, yesterday i wan`t user and pass mysql. Website run success but i checked table catalog_product_index_price. It not insert new row when i insert new product I reindex and clear ...
1
vote
0answers
114 views

Magento2: Notice: Undefined index:

We use mageplaza extension products grid. Impossible open products --> catalog Notice: Undefined index: position in /home/user/domains/domain.com/public_html/app/code/Mageplaza/ProductGrid/Ui/...
1
vote
0answers
46 views

Notice: Undefined index: quantity

I am currently facing a problem with the below error and was hoping if someone could help. Notice: Undefined index: quantity in /public_html/Magento/vendor/magento/module-inventory-sales/Model/...
1
vote
0answers
32 views

Magento 2: AWS Elastic Search: Index product manually

I am using Magento 2. Using AWS Elastic Search Service. I want to index only 5-10 products. Is it possible to manually/progrmatically index only X products?
1
vote
2answers
147 views

Magento 2 Truncate Index tables

Is it possible to truncate catalog_product_index_price without causing problems to the actual products?
0
votes
1answer
28 views

Restrict Indexation in Multistore Website

I have multistore website .When I have done translation for one store , I have found that it is done on the other stores also. I want to make restring on indexing in the other stores . The canonical ...
0
votes
1answer
163 views

Explain Magento 2 stock index

Can somebody explain how stock index works in Magento 2 and what is it used for and how? If I set it "index on schedule" what exactly happens and how does it affect the shop if stock index is in "...
2
votes
3answers
814 views

Indexer Issue - idle (741 in backlog)

Some categories meta title & description is not setting.I am getting backlog in index status. any idea to fix this issue?
0
votes
2answers
358 views

Can I remove indexing from cron:run?

The cron php bin/magento cron:run is set to run every minute in our project. Along with various other tasks it runs indexing in Magento. Indexing is part of index cron group. For debugging purpose ...
1
vote
0answers
31 views

Magento2 - Is cache invalidation supposed to work properly when index is on-schedule?

We have the following problem: Over the night, products are imported via REST interface. Now in the morning some categories are shown as empty. Indexes are set on update-on-schedule, that means, the ...
2
votes
1answer
136 views

index backlog grows without reason?

We have the problem that some categories do not show products in the morning after an import via REST interface during the night. So we had a look at n98-magerun2 index:status The backlog grows and ...
1
vote
0answers
191 views

Problems re-indexing Category Products and Products Categories in Magento 2.3

We are facing the Reindex for the Category Products and Product Categories and we are getting the following error while reindexing through SSH (php bin/magento indexer:reindex) Category Products ...
1
vote
0answers
23 views

Unknown index “UsernamePasswordFormAuthenticve_index” in cron logfile - security issue?

Today i noticed a really strange index and code dump in cron.log: UsernamePasswordFormAuthenticve_index is successfully finished ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@...
1
vote
1answer
27 views

Do indexes work in developer mode?

Are index tables relevant when developer mode is on? If so which ones?
0
votes
1answer
65 views

Need help to stop malicious code in index.php file

Need help to stop malicious code in index.php file Please help me if anyone have faced this same issue. I am using Magento ver. 1.9.4.3 index.php : * @category Mage */ $swvJgN7="xQC+...
2
votes
0answers
365 views

Magento 2 what is the use of indexer backlogs?

When we run the php bin/magento index:status command it throws the complete view of the indexer. In Below screenshot you can see the backlogs are way higher. I am trying to understand what is the use ...
0
votes
2answers
270 views

Magento 2: Multistore with the same domain

I want to have many sites with the same domain, for example, example.com/site1, example.com/site2, and so on... This is what I've done by far: 1- Change base URL of the site for example.com/site1 2-...
0
votes
1answer
673 views

Index Times takes so long in magento 2.3.2?

Hello I would like to ask a few things about Indexing. I am using Magento 2.3.2 and i am building a website in localhost. Until now i have imported 45.000 products. I runned index and it took about 9 ...
0
votes
1answer
691 views

Index process in Magento 2.3.2

I am new to Magento. I build a new site (currently is live in Joomla and the reason that I change that my products will be more than 500.000. now is at 350.000 in Joomla) I am in Magento in localhost. ...
0
votes
1answer
42 views

Index management in magento 1.3 [duplicate]

I want to run indexing in magento 1.3 but i dont find indexing option in system tab. Whats the issue? how can we run indexing through command in magento 1.3
0
votes
5answers
8k views

cache_dir “/var/www/html/Magento2/var/cache/” is not writable

I'm running a fresh Magento2.3 install on ubuntu 18.04. I managed to edit sample data yesterday, but today I had a go at adding a new product. After saving - I got the error : One or more ...
1
vote
0answers
144 views

cat_index_position defaults to 10001. Magento 2.1.9

Magento 2.1.9 right now. We have a fec categories and set the position according to our liking. However this isnt reflected in the frontend for every product. Some work, some dont. Screenshot of the ...
0
votes
3answers
250 views

Magento2: Index page running problem (index source code displaying)

I have complete installation&run successfully magento2 package some days ago... But, Now I trying to run the package index.php source code was displaying while executing the magento2 package. i ...
1
vote
4answers
2k views

Magento2: How to fix error not showing?

When I submit data to saveprofile.php (controller). saveprofile.php use Magento\Authorization\Model\UserContextInterface as UserContextInterface; use Magento\Authorization\Model\Acl\Role\User as ...
0
votes
1answer
181 views

Trying to not index catalog search result page

I'm trying to have the search result page not indexed. /public/vendor/vaimo/theme-***/Magento_CatalogSearch/layout/catalogsearch_result_index.xml I have this: <?xml version="1.0"?><page ...
4
votes
2answers
372 views

Understanding the Magento 2 index

Generally Magento's index can be updated in 3 ways (depending on usage and configuration): "On Save" "By Schedule" Using indexer:reindex command This is what I can gather from the description in the ...
1
vote
0answers
32 views

New to Magento 2 - Is it possible to change every product price every minute?

I work in -precious metal industry- where item prices change every minute based on markets. At the basic level, UnitPrice=MarketPrice+Premiums per tier. My questions are: If we want to import ...
1
vote
2answers
46 views

Reindex from different computer

Ok so basically I have been given this one task to manage the admin side for a website that used Magento 2. But then, I have encountered some problem with the reindexing. I have been searching about ...
0
votes
0answers
74 views

Messed up magento database indexes

Probably due to errors during reindexing, our store got really slow. Reindexing didn't solve it. I activated query log to identify which ones take are slower. Following is one of them. How could I ...
0
votes
1answer
786 views

Magento 2 Error: Product disappeared on frontend, one store view only

We are having a weird problem since some days after the shop running for months without trouble. On one day (only thing we did were some backup-operations on the database which might have caused this)...
1
vote
1answer
1k views

catalog_category_product_index table empty (Magento 2.2.5)

Our indexer re-fills the table catalog_category_product_index_store1, but the table catalog_category_product_index remains empty. I have found this issue https://github.com/Smile-SA/elasticsuite/...
1
vote
1answer
531 views

Magento 2: Question about set reindex (update on schedule or update on save)

I have a script that is responsible for automatic updating of states with an external storage (automatically adds products and automatically updates states) every 15 minutes. How to set index? Please ...
1
vote
1answer
92 views

Sites are only loading if I add `index.php` to the URL

I just copied the live database to my local environment. I changed the base_url to the new domain (virtual host). My sites on my local environment are only loading if I add index.php to the URL. e.g. ...
4
votes
0answers
740 views

Magento 2, Unable to save products (Catalog rule indexing failed. See details in exception log.)

I receive the error "Catalog rule indexing failed. See details in exception log." when I try to save a product, and get the error below in the exception log. [2018-08-26 05:09:05] main.CRITICAL: ...
1
vote
1answer
142 views

Setting the Indexer Scedule when using “Update by schedule"

I understand that using Update by schedule refers to the cron schedule for timing, when changing the Mode under Index Management. But I require some clarification. M1 In M1, you would set the ...
0
votes
1answer
671 views

Magento 2: How to reindex specific ids and in specific indexer using an observer

I know I can programatically trigger the indexer to index a list of product ids with the following: /** * @var \Magento\Framework\Indexer\IndexerInterfaceFactory */ protected $indexerFactory; ...