Magento Open Source 2.4.0 Upgrade Notes

eCommerce Shopping Cart Magento logo

Issues:

'We can't find products matching the selection.'

Summary:

This error is shown on all category pages. No products are displayed.

Magento 2.4.0 - 'We can't find products matching the selection.'

Initial Thoughts:

Presumed upgrade or install of Elastic Search server.

Remediation

Install Elastic Search.

Solution Applied

Open terminal and run the following commands (These commands may vary depending on your server environment).

  1. First we need to install PGP key
    wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
  2. sudo apt-get install apt-transport-https
  3. echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-7.x.list
  4. sudo apt-get update && sudo apt-get install elasticsearch
  5. sudo update-rc.d elasticsearch defaults 95 10
  6. sudo -i service elasticsearch start

To check if Elastic Search is running or not run
http://127.0.0.1:9200/ in browser and if you see below response then Elastic Search is running

{
"name" : "root",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "ogkAKBNnTheVFrPs3Aw5Ug",
"version" : {
"number" : "7.8.1",
"build_flavor" : "default",
"build_type" : "deb",
"build_hash" : "b5ca9c58fb664ca8bf9e4057fc229b3396bf3a89",
"build_date" : "2020-07-21T16:40:44.668009Z",
"build_snapshot" : false,
"lucene_version" : "8.5.1",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}

What is Elastic Search

Elastic Search is a powerful search engine that can be installed on a server. In the case of Magento, it mainly improves speed for product searching.



Get a Quote

If you would like a bespoke price for your web design project, please complete the form shown here and we'll get back to you.

Web Design Articles

Share the Post:

Related Posts

AI logos (Gemini, Chat GPT)

How You Can Rank High in AI

As AI-powered tools like ChatGPT rapidly transform how people search, we’re entering a new digital gold rush—where visibility is no longer earned through traditional SEO alone. If your website isn’t structured for AI, you risk becoming invisible just as a new wave of search dominance begins. To stay competitive, your content must be clear, trustworthy, and AI-readable. In this guide, we’ll walk you through a 10-point plan to build websites that not only rank in search engines—but also get cited in AI-generated answers. Whether you’re starting fresh or optimising an existing site, now is the time to act and get ahead of the curve—before your competitors do.

Read More