cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.4.3 admin invoices page spining continuously

Magento 2.4.3 admin invoices page spining continuously

I want to view a list of invoices in my magento 2.4 module. The data has has successfully loaded, but the loading spinner never disappear.

Screen Shot 2021-09-23 at 2.58.53 PM.png

 

Exception log

[2021-09-23 16:10:15] main.CRITICAL: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"No mapping found for [position_category_4] in order to sort on","index_uuid":"JsIu4CR6TDu_7k5UDvXzKw","index":"magento2_product_1_v2"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"magento2_product_1_v2","node":"xKgAFkDJTWyBhshF12msYw","reason":{"type":"query_shard_exception","reason":"No mapping found for [position_category_4] in order to sort on","index_uuid":"JsIu4CR6TDu_7k5UDvXzKw","index":"magento2_product_1_v2"}}]},"status":400} {"exception":"[object] (Elasticsearch\\Common\\Exceptions\\BadRequest400Exception(code: 400): {\"error\":{\"root_cause\":[{\"type\":\"query_shard_exception\",\"reason\":\"No mapping found for [position_category_4] in order to sort on\",\"index_uuid\":\"JsIu4CR6TDu_7k5UDvXzKw\",\"index\":\"magento2_product_1_v2\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"magento2_product_1_v2\",\"node\":\"xKgAFkDJTWyBhshF12msYw\",\"reason\":{\"type\":\"query_shard_exception\",\"reason\":\"No mapping found for [position_category_4] in order to sort on\",\"index_uuid\":\"JsIu4CR6TDu_7k5UDvXzKw\",\"index\":\"magento2_product_1_v2\"}}]},\"status\":400} at /home/vagrant/magento/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:675)"} []
[2021-09-23 16:18:15] main.CRITICAL: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"No mapping found for [position_category_7] in order to sort on","index_uuid":"JsIu4CR6TDu_7k5UDvXzKw","index":"magento2_product_1_v2"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"magento2_product_1_v2","node":"xKgAFkDJTWyBhshF12msYw","reason":{"type":"query_shard_exception","reason":"No mapping found for [position_category_7] in order to sort on","index_uuid":"JsIu4CR6TDu_7k5UDvXzKw","index":"magento2_product_1_v2"}}]},"status":400} {"exception":"[object] (Elasticsearch\\Common\\Exceptions\\BadRequest400Exception(code: 400): {\"error\":{\"root_cause\":[{\"type\":\"query_shard_exception\",\"reason\":\"No mapping found for [position_category_7] in order to sort on\",\"index_uuid\":\"JsIu4CR6TDu_7k5UDvXzKw\",\"index\":\"magento2_product_1_v2\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"magento2_product_1_v2\",\"node\":\"xKgAFkDJTWyBhshF12msYw\",\"reason\":{\"type\":\"query_shard_exception\",\"reason\":\"No mapping found for [position_category_7] in order to sort on\",\"index_uuid\":\"JsIu4CR6TDu_7k5UDvXzKw\",\"index\":\"magento2_product_1_v2\"}}]},\"status\":400} at /home/vagrant/magento/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:675)"} []
[2021-09-23 16:24:21] main.ERROR: Unable to send mail: Unknown error {"exception":"[object] (Laminas\\Mail\\Transport\\Exception\\RuntimeException(code: 0): Unable to send mail: Unknown error at /home/vagrant/magento/vendor/laminas/laminas-mail/src/Transport/Sendmail.php:298)"} []
[2021-09-23 16:24:21] main.CRITICAL: Unable to send mail. Please try again later. {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Unable to send mail. Please try again later. at /home/vagrant/magento/vendor/magento/module-email/Model/Transport.php:114)"} []
[2021-09-23 16:40:04] main.ERROR: Unable to send mail: Unknown error {"exception":"[object] (Laminas\\Mail\\Transport\\Exception\\RuntimeException(code: 0): Unable to send mail: Unknown error at /home/vagrant/magento/vendor/laminas/laminas-mail/src/Transport/Sendmail.php:298)"} []
[2021-09-23 16:40:05] main.ERROR: Unable to send mail: Unknown error {"exception":"[object] (Laminas\\Mail\\Transport\\Exception\\RuntimeException(code: 0): Unable to send mail: Unknown error at /home/vagrant/magento/vendor/laminas/laminas-mail/src/Transport/Sendmail.php:298)"} []
[2021-09-23 17:11:07] main.ERROR: Unable to send mail: Unknown error {"exception":"[object] (Laminas\\Mail\\Transport\\Exception\\RuntimeException(code: 0): Unable to send mail: Unknown error at /home/vagrant/magento/vendor/laminas/laminas-mail/src/Transport/Sendmail.php:298)"} []
[2021-09-23 17:11:07] main.ERROR: Unable to send mail: Unknown error {"exception":"[object] (Laminas\\Mail\\Transport\\Exception\\RuntimeException(code: 0): Unable to send mail: Unknown error at /home/vagrant/magento/vendor/laminas/laminas-mail/src/Transport/Sendmail.php:298)"} []
[2021-09-23 17:29:05] main.ERROR: Unable to send mail: Unknown error {"exception":"[object] (Laminas\\Mail\\Transport\\Exception\\RuntimeException(code: 0): Unable to send mail: Unknown error at /home/vagrant/magento/vendor/laminas/laminas-mail/src/Transport/Sendmail.php:298)"} []
[2021-09-23 17:29:05] main.ERROR: Unable to send mail: Unknown error {"exception":"[object] (Laminas\\Mail\\Transport\\Exception\\RuntimeException(code: 0): Unable to send mail: Unknown error at /home/vagrant/magento/vendor/laminas/laminas-mail/src/Transport/Sendmail.php:298)"} []
[2021-09-23 18:25:43] main.ERROR: Unable to send mail: Unknown error {"exception":"[object] (Laminas\\Mail\\Transport\\Exception\\RuntimeException(code: 0): Unable to send mail: Unknown error at /home/vagrant/magento/vendor/laminas/laminas-mail/src/Transport/Sendmail.php:298)"} []
[2021-09-24 15:05:32] main.CRITICAL: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"No mapping found for [position_category_4] in order to sort on","index_uuid":"JsIu4CR6TDu_7k5UDvXzKw","index":"magento2_product_1_v2"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"magento2_product_1_v2","node":"xKgAFkDJTWyBhshF12msYw","reason":{"type":"query_shard_exception","reason":"No mapping found for [position_category_4] in order to sort on","index_uuid":"JsIu4CR6TDu_7k5UDvXzKw","index":"magento2_product_1_v2"}}]},"status":400} {"exception":"[object] (Elasticsearch\\Common\\Exceptions\\BadRequest400Exception(code: 400): {\"error\":{\"root_cause\":[{\"type\":\"query_shard_exception\",\"reason\":\"No mapping found for [position_category_4] in order to sort on\",\"index_uuid\":\"JsIu4CR6TDu_7k5UDvXzKw\",\"index\":\"magento2_product_1_v2\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"magento2_product_1_v2\",\"node\":\"xKgAFkDJTWyBhshF12msYw\",\"reason\":{\"type\":\"query_shard_exception\",\"reason\":\"No mapping found for [position_category_4] in order to sort on\",\"index_uuid\":\"JsIu4CR6TDu_7k5UDvXzKw\",\"index\":\"magento2_product_1_v2\"}}]},\"status\":400} at /home/vagrant/magento/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:675)"} []
[2021-09-24 15:05:35] main.CRITICAL: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"No mapping found for [position_category_5] in order to sort on","index_uuid":"JsIu4CR6TDu_7k5UDvXzKw","index":"magento2_product_1_v2"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"magento2_product_1_v2","node":"xKgAFkDJTWyBhshF12msYw","reason":{"type":"query_shard_exception","reason":"No mapping found for [position_category_5] in order to sort on","index_uuid":"JsIu4CR6TDu_7k5UDvXzKw","index":"magento2_product_1_v2"}}]},"status":400} {"exception":"[object] (Elasticsearch\\Common\\Exceptions\\BadRequest400Exception(code: 400): {\"error\":{\"root_cause\":[{\"type\":\"query_shard_exception\",\"reason\":\"No mapping found for [position_category_5] in order to sort on\",\"index_uuid\":\"JsIu4CR6TDu_7k5UDvXzKw\",\"index\":\"magento2_product_1_v2\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"magento2_product_1_v2\",\"node\":\"xKgAFkDJTWyBhshF12msYw\",\"reason\":{\"type\":\"query_shard_exception\",\"reason\":\"No mapping found for [position_category_5] in order to sort on\",\"index_uuid\":\"JsIu4CR6TDu_7k5UDvXzKw\",\"index\":\"magento2_product_1_v2\"}}]},\"status\":400} at /home/vagrant/magento/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:675)"} []
[2021-09-24 15:05:37] main.CRITICAL: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"No mapping found for [position_category_6] in order to sort on","index_uuid":"JsIu4CR6TDu_7k5UDvXzKw","index":"magento2_product_1_v2"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"magento2_product_1_v2","node":"xKgAFkDJTWyBhshF12msYw","reason":{"type":"query_shard_exception","reason":"No mapping found for [position_category_6] in order to sort on","index_uuid":"JsIu4CR6TDu_7k5UDvXzKw","index":"magento2_product_1_v2"}}]},"status":400} {"exception":"[object] (Elasticsearch\\Common\\Exceptions\\BadRequest400Exception(code: 400): {\"error\":{\"root_cause\":[{\"type\":\"query_shard_exception\",\"reason\":\"No mapping found for [position_category_6] in order to sort on\",\"index_uuid\":\"JsIu4CR6TDu_7k5UDvXzKw\",\"index\":\"magento2_product_1_v2\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"magento2_product_1_v2\",\"node\":\"xKgAFkDJTWyBhshF12msYw\",\"reason\":{\"type\":\"query_shard_exception\",\"reason\":\"No mapping found for [position_category_6] in order to sort on\",\"index_uuid\":\"JsIu4CR6TDu_7k5UDvXzKw\",\"index\":\"magento2_product_1_v2\"}}]},\"status\":400} at /home/vagrant/magento/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:675)"} []
[2021-09-24 15:05:41] main.CRITICAL: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"No mapping found for [position_category_7] in order to sort on","index_uuid":"JsIu4CR6TDu_7k5UDvXzKw","index":"magento2_product_1_v2"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"magento2_product_1_v2","node":"xKgAFkDJTWyBhshF12msYw","reason":{"type":"query_shard_exception","reason":"No mapping found for [position_category_7] in order to sort on","index_uuid":"JsIu4CR6TDu_7k5UDvXzKw","index":"magento2_product_1_v2"}}]},"status":400} {"exception":"[object] (Elasticsearch\\Common\\Exceptions\\BadRequest400Exception(code: 400): {\"error\":{\"root_cause\":[{\"type\":\"query_shard_exception\",\"reason\":\"No mapping found for [position_category_7] in order to sort on\",\"index_uuid\":\"JsIu4CR6TDu_7k5UDvXzKw\",\"index\":\"magento2_product_1_v2\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"magento2_product_1_v2\",\"node\":\"xKgAFkDJTWyBhshF12msYw\",\"reason\":{\"type\":\"query_shard_exception\",\"reason\":\"No mapping found for [position_category_7] in order to sort on\",\"index_uuid\":\"JsIu4CR6TDu_7k5UDvXzKw\",\"index\":\"magento2_product_1_v2\"}}]},\"status\":400} at /home/vagrant/magento/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:675)"} []
[2021-09-27 13:37:55] main.CRITICAL: No alive nodes found in your cluster {"exception":"[object] (Elasticsearch\\Common\\Exceptions\\NoNodesAvailableException(code: 0): No alive nodes found in your cluster at /home/vagrant/magento/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/StaticNoPingConnectionPool.php:64)"} []
[2021-09-27 14:52:40] main.ERROR: Unable to send mail: Unknown error {"exception":"[object] (Laminas\\Mail\\Transport\\Exception\\RuntimeException(code: 0): Unable to send mail: Unknown error at /home/vagrant/magento/vendor/laminas/laminas-mail/src/Transport/Sendmail.php:298)"} []
[2021-09-27 14:53:18] main.ERROR: Unable to send mail: Unknown error {"exception":"[object] (Laminas\\Mail\\Transport\\Exception\\RuntimeException(code: 0): Unable to send mail: Unknown error at /home/vagrant/magento/vendor/laminas/laminas-mail/src/Transport/Sendmail.php:298)"} []
[2021-09-27 14:55:15] main.ERROR: Unable to send mail: Unknown error {"exception":"[object] (Laminas\\Mail\\Transport\\Exception\\RuntimeException(code: 0): Unable to send mail: Unknown error at /home/vagrant/magento/vendor/laminas/laminas-mail/src/Transport/Sendmail.php:298)"} []
2 REPLIES 2

Re: Magento 2.4.3 admin invoices page spining continuously

@kluofusionacbf 

Enable error reporting from index.php
error_reporting(E_ALL);
ini_set('display_errors', 1);
and check your exception.log file from var/log/.
Generally, It happens when some of the codes are throwing an exception.
Problem solved? Click Kudos and "Accept as Solution"

Re: Magento 2.4.3 admin invoices page spining continuously

Hi @Sanjay Jethva :

Thanks for the reply. I updated my exception log.