We use Magento 2.4.2 p2 We see in our log the following. PHP Warning: preg_match(): Allocation of JIT memory failed, PCRE JIT will be disabled. This is likely caused by security restrictions. Either grant PHP permission to allocate executable memory, or set pcre.jit=0 in /home/public_html/vendor/magento/framework/Filesystem/DirectoryList.php on line 181 So I […]
Magento
I am trying to save the existing cms page getting Custom layout update is invalid after upgrading 2.3 to 2.4.4 p2 getting this error. if I save a new page saving properly works fine I have checked the below function public function isValid($value, $schema = self::LAYOUT_SCHEMA_PAGE_HANDLE, $isSecurityCheck = true) placed […]
Is it possible to have a customer group/user group using 1 specific CSS file. Maybe have a database with all store names in and different groups and the CSS file they use from a server?
I have a custom attribute which has 15 text values. I am using $_product->getResource()->getAttribute($attributecode)->getFrontend()->getValue($_product); . In catalog page I have used above code get the text value of attribute for every product in for loop, is it impacted on performance ? Above code everytime call in database to get the […]
For our store, we’d like to replace existing sku’s with new sku’s when the inventory reaches 0. We don’t want to discontinue the product. We’d also like to have the new sku associated with the old one. How can we make this happen?
I am getting this error after I change the attribute set and save the product: Fatal error: Uncaught Error: Call to a member function getBackendTable() on boolean in /chroot/home/aa8492ec/018d4ad51c.nxcli.net/html/vendor/magento/module-catalog/Model/ResourceModel/Product.php:350 Stack trace: #0 /chroot/home/aa8492ec/018d4ad51c.nxcli.net/html/vendor/magento/module-catalog/Model/ResourceModel/Product.php(331): MagentoCatalogModelResourceModelProduct->deleteSelectedEntityAttributeRows(Object(MagentoCatalogModelProductInterceptor), Array) #1 /chroot/home/aa8492ec/018d4ad51c.nxcli.net/html/vendor/magento/module-catalog/Model/ResourceModel/Product.php(304): MagentoCatalogModelResourceModelProduct->removeNotInSetAttributeValues(Object(MagentoCatalogModelProductInterceptor)) #2 /chroot/home/aa8492ec/018d4ad51c.nxcli.net/html/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1942): MagentoCatalogModelResourceModelProduct->_afterSave(Object(MagentoCatalogModelProductInterceptor)) #3 /chroot/home/aa8492ec/018d4ad51c.nxcli.net/html/generated/code/Magento/Catalog/Model/ResourceMod in /chroot/home/aa8492ec/018d4ad51c.nxcli.net/html/vendor/magento/module-catalog/Model/ResourceModel/Product.php on line 350 Any help […]
I want to display the product with the Image and the Price with the Product Name in the search bar while Searching in the Search bar.
I have created one UiComponent form using one datasource. Now i want to add the custom field inside this form but this field data will come from separate collection. So how can i use the different source for this new field? Any suggestions? Thanks
For example: The css classes applied to primary buttons are .primary and .action I know that because I inspected the element on a live page. I want to find the css classes applied to buttons with icons but I don’t have one on my page. How can I tell what […]