QUICK TIP - Top Common Errors on WordPress make your headache!

0 7,255
:1of4
1
2
3
4
headache-migraine | A&H Business Technology
Related posts

If you are a WordPress user who likes to get your hands dirty with the codes, or one who just loves installing plug-ins and changing themes, you’ll understand that encountering an error is an inevitable occurrence. WordPress users (like us) know how frustrating it is to stumble into an unexpected error and not be able to find a solution for it. Most WordPress problems are solvable; If you hit an error, don’t fret because chances are, some other WordPress user had the same problem and had already gotten it solved.

In today’s post, we take a look at some of the most common WordPress errors users have encountered, and share with you the solutions to fix those problems or make them go away. We hope this will comes in handy for you – happy WordPressing!

Top Common Errors on WordPress make your headache! Why? At the first look, they seem to be easy to fix however; if you go to the wrong ways you will spend a lot of time to fix or you don’t know where you can start fixing. The solutions were tested on:

  • WordPress version 5.xxx
  • PHP version 7xxx

 

1. add new plugins

Error occurs when you attempt to install new plugins.

error

How to fix

Solution1: Go To Dashboard -> Update -> On You have the latest version of WordPress, click Re-Install Now.

Solution2: Set debug mode to false in config file : wp-config.php

Solution3: Remove all transients from db via the Litespeed Cache plugin or any plugin of your choice such as WP Rocket …

2. WP-Rocket plugin using otimization & combine CSS/JS Setting

Error

Website have errors in front-end after install and active its settings. Some errors like everything is work on chrome & Firefox but your website did not work on Safari… It means that 90% of the issue is setting on WP-Rocket.

How to fix

Step1: Disable WP-Rocket plugin and check the issue again. If the errors do not exist, we will go to step 2.
If not, it causes by some other reasons.
Step2: Now, we know exactly the reason that come from WP-Rockect. So, there are 2 key options of setting that you need to check is CSS combine & JavaScript combine issues. There are 2 solutions for the issues below:

Resolving Issues With CSS Minify / Combine

To resolve display issues that may occur when CSS Minify /Combine is active, please take the following steps:

  1. Install the Blue Button Chrome Extension: https://chrome.google.com/webstore/detail/blue-button-the-webpage-x/ahbcoeleapdfhmlnjglbiaddohfncace?hl=en-GB
  2. Visit the page on your site with the CSS issue, and add ?nocache to the URL, e.g example.com/about?nocache.

    This bypasses WP Rocket, so that you can find the original URLs (unmodified by WP Rocket) of all CSS files.
  3. Click the Blue Button in your Chrome toolbar, then click Stylesheets:This gives you a list of all CSS files loaded on that page.
  4. Copy the list of files, then go to WP Rocket Settings > File Optimization and paste the list into the Excluded CSS Files field:
  5. Save the settings and check your site, in a logged-out or incognito window. It should now be displaying correctly.
  6. Now remove each file from the list, one-at-a-time. After each removal, save the settings and check your site. Repeat this until the website is broken again.
  7. When the website breaks, replace the last removed file back into the list and move onto the next file.

 

Find the right JS files to exclude from minification

JavaScript minification can be quite hard to troubleshoot, especially when you have a lot of files. We describe a process in our doc Resolving issue with file optimization, which is essentially a process of elimination. However, sometimes it’s possible to more directly identify and exclude the problematic files.
Heads up! If you have File Optimization→Basic Settings→Remove Query Strings enabled, make sure to disable it while troubleshooting.

TinyURL for this post: https://tinyurl.com/y6d9zsbf

Sorry, The Comment Form Is Temporarily Closed At This Time
:1of4
1
2
3
4
1
Next
You may also like

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Language:English