I’ve close to 5000 closed consumer’s questions in assist electronic mail now. Normally, folks write one thing like “my web page doesn’t work, what I would like to do”. Then, I would like to write a number of emails to consumer to perceive what’s the drawback. You know, builders didn’t research at Hogwarts and we are able to’t know drawback with out details about it. So, I would like to write simple methods which make it easier to to localize drawback and ship to assist all info to make resolving course of extra sooner

Fisrt of all, we’d like to perceive sort of drawback. There are a number of most typical points:

White display screen of demise.

This implies, that your web site has error which breaks all executed features and stops all code. This may be syntax error in code, incompatibility along with your server extensions, calling of non existed features in code, incompatibility with php model on server and even viruses. You can localize such error if you happen to enable debug mode in WordPress.

Some elements of web page aren’t working

The issue could be as in earlier case. However distinction is which you could login in wp admin dashboard. So, I like to recommend to setup plugin Debug. It does the identical job as you are able to do in wp-config.php file, however you are able to do this from admin panel, with out ftp. Normally, if in case you have error on web page which breaks solely a part of web page – you will see error in place the place appropriate code is completed and error begins. Generally, error will likely be hidden on web site, for instance, if this half has show:none in css. However, you may allow error log in plugin and discover code of error in log.

Scripts aren’t working

Normally, you’ll find such error when one in all script just isn’t working. For instance, slider. Or, it’s working, however not correctly. That is js error. Normally, it occurs when you could have incompatibility with completely different scripts or syntax error in js code. Additionally, I discover this error when folks use some minify js plugins or server caching of scripts, like rocketloader. Downside with such extensions is that they will minify scripts not accurately. One in every of factor with js code is that if in case you have one error in a single script, often, all scripts turn into damaged on web site. This is usually a head ache additionally as a result of many builders use ajax features now that are js code associated which additionally turn into damaged. For instance, you may’t save settings in admin panel.

To start with, you want to see net console. Completely different OS and browsers have completely different approach for this, however, usually, you may open console with  keyboard shortcut Command + Choice + J (Mac) or ManagementShift + J (Home windows/Linux). That is how one can get it in Chrome.

You will discover pink textual content in console if in case you have error. Additionally net developer instrument has possibility to see what you could have in ajax requests and response

System info

It’s a quite common drawback when you could have plugins or themes which have some requirement out of your server (extensions, reminiscence restrict). However you don’t have sufficient highly effective system. For instance, I’m confused what number of hosters use previous variations of php (<5.3) on their servers. Such incompatibilities can break your web site or work of plugin. So, to begin with, you want to know what you could have in your server. Plugin Snapshot System will help to do that from admin panel. Additionally, I’ll let you know which of factors are most necessary and what errors they will trigger.

My web site don’t need to import…

Many themes present now demo content material. Generally you may’t import them, as a result of your server has too small execution time. So, it simply can’t unpack zip file on this time. That is level which is necessary in system snapshot. It’s good if in case you have greater than 60.

My web site can’t activate license or get knowledge from exterior web site

Distant management and entry turn into common an increasing number of in our days, particularly as a result of wordpress added REST API in final updates. Many builders makes use of distant features. For instance, if you would like to parse Amazon or Ebay, activate license of paid theme or plugin, get knowledge from exterior web site. All of this requires particular extension in your web site. Normally, builders makes use of cURL, file_get_content, wp_remote_get. This requires subsequent extensions. Make it possible for your server has them and they’re enabled

My admin web page works very sluggish

Normally, it’s because you could have too small reminiscence restrict. Present model of wordpress works good if in case you have 128mb and extra. However, many hosters can restrict reminiscence restrict by default to 64mb (and improve it if you happen to ask this). Test subsequent

Ask your hoster to improve reminiscence restrict if in case you have lower than 128mb

My plugin doesn’t work

Generally, it’s because you could have outdated php model. Test subsequent and ask hoster to improve model if in case you have lower than 5.3

Lastly

Now you know the way to localize drawback and you may write to assist error code which can assist us to resolve drawback extra shortly.