Title: Shameem Reza's Replies - page 2 | WordPress.org

---

# Shameem Reza

  [  ](https://wordpress.org/support/users/codechef/)

 *   [Profile](https://wordpress.org/support/users/codechef/)
 *   [Topics Started](https://wordpress.org/support/users/codechef/topics/)
 *   [Replies Created](https://wordpress.org/support/users/codechef/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/codechef/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/codechef/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/codechef/engagements/)
 *   [Favorites](https://wordpress.org/support/users/codechef/favorites/)

 Search replies:

## Forum Replies Created

Viewing 13 replies - 16 through 28 (of 28 total)

[←](https://wordpress.org/support/users/codechef/replies/?output_format=md) [1](https://wordpress.org/support/users/codechef/replies/?output_format=md)
2

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] I can’t Update regular_price of a Product Variation via REST API](https://wordpress.org/support/topic/i-cant-update-regular_price-of-a-product-variation-via-rest-api/)
 *  [Shameem Reza](https://wordpress.org/support/users/codechef/)
 * (@codechef)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/i-cant-update-regular_price-of-a-product-variation-via-rest-api/#post-16620232)
 * It sounds like the product variations are not being updated properly due to a
   caching issue. When you send a PUT/POST request to update the “regular_price”
   of a product variation, the changes are reflected in the JSON response but are
   not immediately reflected on the website. However, when you send a request to
   update another field like stock quantity, the changes made earlier on regular_price
   are shown on the website.
 * This behavior suggests that there may be some caching mechanism in place that
   is preventing the updated price from being displayed on the website until another
   change is made. WooCommerce uses various caching mechanisms such as transients,
   object caching, and opcode caching to improve performance.
 * One potential solution is to try clearing the WooCommerce cache manually. This
   will clear all the cached data, including transients and object caches. Once 
   the cache is cleared, try updating the “regular_price” of a product variation
   again via REST API and see if the change is reflected on the website.
 * If the issue persists, it may be worth checking if there are any caching plugins
   installed on your site that could be causing this behavior. Some caching plugins
   have settings that could affect the way WooCommerce caches data, so it may be
   necessary to adjust these settings or even disable the plugin temporarily to 
   see if it resolves the issue.
 * Here are some resoruces that might be helpful:
    - [https://wordpress.org/support/topic/woocommerce-clear-cache-on-stock-update-via-rest-api/](https://wordpress.org/support/topic/woocommerce-clear-cache-on-stock-update-via-rest-api/)
    - [https://wordpress.org/support/topic/woocommerce-rest-api-cache/](https://wordpress.org/support/topic/woocommerce-rest-api-cache/)
    - [https://robotninja.com/blog/fix-common-woocommerce-rest-api-issues/](https://robotninja.com/blog/fix-common-woocommerce-rest-api-issues/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Order complete email not sending](https://wordpress.org/support/topic/order-complete-email-not-sending/)
 *  [Shameem Reza](https://wordpress.org/support/users/codechef/)
 * (@codechef)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/order-complete-email-not-sending/#post-16620179)
 * WooCommerce, and most plugins sending email, send mail by using the `wp_mail()`
   function that is a core function of WordPress.
 * In most cases, if email is not being sent/received, then the issue is not with
   WooCommerce itself, but with the email function on your web host.
 * Please review the WooCommerce email sending FAQ for help, troubleshooting steps
   and solutions here: [https://docs.woocommerce.com/document/email-faq/](https://docs.woocommerce.com/document/email-faq/).
 * Additionally, it could be worth asking the customer to check their email spam/
   junk folders to ensure that the email is not being filtered as spam.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Fatal error: Uncaught Error: Call to undefined function wp_theme_has_theme_json(](https://wordpress.org/support/topic/fatal-error-uncaught-error-call-to-undefined-function-wp_theme_has_theme_json/)
 *  [Shameem Reza](https://wordpress.org/support/users/codechef/)
 * (@codechef)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-call-to-undefined-function-wp_theme_has_theme_json/#post-16618956)
 * Hello [@kubanondrej](https://wordpress.org/support/users/kubanondrej/)
 * This error message is usually caused by an outdated WordPress version or theme,
   or a conflict with a plugin. Here are some troubleshooting steps that you can
   follow to fix the issue:
    1. **Update WordPress and Themes:** Ensure you are using the latest version of 
       WordPress and your themes. You can check for updates by navigating to Dashboard
       > Updates. If updates are available, update them and see if the issue goes away.
    2. **Disable Plugins:** Sometimes, the issue can be caused by a plugin that conflicts
       with your theme. You can try disabling all your plugins and see if the issue
       goes away. If it does, you can start reactivating your plugins individually 
       to find the one causing the issue.
    3. **Check for Compatibility:** Make sure your theme is compatible with the version
       of WordPress that you are using. You can check the theme’s documentation or 
       contact the theme’s developer to confirm compatibility.
    4. **Switch to a Default Theme: **You can try switching to a default WordPress 
       theme (like Twenty Twenty-Three) to see if the issue goes away. If it does, 
       then the issue is likely with your current theme.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Fatal error: Allowed memory size of 1073741824](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-of-1073741824/)
 *  [Shameem Reza](https://wordpress.org/support/users/codechef/)
 * (@codechef)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-of-1073741824/#post-16618949)
 * Hello [@nicoungerer123](https://wordpress.org/support/users/nicoungerer123/)
 * This error message is usually caused by your WordPress site exceeding the amount
   of memory that PHP is allowed to use. There are a few ways to fix this, so let’s
   go through them step by step.
 * **1. Increase PHP Memory Limit**
 * The first thing you should try is increasing the PHP memory limit. This can be
   done by adding the following code to your site’s wp-config.php file:
 *     ```wp-block-code
       define( 'WP_MEMORY_LIMIT', '512M' );
       ```
   
 * If this doesn’t work, you can try increasing the memory limit even further.
 * **2. Disable Plugins and Themes**
 * Sometimes, the issue can be caused by a plugin or theme that is using too much
   memory. You can try disabling all your plugins and switching to a default WordPress
   theme (like Twenty Twenty-Three) to see if the issue goes away. If it does, then
   you can start reactivating your plugins and themes one-by-one to find the one
   causing the issue.
 * **3. Check Your Hosting Environment**
 * If the above steps don’t work, then it’s possible that your hosting provider 
   is limiting the amount of memory that PHP can use. You can check with your hosting
   provider to see if they can increase the memory limit for you.
 * Additionally, here are some helpful links that may assist you in resolving the
   issue:
    - WordPress Memory Exhausted Error: [https://wordpress.org/support/article/common-wordpress-errors/#memory-exhausted-error](https://wordpress.org/support/article/common-wordpress-errors/#memory-exhausted-error)
    - Increasing Memory Allocated to PHP: [https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php](https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php)
    - Troubleshooting WordPress: [https://wordpress.org/support/article/using-the-troubleshooting-guide/](https://wordpress.org/support/article/using-the-troubleshooting-guide/)
 * I hope these steps and resources help you in resolving the issue.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress not showing plugin/core updates](https://wordpress.org/support/topic/wordpress-not-showing-plugin-core-updates/)
 *  [Shameem Reza](https://wordpress.org/support/users/codechef/)
 * (@codechef)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/wordpress-not-showing-plugin-core-updates/#post-16618940)
 * Hello [@drtux2684](https://wordpress.org/support/users/drtux2684/)
 * There could be a few reasons why you are not seeing the updates. Let me guide
   you through some troubleshooting steps that might help you fix the issue:
    1. Check your WordPress site’s settings to ensure you have not disabled automatic
       updates. It could be done using code, Plugin, or Hosting software like Softaculous.
 * 2. Try deactivating all plugins temporarily and then check for updates. If the
   issue resolves, then reactivate each plugin one by one until you find the one
   causing the issue.
 * 3. Check the theme’s functions.php to see whether it has any code to disable 
   WordPress Update nags. The code should look like this:
 *     ```wp-block-code
       function remove_core_updates(){
       global $wp_version;return(object) array('last_checked'=> time(),'version_checked'=> $wp_version,);
       }
       add_filter('pre_site_transient_update_core','remove_core_updates');
       add_filter('pre_site_transient_update_plugins','remove_core_updates');
       add_filter('pre_site_transient_update_themes','remove_core_updates');
       ```
   
 * If none of the above steps work, then there may be a conflict with your WordPress
   installation or hosting provider. In that case, you can try contacting your hosting
   provider to check if they can assist you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] add extra add to cart button](https://wordpress.org/support/topic/add-extra-add-to-cart-button/)
 *  [Shameem Reza](https://wordpress.org/support/users/codechef/)
 * (@codechef)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/add-extra-add-to-cart-button/#post-16618889)
 * By default, WooCommerce only displays one “Add to Cart” button on the shop page
   for variable products. However, there are a few different ways you can add an
   additional button or a pop-up window to improve the user experience for your 
   customers.
 * One option is to use a plugin like [WooCommerce Quick View](https://woocommerce.com/products/woocommerce-quick-view/)
   or [WooCommerce Variation Swatches and Photos](https://woocommerce.com/products/variation-swatches-and-photos/).
   Both of these plugins offer the ability to add a pop-up window with an “Add to
   Cart” button on the shop page. With these plugins, customers can quickly view
   product details and select variations before adding the product to their cart.
 * Another option is to use a custom code to add an additional “Add to Cart” button
   on the shop page for variable products. This will require some knowledge of PHP
   and WooCommerce hooks, so if you’re not comfortable with coding, I recommend 
   contacting a developer who can assist you with this.
 * Here is an example of how you can add an additional “Add to Cart” button for 
   variable products using custom code:
 *     ```wp-block-code
       add_action( 'woocommerce_after_shop_loop_item', 'srdev_add_to_cart_button', 15 );
   
       function srdev_add_to_cart_button() {
          global $product;
          if( $product->is_type( 'variable' ) ) {
             echo '<div class="custom-add-to-cart">';
             woocommerce_template_loop_add_to_cart();
             echo '<a href="' . esc_url( $product->get_permalink() ) . '" class="button alt">View Details</a>';
             echo '</div>';
          }
       }
       ```
   
 * This code snippet will add an additional button with the “View Details” label
   next to the “Add to Cart” button for variable products. You can modify the button
   label and styles as needed.
 * I hope this helps.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Order complete email not sending](https://wordpress.org/support/topic/order-complete-email-not-sending/)
 *  [Shameem Reza](https://wordpress.org/support/users/codechef/)
 * (@codechef)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/order-complete-email-not-sending/#post-16618861)
 * There could be several reasons why the Order Complete email notification is not
   being sent.
 * I suggest checking if the “**Order Complete**” email notification is enabled 
   in the Email settings under **WooCommerce > Settings > Emails**. Please ensure
   that the toggle button is turned on for this email notification.
 * If the email notification is enabled, I would recommend checking the email logs
   to see if any errors are being recorded. You can do this by installing the [WP Mail Logging plugin](https://wordpress.org/plugins/wp-mail-logging/).
   Check if there are any records of the Order Complete email notification being
   sent and if there are any errors reported.
 * Additionally, it could be worth checking your email spam/junk folders to ensure
   that the email is not being filtered as spam. If it is, you may need to whitelist
   the email sender or domain to ensure that future emails are delivered to your
   inbox.
 * You can also install an SMTP plugin, such as [WP Mail SMTP](https://wordpress.org/plugins/wp-mail-smtp/).
   It’s the easiest way to ensure your order emails are delivered to your customer’s
   inbox using a third-party email service like Sendinblue.
 * If none of the above suggestions resolves the issue, it could be worth trying
   to deactivate any third-party plugins or themes interfering with the email notifications.
   You can also check Email FAQs here: [https://woocommerce.com/document/email-faq/](https://woocommerce.com/document/email-faq/).
 * I hope this information helps to resolve your issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] Getting tons of Jetpack Monitor emails since 31st March](https://wordpress.org/support/topic/getting-tons-of-jetpack-monitors-since-31st-march/)
 *  [Shameem Reza](https://wordpress.org/support/users/codechef/)
 * (@codechef)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/getting-tons-of-jetpack-monitors-since-31st-march/#post-16618824)
 * Jetpack Monitor checks your site every five minutes to see if it’s accessible.
   The site appears to be loading now.
 * If your site is slow to load, it could trigger a notice that your site is down.
   Jetpack also sends a follow-up email letting you know how long your site was 
   down or inaccessible.
 * Currently, there’s no way to adjust the time that Monitor checks your site – 
   it’s either on or off. If the frequency of the Monitor notices is bothersome,
   you can always disable the feature. To do that:
    1. Go to Jetpack → Settings → Monitor.
    2. Deactivate the “**Get alerts if your site goes offline. We’ll let you know when
       it’s back up, too.**” option.
 * Here is a visual guide on disabling the Monitor option: [https://imgur.com/a/1bV28qv](https://imgur.com/a/1bV28qv).
 * You can learn more about Jetpack’s Monitor option here: [https://jetpack.com/support/monitor/](https://jetpack.com/support/monitor/).
 * I hope that clarifies things!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] Select only one option in Checkbox Field Type](https://wordpress.org/support/topic/select-only-one-option-in-checkbox-field-type/)
 *  Thread Starter [Shameem Reza](https://wordpress.org/support/users/codechef/)
 * (@codechef)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/select-only-one-option-in-checkbox-field-type/#post-15822647)
 * [@aswingiri](https://wordpress.org/support/users/aswingiri/) No, conditional 
   logic works differently. If you check my form field, then you will see that I
   can select both Yes and No: [https://ibb.co/pbsqttL](https://ibb.co/pbsqttL)
 * I am looking for a way so that a user can select either Yes or No, both together.
 * I hope my requirement is clear now.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] Bookmark user Profile for future Access](https://wordpress.org/support/topic/bookmark-user-profile-for-future-access/)
 *  Thread Starter [Shameem Reza](https://wordpress.org/support/users/codechef/)
 * (@codechef)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/bookmark-user-profile-for-future-access/#post-15821929)
 * Dear [@gelieys](https://wordpress.org/support/users/gelieys/) I am not referring
   to paid add-ons support. I am looking for a way to do it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] Custom Error Message for Custom Field](https://wordpress.org/support/topic/custom-error-message-for-custom-field/)
 *  Thread Starter [Shameem Reza](https://wordpress.org/support/users/codechef/)
 * (@codechef)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/custom-error-message-for-custom-field/#post-15819621)
 * Thanks [@missveronicatv](https://wordpress.org/support/users/missveronicatv/)
 * I resolved it another way. However, I appreciate your kind reply and solution.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] Restrict content on a page/post based on Registration filed answer](https://wordpress.org/support/topic/restrict-content-on-a-page-post-based-on-registration-filed-answer/)
 *  Thread Starter [Shameem Reza](https://wordpress.org/support/users/codechef/)
 * (@codechef)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/restrict-content-on-a-page-post-based-on-registration-filed-answer/#post-15819593)
 * Thanks, I have managed this option in another way.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] Custom Error Message for Custom Field](https://wordpress.org/support/topic/custom-error-message-for-custom-field/)
 *  Thread Starter [Shameem Reza](https://wordpress.org/support/users/codechef/)
 * (@codechef)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/custom-error-message-for-custom-field/#post-15794341)
 * Thanks for your kind reply. I am already using those code. Is there any way to
   limit the maximum age limit as well?

Viewing 13 replies - 16 through 28 (of 28 total)

[←](https://wordpress.org/support/users/codechef/replies/?output_format=md) [1](https://wordpress.org/support/users/codechef/replies/?output_format=md)
2