Category: PHP
-
Condition types for addAttributeToFilter in Magento2 Collections
-
How to fix Invalid template file error in Magento2 after version upgrade?
This is a very common issue you will face if you using windows machine for development. Usual error message is: So whats the solution? In case of windows, just replace this function isPathInDirectories in vendor/magento/framework/view/element/template/file/validator.php Reference: https://magento.stackexchange.com/a/255585/32283
-
Fixing broken “screen options” in wordpress site
So probably you chose “Number of items per page” as 1000 or 200 and now the page doesnt load anymore because your database ran out of memory. If that is the case, run the above query on phpmysql or any other way, edit the numbers and fixed!
-
How to limit ajax apis for your origins (Access-Control-Allow-Origin headers)
-
Sample .htaccess for Laravel with PHP FPM
-
Gravityforms limit submission – once for user, unlimited for guest
File: gp-limit-submissions/includes/GPLS_Rule_User.php Plugin: https://gravitywiz.com/documentation/gravity-forms-limit-submissions
-
How to add Buy Now button on Product page – WordPress/woocommerce?
Change && to &&
-
How to get Gravity forms entry value by label?
-
How to edit wordpress woocommerce order api responses (legacy + latest)
-
Standalone script to print all published post IDs in WordPress