I’ve encountered a recurring error in my Magento 2.4.5-p5 installation, and it’s logged in the system.log file. The error message is as follows: [2024-01-17T11:57:04.901592+00:00] main.ERROR: {"error":{"root_cause":[{"type":"x_content_parse_exception","reason":"[1:352] [bool] failed to parse field [must]"}],"type":"x_content_parse_exception","reason":"[1:352] [script_score] failed to parse field [query]","caused_by":{"type":"x_content_parse_exception","reason":"[1:352] [bool] failed to parse field [must]","caused_by":{"type":"illegal_state_exception","reason":"expected value but got [START_ARRAY]"}}},"status":400} [] [] […]
Magento
We are facing a MySQL database connectivity issue in Mulesoft, the mule has two types of database transactions. one is to the mule’s server( Self ) database and the other one is to the remote server database. Recently we upgraded MyQL 5.7 to 8.0 in the remote server, After that […]
When filtering by text attribute type the module block and phtml template retrieve values by attribute code, however its not not returning values on MultiSelect ive tried the following: // Build a custom SQL expression using find_in_set $findInSetConditions = []; foreach ($desiredValues as $value) { $findInSetConditions[] = $productCollection->getConnection()->quoteInto( ‘FIND_IN_SET(?, ‘ […]
How to add Node packages to your Magento 2 site. how to implement in require-config.js using knockout js. I have already applied the commands below file. /var/www/html/project/app/code/vendor/module/view/frontend/ npm install @web3modal/ethers5 ethers@5.7.2 after I add below code add require-config.js for example. var config = { paths: { ethers: 'Vendor_Module/node_modules/@web3modal/ethers5' } }; […]
I have a magento 2.4.6-p3 instance with php8.2 I have installed superdav42 / magento-image-quality for support of GraphicsMagick Image processing. I am having this is issue when trying to print PDF from orders: Deprecated Functionality: Gmagick::setcompressionquality(): Passing null to parameter #1 ($quality) of type int is deprecated in /app/code/DevStone/ImageQuality/Image/Adapter/GraphicsMagick.php on […]
I’m using many queues and configure Magento to use separate consumers for every queue. It works well. But every few days it probably misses all consumer locks and spawns new processes for all queues. After a couple of weeks I see the following process list: Load average: 1.60 1.51 1.23 […]
I’ve read tons of forum posts on this topic, but they all seem to be specific to the module or process and I can’t find this one. How would I go about trouble-shooting and fixing this? Here is the full error: PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add […]
My patch adds new attribute to products. I want it to be enabled on every product by default. However, it is always disabled on sample data products and works as intended when I try to add a completely new product from the admin panel. How to fix it? <?php namespace […]
Magento 2.4.5-p5 with MariaDB. I regularily get this error: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction, query was: DELETE FROM `inventory_pickup_location_quote_address` WHERE (address_id = ...) When I check the table inventory_pickup_location_quote_address, it’s empty. This seems to be a table from the InventoryInStorePickupQuote module […]