So I’m facing an error in my custom query. Multiple queries is being run to get category tree and for each category I’m mapping a table to temp table. example – // $this->resource is object of MagentoFrameworkAppResourceConnection $indexTable = $this->resource->getTableName("main_table"); $indexTableTmp = $this->resource->getTableName("my_temp_table"); $this->resource->setMappedTableName($indexTable, $indexTableTmp); Now in the for loop […]
Magento
After migrating from Magento 1 to Magento 2.4.5 using the official migration-tool i’m having trouble logging in to customer accounts. Attempting to force the hash upgrade using the command “bin/magento customer:hash:upgrade” results in the following error: str_pad(): Argument #3 ($pad_string) must be a non-empty string#0 /public_html/vendor/magento/framework/Encryption/Encryptor.php(583): str_pad('', 16, '') #1 […]
I have 2 websites, A is required, B is not required, by default scope is required. (Already set as that on customer attribute) I have a customer attribute for some reason is giving me required, but for his website scope shouldn’t be required. (on the admin customer form edit) If […]
Magento 2.4.2-p1 Smartwave Porto theme 13 extensions from Amasty We have the Amasty’s One Step Checkout but we don’t use it (it’s disabled but the Amasty One Step Checkout base is still intaleld). Everything used to work for customers ordering on mobile devices but now, when you click on ‘Go […]
I am trying to show products number correctly in product list, but if click Load More button, added all products = Before click Load More = After click Load More And exception.log [2023-01-11 17:46:52] main.CRITICAL: Cannot gather stats! Warning!stat(): stat failed for /home/caterin1/test.cateringspares.com.au/pub/static/adminhtml/Magento/backend/en_AU/mage/requirejs/mixins.js {"exception":"[object] (Magento\Framework\Exception\FileSystemException(code: 0): Cannot gather stats! Warning!stat(): […]
at magento admin base url static and base url media are on http://domein.nl/static/ and http://domein.nl/media/ new photos are saved properly in pub/media/catalog/products// however on the website the photos of the product page are requested via the path pub/media/catalog/products/* instead of media/catalog/products/* so with starting with pub instead of media. the […]
I have a custom customer attribute that appears under the customer account section. What would be the steps to populate this attribute with data from the custom table programmatically in adminhtml? Can I someone point me in the right direction?
I want to create a new Magento Status in the backend using Data Patch. Anyone having any idea on how to process that? Thanks, Rashi
I had by mistakenly created a complete refund of the products and i did cancelled the Credit memo by following this post. Delete/undo wrong credit memo The status of the credit memo shows cancelled now, and the order status is processing. Now i want to again create a credit memo […]