CSS and JS Problem fro mFast Velocity Minify

I have an issue with x-theme after using Fast Velocity Minify.

I am now aware that it should not be used with the theme, but now if I deactivate it my JS and CSS are broken. I have been using Fast Velocity Minify for nearly 2 years and have not had a problem however recently there was a “memory exhausted” error that was related to FVM. I deactivated the plugin and the site basically broke. I purged cache, deactivated and reactivated caching plugins, and so forth but the site remained broken. I reactivated FVM and the site goes back together again, with CSS and JS working properly however now my sliders (only visible on mobile and tablet) are not functioning.

So, I am left with two problems:

  1. Deactivated FVM and my website falls apart
    or
  2. Keep FVM activated and my Sliders at the top of most pages in mobile/tablet no longer function.

Is there a way that I can discontinue using FVM but not have the site JS and CSS break?

Thank you in advance.

Hi There,

Thanks for writing in!

We are really sorry that you are facing such issue in your website.
I think this is due to some corrupt CSS or JS code in theme file even this happens after the plugin is inactive and cache is clear.

The best way to get ride of the issue as well as the plugin is, deactivate and delete the plugin files via FTP and clear all of your browser and server level cache. Move all of your custom CSS and JS code that you have added to the theme to child theme file, and check if there is any error in the code. Lastly delete the parent theme files via FTP and re upload a fresh copy of the theme.

I understand that you are not using child theme, but this is the best practice to add custom CSS and JS code to your site to avoid any error.

After you get ride of this issue you can check following points for the cornerstone issue.

  1. Ensure everything is up to date according to our version compatibility list at https://theme.co/apex/forum/t/troubleshooting-version-compatibility/195. Please follow the best practices when updating your theme and plugins. See https://theme.co/apex/forum/t/setup-updating-your-themes-and-plugins/62 for more details.
  2. Clear all caches including browser cache then deactivate your caching plugins and other optimization plugins.
  3. If you’re using a CDN, please clear the CDN’s cache and disable optimization services.
  4. Test for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
  5. Remove custom CSS, Javascript and templates.
  6. Reset your htaccess file by renaming it to .htaccess-bak. Then in WP Admin Menu, go to Settings > Permalinks and just click the Save Changes button.
  7. Contact your host to increase your allocated memory or do it yourself by adding this code in your wp-config.php
    define( ‘WP_MEMORY_LIMIT’, ‘256M’ );
    define( ‘WP_MAX_MEMORY_LIMIT’, ‘512M’ );

Please let us know how this works.

Thanks

Thank you. I will be working on this today and will check back if I have any progress or issues. Much appreciated.

You’re always welcome.
Our staffs will response our thread as soon as you have something.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.