I need some guidance on below query related to sonarqube & magento 2: How to install sonarqube? How to validate & generate report for Magento 2 modules using sonarquobe? I know codeSniffer being used Magento 2. Need suggestion & help on sonarqube magento 2 only.
Magento2
I clicked forgot password and then input data. I received message reset password, so I send change password but got error like this. How can I fix it?
Refused to send form data to 'https://example.com/customer/account/logout/' because it violates the following Content Security Policy directive: "form-action 'self' secure.authorize.net test.authorize.net pilot-payflowlink.paypal.com www.paypal.com www.sandbox.paypal.com *.facebook.com ". I really don’t understand that I have added ‘https://example.com/’ into csp_whitelist by form-action. But it still does not work.
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 […]
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 […]