Skip to content

magento man

How to parse or convert array to Magento classes in custom renderer webapi

I’m trying to implement a Renderer for the Webapp, an addition to the existing ‘application/json’ and ‘application/xml’ renderers. Implementation of the RendererInterface: class CustomRender implements MagentoFrameworkWebapiRestResponseRendererInterface { /** * Render the data * * @param object|array|int|string|bool|float|null $data * @return string… Read More »How to parse or convert array to Magento classes in custom renderer webapi

Modify price-utils.js by mixin

I’m trying to modify price-utils.js to add function that change price numbers to English. I’ve created price-utils-mixin.js in VendorThemewebjs: define([ ‘jquery’, ‘underscore’ ], function ($, _) { ‘use strict’; return function (target) { target.formatPrice = function formatPrice(amount, format, isShowSign) {… Read More »Modify price-utils.js by mixin

Away From ClubHosty – Scammers, Extorting Money

I purchased a cloud hosting from ClubHosty two months ago. Last week, they suspended my hosting service, citing “abuse” as the reason, which… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1922861&goto=newpost

Constant OpenSearch Errors

My error log is absolutely full of these errors, how can I fix it? Magento ver. 2.4.6-p2 main.CRITICAL: OpenSearchCommonExceptionsBadRequest400Exception: {“error”:{“root_cause”:[{“type”:”query_shard_exception”,”reason”:”failed to create query: For input string: “61/””,”index”:”magento24_product_1_v301″,”index_uuid”:”em82lOqXTkySgFh9YcOwMA”}],”type”:”search_phase_execution_exception”,”reason”:”all shards failed”,”phase”:”query”,”grouped”:true,”failed_shards”:[{“shard”:0,”index”:”magento24_product_1_v301″,”node”:”7WokmqWuTf6qXlMGpbPeXA”,”reason”:{“type”:”query_shard_exception”,”reason”:”failed to create query: For input string: “61/””,”index”:”magento24_product_1_v301″,”index_uuid”:”em82lOqXTkySgFh9YcOwMA”,”caused_by”:{“type”:”number_format_exception”,”reason”:”For input string: “61/””}}}]},”status”:400} in… Read More »Constant OpenSearch Errors