Skip to main content

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
0 answers
28 views

Facing reindexing elastic search issue

When we run indexing command in the root Magento folder it gives us this error : Indexer handler is not available: elasticsearch7 When we run the setup:upgrade command: Could not validate a connection ...
Rana Zain's user avatar
  • 676
0 votes
0 answers
27 views

Redirect to a specific store

I'm trying to redirect on a specific store based on geoip. I added this code on index.php on my root, but I can't understand why it doesn't work. I get "main.ERROR: The store that was requested ...
Delio's user avatar
  • 1
0 votes
1 answer
65 views

Reindex catalog_product_attribute Deadlock found when trying to get lock

For some reason we fetch the following deadlock, when we run php bin/magento indexer:reindex catalog_product_attribute Already tried reindex:reset and also performing a full reindex, but that does not ...
JGeer's user avatar
  • 1,420
0 votes
0 answers
37 views

Magento 2.4.0 Sorting by custom eav attribute

I have a index that adds eav values ​​to products and it adds the correct values, these eav attributes are used to sort the product catalog, but this sorting is not correct, it started with a value of ...
RatajX's user avatar
  • 11
1 vote
1 answer
269 views

Products regularly not showing up but reindex

I'm new on setting up Magento. I'm currently on 2.4.6-p2, which I had imported a list of products by csv. Previously on the Index Management I was using "Update on Save" which the product ...
Vulcan's user avatar
  • 11
3 votes
1 answer
450 views

PhpAmqpLib Broken pipe or closed connection during index reindex

I ran this command below in my Adobe Commerce Cloud 2.4.6 to reindex it. MAGE_INDEXER_THREADS_COUNT=$(nproc) php -d memory_limit=-1 bin/magento i:reindex Then I got these error messages that suddenly ...
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
70 views

Can't access Index.php in Controller

For example in My/Module/Controller/Index.php when I access https://website/module it won't work and I'll be redirected on 404 "Whoops, our bad..." page. But if I use My/Module/Controller/...
Nagasaki's user avatar
  • 105
1 vote
1 answer
39 views

Having hosting error

I have read a lot and tried a lot but I keep getting the message: One or more indexers are invalid. Make sure your Magento cron job is running. And this only count for Catalog Search, if I try in SSH ...
Lightme's user avatar
  • 11
0 votes
2 answers
266 views

Magento Search Not working - Only returns results if I search SKU codes

I have a Magento 2.4.3 installed with Elasticsearch 7.9 They are on separate servers (but I don't believe that is relevant). The reindexing function runs successfully and I can see the index on the ...
ruzdic's user avatar
  • 1
0 votes
2 answers
374 views

Schedule indexer programmatically

I have a custom index my_index that observe the change in a custom table entity_data. When changes happen in entity_data, my index's execute function is called by Magento like this $indexer->...
Hieu Duong's user avatar
0 votes
0 answers
122 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 ...
Nafsss's user avatar
  • 760
0 votes
1 answer
30 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 ...
Morgan Tartreau's user avatar
0 votes
1 answer
921 views

report.CRITICAL: Notice: Undefined index

app\code\Zero\Storelocator\Rewrite\Amasty\Storelocator\Location.php public function getFrontendData(): array { $storeHours = $this->getDataByKey('attributes'); $result =...
zus's user avatar
  • 175
0 votes
1 answer
2k 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. ...
Sylvester's user avatar
  • 2,234
0 votes
1 answer
156 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.
Prits's user avatar
  • 625
0 votes
2 answers
697 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/...
Mr. Kovalski's user avatar
0 votes
0 answers
147 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 ...
sumeet bajaj's user avatar
  • 1,316
0 votes
1 answer
1k 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 : ...
Emanuele Cozzolino's user avatar
3 votes
1 answer
3k 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 > ...
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
714 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?
Rafael Corrêa Gomes's user avatar
0 votes
0 answers
591 views

Magento 2.4 - 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 the admin ...
Salman Dalal's user avatar
1 vote
1 answer
26 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\...
Hoàng Thắng's user avatar
2 votes
1 answer
2k 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 - &...
Mage Explorer's user avatar
2 votes
0 answers
849 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/...
Sylvester's user avatar
  • 2,234
1 vote
0 answers
86 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/...
Adam Gill's user avatar
1 vote
2 answers
1k views

Magento 2 Truncate Index tables

Is it possible to truncate catalog_product_index_price without causing problems to the actual products?
Med Amine's user avatar
0 votes
1 answer
34 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 ...
Ahmed Chouihi's user avatar
0 votes
1 answer
1k 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 "...
Webninja's user avatar
  • 1,593
3 votes
3 answers
8k 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?
PHP Magento Developer's user avatar
0 votes
2 answers
2k 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 ...
amitshree's user avatar
  • 7,056
2 votes
0 answers
98 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 ...
Alex's user avatar
  • 13.9k
2 votes
1 answer
433 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 ...
Alex's user avatar
  • 13.9k
1 vote
0 answers
394 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 ...
Pavuluri Svsv Prasad's user avatar
1 vote
0 answers
24 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 ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@...
Sebastian's user avatar
  • 141
1 vote
1 answer
74 views

Do indexes work in developer mode?

Are index tables relevant when developer mode is on? If so which ones?
jekabs's user avatar
  • 318
0 votes
1 answer
120 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+...
fathur1314's user avatar
6 votes
0 answers
691 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 ...
Jackson Wyss's user avatar
0 votes
2 answers
980 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-...
Oscar Vazquez's user avatar
0 votes
1 answer
2k 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 ...
Gogoulos Tasos's user avatar
0 votes
1 answer
967 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. ...
Gogoulos Tasos's user avatar
0 votes
1 answer
53 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
Nafsss's user avatar
  • 760
3 votes
6 answers
22k 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 ...
Gregory William Bryant's user avatar
1 vote
0 answers
332 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 ...
Florian's user avatar
  • 11
1 vote
3 answers
1k 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 ...
manoji's user avatar
  • 175
1 vote
4 answers
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 ...
prabhakaran7's user avatar
  • 1,097
0 votes
1 answer
998 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 ...
Kenneth's user avatar
  • 15
4 votes
2 answers
1k 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 ...
fritzmg's user avatar
  • 747
1 vote
0 answers
78 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 ...
Serdar Ulutas's user avatar
1 vote
2 answers
52 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 ...
oofssup13's user avatar
8 votes
10 answers
20k views

inventory_stock_1 doest exist on Magento 2.3

When I go to product pages and checkout the exception shows: Exception #0 (Zend_Db_Statement_Exception): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'inventory_stock_1' doesn't exist, ...
the light's user avatar
  • 728