Forum Replies Created

Viewing 15 replies - 226 through 240 (of 301 total)
  • Plugin Support wpmansour

    (@wpmansour)

    It seems like the site is under construction while trying to access staging30.dev.meditateinwellington.org

    Plugin Support wpmansour

    (@wpmansour)

    To address the issue of your cache rapidly growing and needing frequent purges, here are some specific steps you can take:

    1. Exclude Certain Pages from Caching:
      • Identify pages that do not need to be cached and exclude them. This can help reduce the overall cache size.
      • Go to WP-Optimize > Cache > Advanced Settings and add URLs to the exclusion list.
    2. Regular Database Optimization:
      • Regularly optimize your database to remove unnecessary data like post revisions, trashed posts, and spam comments.
      • Go to WP-Optimize > Database and schedule regular cleanups.
    3. Optimize Images:
      • Compress images to reduce their size, which can help with overall storage use and indirectly manage cache size.
      • Go to WP-Optimize > Images and enable automatic image compression.
    4. Consider Increasing Server Storage:
      • If feasible, increase your server storage capacity to handle the cache size more comfortably. Contact your hosting provider to explore options for increasing storage.

    Unfortunately, WP-Optimize does not have a direct feature to limit cache size, and increasing the cache lifespan further might be necessary to avoid repetitive purging.

    Plugin Support wpmansour

    (@wpmansour)

    The discrepancy between the number of trashed posts reported by WP-Optimize and the actual number of trashed posts in the WordPress Trash can be due to a few factors:

    1. Database Records: WP-Optimize may be detecting orphaned database records that are marked as trashed but not visible in the WordPress Trash can. These could be remnants from previously deleted posts that were not fully cleaned up.
    2. Post Revisions: WP-Optimize might include post revisions, auto-drafts, or other post types in its count of trashed posts. WordPress Trash may only show the primary posts and not these associated records.
    3. Cache Issues: There could be a caching issue causing the numbers to be out of sync. Clearing your site’s cache and re-checking the numbers might help.
    4. Plugin Conflicts: Conflicts with other plugins that manage or modify post statuses might cause inconsistencies in the trashed post counts.

    To address this, you can try the following steps:

    • Optimize Database: Use WP-Optimize to run a full database optimization. This might clean up orphaned records and synchronize the counts.
    • Clear Cache: Clear any caching mechanisms you have in place, both server-side and browser cache.
    • Review Revisions: Check if WP-Optimize is including post revisions or other post types in its trashed post count.

    If the issue persists, you may want to manually check the database tables for any inconsistencies or orphaned records.

    Plugin Support wpmansour

    (@wpmansour)

    Thank you for bringing this to our attention. The issue you’re experiencing with outdated feed versions in some readers is likely due to caching. Since you mentioned that disabling the cache resolved the issue, it’s possible that the cached version of your feed wasn’t refreshing correctly.

    To ensure that the feed cache updates properly without disabling caching entirely, you can try the following steps:

    1. Clear Cache: Manually clear the cache in WP-Optimize after making updates to your feed. This can be done from the WP-Optimize cache settings.
    2. Adjust Cache Settings: Configure WP-Optimize to exclude your feed URL from being cached. You can do this by adding /feed to the “URLs to exclude from cache” field in the advanced cache settings.
    3. Cache Lifespan: Adjust the cache lifespan settings to ensure that cached versions are refreshed more frequently. Setting a shorter lifespan can help keep the cached content more up-to-date.
    4. Preload Cache: Enable and configure the cache preloading feature to ensure that the latest versions of your content, including the feed, are cached.
    5. Check for Conflicts: Ensure there are no conflicts with other caching plugins or server-side caching that might be affecting the feed.

    If you need further assistance or if the issue persists, please let us know. We’re here to help!

    Plugin Support wpmansour

    (@wpmansour)

    Great to hear that you resolved the issue with your provider by creating an empty advanced-cache.php file in the wp-content folder. That can indeed solve the problem in some cases.

    Plugin Support wpmansour

    (@wpmansour)

    Hello,

    You’re welcome! I’m glad to hear that ??

    Best regards,

    Plugin Support wpmansour

    (@wpmansour)

    Hello,

    Thank you for your feedback. We understand the importance of automatic cache management and apologize for any inconvenience you are experiencing.

    The WP-Optimize’s functionalities are working as intended on our staging environment:

    1. Automatically clearing the cache at specified times.
    2. Automatically clearing the cache for the home or the entire site after publishing a new post.

    To troubleshoot why these features are not working on your site, please follow these steps:

    • Ensure Cron Jobs Are Running:
      • Verify that WordPress cron jobs are enabled and functioning properly. Check for the DISABLE_WP_CRON setting in your wp-config.php file and ensure it is set to false.
    define('DISABLE_WP_CRON', false);
    • Check for Plugin or Theme Conflicts:
      • Deactivate all other plugins and switch to a default theme (e.g., Twenty Twenty-One). Then, reactivate WP-Optimize and test if the cache functionalities work. If they do, reactivate your plugins and theme one by one to identify any conflicts.
    • Server Configuration:
      • Ensure your server configuration supports cron jobs and has no restrictions that might prevent WP-Optimize from running its scheduled tasks. If necessary, set up a real cron job on your server to trigger WordPress cron jobs.
    • Setting Up a Real Cron Job:
      • Access your server’s cron settings (via cPanel or SSH) and add the following line:
    * * * * * wget -q -O - https://yourdomain.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1

    This cron job will run every minute. Make sure to replace https://yourdomain.com with your actual domain name.

    • Review WP-Optimize Settings:
      • Double-check the WP-Optimize settings for cache management to ensure they are configured correctly.

    If these steps do not resolve the issue, there might be a deeper problem with your specific setup, server environment, or conflicts with other plugins/themes.

    For more robust features and dedicated support, consider upgrading to WP-Optimize Premium, which allows us to directly investigate and resolve issues on your site.

    Thank you for your understanding and cooperation.

    Best regards,

    • This reply was modified 6 months ago by wpmansour.
    Plugin Support wpmansour

    (@wpmansour)

    It looks like the issue is fixed, and I see a working website now: https://havenhorizons.com with WP-Optimize cache running on it. – https://prnt.sc/dVG7L3IeaaRf

    From your screenshot, I see two issues from the console:

    1. jQuery is not defined:
    • This error occurs because jQuery is not loaded or defined before your script tries to use it.
    • Checking for any conflicting plugins or scripts that might be deregistering jQuery or loading it incorrectly.

    2. HTTPS Error:

    • This error is because resources are being requested over HTTP instead of HTTPS, causing mixed content issues.
    • It can be fixed by:
      • Using a plugin like Really Simple SSL to automatically update URLs.
      • Manually checking and updating the URLs in your theme, plugins, and the WordPress database.
      • Also, make sure to use the .htaccess file to enforce HTTPS
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>

    These steps should help maintain a secure and properly functioning website.

    Plugin Support wpmansour

    (@wpmansour)

    Hello,

    Thank you for your update. I’m glad the Astra theme issue is resolved.

    For the MetForm plugin, let’s try adding two extra files (app.js & htm.js) with the following steps:

    1. Disable JavaScript Minification for Specific Files:
      • Navigate to WP-Optimize > Minify > JS.
      • Ensure the following files are excluded:
        • /wp-content/plugins/metform/public/assets/js/metform.min.js
        • /wp-content/plugins/metform/public/assets/lib/cute-alert/cute-alert.js
        • /wp-content/plugins/metform/public/assets/js/app.js
        • /wp-content/plugins/metform/public/assets/js/htm.js
    2. Clear the Cache Again:
      • Go to WP-Optimize > Cache and click on Purge Cache.

    These steps should help address the issue with the MetForm plugin. If the problem persists, please let me know, and we can investigate further.

    Best regards,

    • This reply was modified 6 months ago by wpmansour.
    Plugin Support wpmansour

    (@wpmansour)

    Good Morning,

    Minification reduces the size of CSS and JS files by removing unnecessary characters (like spaces, comments, and line breaks) without changing their functionality. This helps improve page load times. However, some themes and plugins might not function correctly if their files are minified.

    After reproducing your scenario in our environment, I identified potential issues with the Astra theme and MetForm plugin when using WP-Optimize’s caching and minification options. Here are the steps to resolve this:

    Exclude the following CSS and JS files from minification and caching:

    Astra Theme:

    • /wp-content/themes/astra/assets/css/minified/main.min.css
    • /wp-content/plugins/astra-addon/addons/nav-menu/assets/css/minified/magamenu-frontend.min.css
    • /wp-content/themes/astra/assets/js/minified/frontend.min.js

    MetForm:

    • /wp-content/plugins/metform/public/assets/lib/cute-alert/cute-alert.js
    • /wp-content/plugins/metform/public/assets/lib/cute-alert/style.css

    Steps:

    1. Navigate to WP-Optimize > Minify > CSS and JS and add the above files to the exclusion lists.
    2. Navigate to WP-Optimize > Cache > Advanced Settings and add the above files to the exclusion list.
    3. Clear the cache by going to WP-Optimize > Cache and clicking on Purge Cache.

    These steps should ensure the Astra theme and MetForm plugin display and function correctly.

    Best regards,

    Plugin Support wpmansour

    (@wpmansour)

    Hi @wabetainfo ,

    At this moment, it is not possible to enable the “Generate separate files for mobile devices” option for a specific page. The decision on whether a request is mobile or not happens at a very early stage and cannot be altered later using the theme’s functions.php.

    If you have any other questions or need further assistance, please let us know.

    Thanks!

    Plugin Support wpmansour

    (@wpmansour)

    I’m sorry to hear that you’re experiencing slow loading times with your blog. Here are some steps to help you resolve this issue:

    1. Plugin Conflicts:
      • Try deactivating other plugins one by one to see if there is another conflict. Sometimes plugins can interfere with each other and cause performance issues.
    2. Database Optimization:
      • Use WP-Optimize to run a comprehensive database cleanup. Go to WP Admin Panel ? WP-Optimize ? Database and click ‘Run Optimization.’ This will help remove unnecessary data and improve performance. Make sure that you take a backup before optimization.
    3. Clear Cache:
      • Clear the cache in WP-Optimize. Go to WP Admin Panel ? WP-Optimize ? Cache and enable caching if it’s not already enabled, then clear the cache. This can help if old or corrupted cache files are causing the issue.
    4. Increase PHP Memory Limit:
      • Increase your PHP memory limit by adding define('WP_MEMORY_LIMIT', '256M'); to your wp-config.php file. This ensures your site has enough resources to run smoothly.
    5. Check Server Resources:
      • Monitor your server’s performance and resource usage. Use tools like Query Monitor to analyze database queries, PHP errors, and overall server performance. Ensure your hosting environment meets the recommended specifications for running WP-Optimize efficiently.

    If you’ve tried these steps and the issue persists, please provide the details from your debug.log file for further assistance.

    Plugin Support wpmansour

    (@wpmansour)

    You’re right that deferring the loading of Gravity Forms can help improve your page speed. While Gravity Forms doesn’t support lazy loading out of the box, you can achieve a similar effect by deferring the scripts.

    Here’s a simple way to start:

    1. Defer Gravity Forms Scripts: You can adjust the settings in WP-Optimize to defer non-essential scripts until the rest of the page has loaded.
      • Enable Lazy Load for Images: Go to WP-Optimize ? Images ? Lazy Load Images and enable lazy loading for both images and videos. This reduces the initial load time.
      • Defer JavaScript: Navigate to WP-Optimize ? Minify ? JavaScript and enable the option to defer JavaScript files. This helps load essential content first and defers the Gravity Forms scripts.

    By following these steps, you should see an improvement in your site’s performance on Google PageSpeed Insights.

    Plugin Support wpmansour

    (@wpmansour)

    Hi,

    Thank you for your patience.

    We have worked on the issue and it appears the original problem (shown here: https://i.snipboard.io/4uBcyW.jpg) is no longer occurring. Could you please provide a screenshot of the console log or the minified HTML so we can inspect which part is broken?

    Additionally, try adding this code to your theme’s functions.php file:

    add_filter('wpo_minify_inline_js', 'return_false');

    This should help to determine if the problem is related to JavaScript minification.

    Let us know if this resolves the issue or if you need further assistance.

    Best Regards

    Plugin Support wpmansour

    (@wpmansour)

    Thank you for your patience. Here is an update regarding the issue with ignoring specific query parameters for caching.

    This feature is not supported in the free version of WP-Optimize because advanced-cache.php is executed before MU-plugins are loaded. This prevents the necessary filters from being applied in time.

    However, the premium version supports this functionality as it loads extensions with advanced-cache.php, ensuring that the filters are applied correctly.

Viewing 15 replies - 226 through 240 (of 301 total)