Python is the most preferred programming language in 2020

Programming languages play a vital role in a programmer’s life to help build a great career, especially when the software world is full of thousands of programming languages. As a matter of fact, more than 50 programming languages have been added in this year’s Code Gladiators event, an annual coding competition by TechGig, to give programmers the ability to work in their preferred programming language.

Here is the key takeaway –

– Python is clearly the programming language that rules the hearts of more than 50% of software programmers.

– The charm of Java is imperishable even when a lot of new programming languages are emerging every day. Java is the second most-preferred programming language among coders.

– C and C++ have proved that old is always gold. 12% of the poll respondents have voted for these.

– JavaScript was on quite a hype in recent year but still, it has to go a long way to top the preferred language list.

– Ruby, PHP, and C# are no more able to lure a large number of programmers.

– Even when backed by Apple, Swift has failed drastically to win the hearts of programmers.

To get a clear picture of the poll responses, please refer to the image below.

Top 6 programming languages you should learn that will get you job in Year 2020

As technology updates, there are new coding languages created every year to keep up with the rapid developments. Yes, there are specific roles and jobs that require you to learn a particular language, but most jobs and companies require a wide understanding and knowledge of languages.

Knowledge of multiple languages lets you apply for your preferred jobs, ask for a better pay pack from your employer, and overall turns you into a versatile developer. Here are some programming languages that you should learn in 2020.


For developers working on server-side and client-side programming, JavaScript is a popular coding language. What makes JavaScript a one-hit-wonder is its high speed, regular updates, and its compatibility with other programming languages.


Easy to learn with a well-structured code, Python is the most popular coding language amongst the developers. Python is largely used in Machine Learning, web and desktop applications, and GUI applications. Since it offers a large variety of open-source libraries, application development becomes extremely easy with Python.

Declared by Android as its official language, Kotlin interoperates with Java, making Android development faster and easier. Due to its strong tooling support, Google will soon be promoting Kotlin more than Java. Most apps that run on Java are being rewritten in Kotlin and thus, it becomes essential to learn this language in 2020.

Java has been the most popular programming language for server-side applications for almost 24 years now. Java is an object-oriented programming language and is the most preferred language for developing platform-independent and robust applications. Easier to learn and manage, this language requires no hard infrastructure and is easier to learn than other languages, such as C++ or C.

A fairly new programming language, Go is the fastest growing language on GitHub, expected to replace languages like Java and C++. Owing to it solving issues like slow compilation, Go is the fifth most preferred language among developers, according to a survey by Stack Overflow.

Even a basic knowledge of C# opens the doors of opportunities for you as a developer. Generally used for developing mobile apps, games, and enterprise software, the language was developed by Anders Hejlsberg led Microsoft and team. C# is a lot similar to Java and for people with basic knowledge about C, C++, or Java, learning C# can turn out as a cakewalk.

Having a thirst for learning as many programming languages as possible can be seen in every aspiring developer and coder. Learning languages according to their popularity and the career growth associated with them can help you reach the height of success you deserve, in the near future.

How To Remove Category From Your WordPress URLs

Categories are a very important feature of any WordPress website. They are very helpful to maintain or browse a website. They tell you what’s related to what and they give your visitors a good way to browse your site. But sometimes they are not serving your URL structures. Then what should you do?

Don’t worry guys we have are here to help. Today we are going to show how to fix this. Meanwhile you may also interested in 20 Reasons Why You Should Use WordPress For Your Website

So, there are different ways to achieve the same and we are going discuss them one by one.  Just remember that if you have a fresh WordPress installation then set up permalinks as you want. But if you are changing permalinks structure on a live website, do properly, redirect old URLs to new ones to avoid loses.

Remove Category from WordPress URLs with a Dot

  1. Go to Settings -> Permalinks.
  2. Select Custom Structure and put /%category%/%postname%/ there.
  3. Assign a dot to the Category base field and save the change.

The below picture will help you to understand.

Please remember that providing dot to Category base in settings is a must. As leaving it blank will use the default value. Visit a post after saving settings and check the URL, it won’t have the category base now. While this trick currently works, there’s no assurance that it will work in the future as well.

Remove Category From Your URLs with .htaccess

RewriteRule ^category/(.+)$$1 [R=301,L]

You can also add this code to your .htaccess file through FTP rather than using a dot. Add the code before the closing </IfModule> tag in the file and it will remove the category slug from WordPress permalink.

What if I am using Yoast SEO Plugin

The current version of SEO by Yoast plugin has discontinued the option of category removal from URLs. The last version had the option in the Advanced menu of plugin settings. The websites, who are using Yoast for a long time, still have their URLs without the category base.

If you’ve installed Yoast plugin on your fresh WordPress website, check the post URLs as well. While we’re not sure, the feature might be still there and working silently. Else there are other plugins as well to remove category slug.

Removing Category from Slug using a Plugin.

The plugin ‘Remove Category URL’ is much popular and has additional advantages too. You can try the plugin if your website is older than 6 months. It will redirect the old category permalinks to the new ones, which is better for SEO. Also, you don’t need to configure anything or modify a file. Get the WordPress official plugin URL here.

Although you can always write a function for the functionality it makes the site slower. At last, all easy methods to remove the category slug from URLs are there. Do let us know in the comment section which one do you prefer.


How to know That Your WordPress Site is Hacked

1.Sudden Drop in Website Traffic

If you look at your Google Analytics reports and see a sudden drop in traffic, then this could be a sign that your WordPress site is hacked.

There are many malware and trojans out there that hijack your website’s traffic and redirect it to spammy websites. Some of them don’t redirect logged in users which allows them to go unnoticed for a while.

Another reason for the sudden drop in traffic is Google’s safe browsing tool, which might be showing warnings to users regarding your website.
Each week, Google blacklists around 20,000 websites for malware and around 50,000 for phishing. That’s why every blogger and business owner needs to pay serious attention to their WordPress security.

You can check your website using the Google’s safe browsing tool to see your safety report.

2. Bad Links Added to Your Website

One of the most common signs among hacked WordPress sites is data injection. Hackers create a backdoor on your WordPress site which gives them access to modify your WordPress files and database.

Some of these hacks add links to spammy websites. Usually these links are added to the footer of your website, but they really could be any where. Deleting the links will not guarantee that they will not come back.

You will need to find and fix the backdoor used to inject this data into your website. See our guide on how to find and fix a backdoor in a hacked WordPress site.

3. Your Site’s Homepage is Defaced

This is probably the most obvious one as it is clearly visible on the homepage of your website. Most hacking attempts do not deface your site’s home page because they want to remain unnoticed for as long as possible.

However, some hackers may deface your website to announce that it has been hacked. Such hackers usually replace your homepage with their own message. Some hackers may even try to extort money from site owners.

4. You are Unable to Login to WordPress

If you are unable to login to your WordPress site, then there is a chance that hackers may have deleted your admin account from WordPress.

Since the account doesn’t exist, you would not be able to reset your password from the login page. There are other ways to add an admin account using phpMyAdmin or via FTP. However, your site will remain unsafe until you figure out how a hacker got into your website.

5. Suspicious User Accounts in WordPress

If your site is open to user registration, and you are not using any spam registration protection, then spam user accounts are just common spam that you can simply delete.

However, if you don’t remember allowing user registration and notice new user accounts in WordPress, then your site is probably hacked.

Usually the suspicious account will have administrator user role, and in some cases you may not be able to delete it from your WordPress admin area.

6. Unknown Files and Scripts on Your Server

If you’re using a site scanner plugin like Sucuri, then it will alert you when it finds an unknown file or script on your server.

You need to connect to your WordPress site using a FTP client. The most common place where you will find malicious files and scripts is the /wp-content/ folder.

Usually, these files are named like WordPress files to hide in plain sight. Deleting these files immediately will not guarantee that these files will not return. You will need to audit the security of your website specially file and directory structure.

7. Your Website is Often Slow or Unresponsive

All websites on internet can become victims of random denial of service attacks. These attacks use several hacked computers and servers from all over the world using fake ips. Sometimes they are just sending too many requests to your server, other times they are actively trying to break into your website.

Any such activity will make your website slow, unresponsive, and unavailable. You will need to check your server logs to see which ips are making too many requests and block them.

It is also possible that your WordPress site is just slow and not hacked. In that case, you need to follow our guide to boost WordPress speed and performance.

8. Unusual Activity in Server Logs

Server logs are plain text files stored on your web server. These files keep record of all errors occurring on your server as well as all your internet traffic.

You can access them from your WordPress hosting account’s cPanel dashboard under statistics.

These server logs can help you understand what’s going on when your WordPress site is under attack. They also contain all the ip addresses used to access your website which allows you to block suspicious ip addresses.

9. Failure to Send or Receive WordPress Emails

Hacked servers are commonly used for spam. Most WordPress hostingcompanies offer free email accounts with your hosting. Many WordPress site owners use their host’s mail servers to send WordPress emails.

If you are unable to send or recieve WordPress emails, then there is a chance that your mail server is hacked to send spam emails.

10. Suspicious Scheduled Tasks

Web servers allow users to set up cron jobs. These are scheduled tasks that you can add to your server. WordPress itself uses cron to setup scheduled tasks like publishing scheduled posts, deleting old comments from trash, and so on.

A hacker can exploit cron to run scheduled tasks on your server without you knowing it.

11. Hijacked Search Results

If the search results from your website show incorrect title or meta description, then this is a sign that your WordPress site is hacked.

Looking at your WordPress site, you will still see the correct title and description. The hacker has again exploited a backdoor to inject malicious code which modifies your site data in a way that it is visible only to search engines.

12. Popups or Pop Under Ads on Your Website

These types of hacks are trying to make money by hijacking your website’s traffic and showing them their own spam ads for illegal websites. These popups do not appear for logged in visitors or visitors accessing a website directly.

They only appear to the users visiting from search engines. Pop under ads open in new window and remain unnoticeable by users.

Say NO To Large Web Hosting & GET Tiny Web Hosting Today!

Hi guys, what’s up?

So, what is large web hosting, and what is tiny web hosting?

According to, “Large Web Hosting” stand for hosting with large disk space like Dedicated Server, VPS, or maybe shared hosting with “UNLIMITED” Disk Space. ( *Note: most of them is not using latest storage technology, which slow down the loading speed ).

And “Tiny Web Hosting” is a package with latest technology that well-designed by The purpose is to ensure the web hosting package is in high speed, low cost and multi-domain supported using the right storage & specs.

You may check out more from their website as below :


For sure you may ask me why should I choose tiny web hosting instead, below is the reason:

  1. You can start your own website & online business in a lower cost!
  2. 99.99% websites in this world don’t need a large hosting ( including yours! )
  3. Their web hosting comes with faster speed by focusing on technology that provides faster speed like 100% solid-state drive (SSD), more memory/RAM, multi-location servers & many more…
  4. Multiple free bonuses included if you purchase their web hosting package today!

Have a look and I’m sure you will loves their package.


Oh ya, their package come with unlimited domain, database & bandwidth as well.

Remember these offers are quite limited, so you have to check it now and ask the support team about what you need. I strongly recommend you to at least have a look on it.

If you’re reading this blog post too late, then you may have missed it. Don’t leave a comment to complain because there’s nothing I can do. I DID tell you it’s a limited offer 🙂

Tiny Hosty
Get Tiny Web Hosting Today!

Common excuses for not having a Website and the answers

Before starting, let’s take a look at some of the facts- In 2016 India had around 460 million internet users which is around 34.8 % of the total population . Other than that India is the second largest online market, ranked only behind China. By 2021, there will be about 635.8 million internet users in India. Well that sounds quite encouraging!

Now let’s have a look at another aspect- Recent surveys shows that in India, more than 50% of small business especially in the production sector does not have any online presence and most of them have no intention of building one in near future. Now that is quite surprising, isn’t it? Even in this competitive era when clients prefers to search the company on Google, people are hesitating to build their online presence ignoring the fact that a great website design can add magic in their business and can help them in standing out as a brand.

Here are some of the most common excuses that business owners make when asked about a website.

1. I have a small business

Even in this case who would not like to grow his/her business and establish it as a brand? Looking at the number of internet users written above you can’t even imagine how many opportunities you have missed and your potential customer has found them elsewhere by not building your website. A good website design can engage more customers, which helps you in getting quality leads resulting in the overall growth of your business.

2. My industry doesn’t require online presence

That is even amazing! This clearly means less competition for you when you get online. Most of the searches made on the internet nowadays are about products or services.   Imagine a scenario when someone searches for the particular service or product that you provide and you are the only one in the search result. Don’t you feel like a star!

3. I can’t afford it! Website design and development requires a lot of money

Come on! Website design and development nowadays is cheaper than ever. You can now get a static website for your business in less than 10K. In fact a lot of website builder tools are available over internet where you can work yourself and build a website according to your requirements after paying a nominal amount.

4. I have enough Customers

Well! That clearly means either you don’t want to grow as a businessman or you are retiring soon. An old say is “Believe it if I see it” but now a days it is “I will see it if I believe it” and nothing can work better than website when it comes to showcase your skills. Other than that you might have lots of customer today, but what if they find someone else more promising then you tomorrow. Customers keep on looking for better services, Imagine if one your client is searching for same service on the internet and finds your competitor more promising after checking the online portfolio. You are smart enough to figure out the rest.

5. Don’t have time for website maintenance

If you have time for WhatsApp conversations, reading newspapers, checking the emails then you can easily manage your website. Even you don’t have to touch it yourself, Most of the companies nowadays are offering free website maintenance services for full year along with website design and development and after a year you just have to pay a negligible amount in order to renew the maintenance plan.

So stop making excuses, your customers are looking for you. Contact us and get your website designed today.

35 Most Common Interview Questions and How to Answer Them

Interviews can be one of the most challenging parts of trying to get a new job. When you’re selling yourself and your skill set, you need to have just the right answer for everything. When you aren’t sure what interview questions you’ll be asked, it can be difficult to prepare.

Luckily, many interviewers ask the same or similar questions.

If you have an interview coming up, you can prepare by drafting responses to some of the most common questions. To help you get started, here are 35 of the most common interview questions and what you should consider while answering them.

1. Tell Me About Yourself

Almost every interview will begin with this seemingly simple question. While you may be tempted to provide the interviewer with every detail about your professional and personal life, many aren’t looking for such a long-winded answer. Instead, keep your introduction short and to the point. Highlight what you’re most proud of, what suits the position best or what makes you right for the job.

2. What Made You Apply for This Position?

Companies don’t want to hire employees who are just looking for any job. They want to hire individuals who are dedicated to the position, company or industry. To prove you didn’t only apply for this position because you applied to every job posting you saw, describe some specific reasons you want the job.

3. What Do You Know About Our Company?

Interviewers want to hear that you know a bit about the company you’re looking to work for. To prepare for this question, spend some time researching the company, what it does and develop a few talking points that can prove you know the company well.

4. How Did You Hear About This Position?

There isn’t much you can do to to prepare for this question. Let the interviewer know whether you’ve been referred, if you’re a fan of the company or if you found the position on a job board. However, if you found the company on a job board, describe the way it stood out.

5. What Makes You Qualified for This Position?

This question may be easier to answer depending on your experience. However, knowing what particular experience you have and how it relates to the job can help you answer the question the best way possible.

6. Why Should We Hire You?

If you’re directly asked why the company should hire you, don’t get intimidated. Have a pitch prepared that speaks to your accomplishments, skills and abilities. Be ready to sell yourself.

7. What Are Your Biggest Weaknesses?

Getting asked your biggest weakness can be scary. While you don’t want to sabotage your chances of getting the job, you also don’t want to give a response too generic that it seems dishonest. Choose an area that you’re trying to improve in and explain what you’re doing to turn your weakness into a strength.

8. What Are Your Biggest Strengths?

When selecting your strengths to talk about, don’t worry too much about what you believe the interviewer wants to hear. Instead discuss strengths with confidence and provide clear examples of how you excel in that area.

9. Are You Interviewing With Any Other Companies?

While it may seem like a bad idea to talk about the other companies you’re interviewing with, letting the company know you’re considering other positions can actually work in your favor. Creating the appearance of desire around you and your professional skills can be enticing for the interviewer.

10. What Is Your Ideal Work Environment?

During your interview, the interviewer is also trying to determine how well you will fit with the company. When describing what kind of work environment you’re looking for, be honest about what you need while also staying realistic.

11. Tell Me About a Time You Worked as a Team

Teamwork is crucial for any company to succeed. By asking you this question, the interviewer wants to know you’re capable of working with others. Describe a time your team has come together to accomplish a common goal.

12. Why Do You Want This Job?

Getting asked why you want the job can be intimidating. While a better salary, benefits package or location may be the real reason you’re looking for the job, you probably don’t want to answer that way. Instead, answer this question by talking about qualities of the company or specific roles of the position that make this job the perfect fit for you.

13. When Was a Time You Made a Mistake at Work?

During an interview, you are probably scared of admitting your mistakes. However, mistakes happen. Interviewers know it matters more how you solved the problem. Choose a situation where you made a minor mistake at work and describe what you did to make the situation better.

14. Where Do You See Yourself in Five Years?

Interviewers want to know that you’re looking to progress, especially if you want to move forward within the company. Share what you hope to accomplish in the next few years and how that position and company can help you get there.

15. Tell Me About Your Dream Job

Sharing your dream job can help the interviewer understand if this is the right path for you. If your dream job is in a different industry, there is a good chance you’ll eventually be leaving the company. When talking about your dream job, relate it back to the position you’re applying for.

16. Tell Me About Your Ideal Workday

Explaining your ideal workday can help identify whether or not you’ll be happy in the job. If you’re looking for a schedule or environment that doesn’t fit what you’re looking for, you probably won’t be happy in the job. Be realistic about the day you describe.

17. Why Are You Leaving Your Current Position?

This can be a difficult question to answer. While you don’t want to badmouth your current company or manager, you also want to show that the new role is a better fit for you. Focus on what the new position can give you that your current company can’t.

18. Tell Me About Your Management Style

If you’re applying for a management role, your style may influence how well you fit with the organization. Give an answer that is honest but also fits within the culture of the company.

19. How Would Your Managers and Coworkers Describe You?

Try to think up some genuine answers to prepare for this question by pulling from conversations or reviews that you’ve already had. However you answer, remember to be honest in case the interviewer asks your references.

20. What Is Your Most Notable Professional Accomplishment?

Don’t panic if you’re asked this questions and you don’t have awards or standard accomplishments you can point toward. Speak honestly about something you achieved that truly made you proud.

21. What Makes You Different From Other Applicants?

While you may not know who the other applicants are, interviewers may ask this question to find out what you think is unique about yourself. Make a list of things you can bring to the table that you think other applicants may not have. Pull from your unique experiences, skills or techniques and relate them to the position.

22. Tell Me a Time You Went Above and Beyond a Project’s Requirements?

Interviewers don’t want to hire someone that only does the bare minimum. Be prepared to explain a time you were asked to do something and you took it to the next level.

23. How Do You Handle Disagreements With Your Boss?

Disagreements with your boss can happen, but interviewers want to know you handle them appropriately and productively. Be ready to talk about your communication skills and problem-solving skills.

24. Where Are You in the Job-Search Process?

Interviewers want to know what your job-search process has been like. If you’ve just started applying, you may not actually be prepared to accept a position. Stay honest but let the company know you’re searching for the right fit.

25. What Do You Do for Fun?

Your life isn’t just about your job. Interviewers want to know that you have hobbies, goals and interests outside of your career. Answer this question honestly, but consider professionalism when you do.

26. Do You Have Any Leadership Experience?

Leadership experience shows interviewers you can take control of a situation when necessary. Whether or not you’ve had a professional leadership role, discuss a time you led a team or group to accomplish a task.

27. What Would You Expect Out of Management?

Your relationship with your manager or supervisor will typically influence how well you do in the company. Knowing what you expect or need out of the managers you work with will determine whether or not you’ll be a good fit. This question is another one to answer honestly but realistically.

28. What Motivates You?

Interviewers want to see that potential employees are driven to accomplish goals and continue moving forward. Knowing what pushes you to wake up every morning and go to work can help them determine if you’ll do well with the company. While many of us work for the paycheck that comes with it, talk about other motivators like passions, family or interests.

29. What Are Your Favorite Parts About Working in Your Industry?

Talking about what you love about your industry shows you’re passionate about your career and the job. Make a list of favorite things about your job that you can refer to during the interview.

30. What Are the Biggest Challengers You Have With Your Industry?

Interviewers want to know that you recognize your weaknesses and you’re looking to change them. For each challenge, also discuss what you’re doing to overcome it.

31. What Do You Hope to Accomplish in This Position?

Discussing what you hope to accomplish in the job shows you’ve pictured yourself in the company. Relate the specifics of the job description to your professional goals to explain how the position will help you advance your career.

32. How Do You Deal With Pressure?

We all know jobs can be stressful, so knowing you won’t buckle under pressure is important for an interviewer. Talk about some specific things you do to calm your nerves, tackle a situation head on and stay productive. What you do For Relaxation And Reducing Anxiety.

33. What Professional Areas Would You Like to Improve?

This question is similar to asking about your weaknesses or challenges, but it specifically asks about the areas you hope to grow in. Consider the professional areas you will need to improve in order to advance your career, but also talk about the specific steps you’re taking to get there.

34. What Are Your Expectations for This Position?

You want your expectations for the position to align with the expectations the company has for you. Use your knowledge of the company, position and job duties to formulate an answer that lays out a few expectations you have.

35. What Questions Do You Have for Us?

You should have a few questions prepared for the interviewer every time you go into an interview. These questions should relate to the needs of the job, the environment of the job and the expectations of the position.

4 Reasons Why Java is Still #1

It’s the end of 2016, which means that we’ve now finished the “20 Years of Java” celebrations. Actually, although the announcement about Java (and the HotJava browser, which did not enjoy quite the same success) was made publicly on May 23rd, 1995, the first official release of the JDK was on January 23rd, 1996. You could justifiably claim that Java is only now turning twenty. There have been numerous retrospectives on Java, but I thought what would be interesting to look at is the success of Java in its twentieth year.

It’s difficult to accurately measure the popularity of programming languages, but one of the generally accepted surveys is the TIOBE index. This tracks language references through a variety of search engines as well as Google Blogs, Wikipedia and even YouTube. (In writing this entry I learnt something new, which is that TIOBE is actually an acronym for “The Importance Of Being Ernest,” the play by Oscar Wilde. Not sure what that has to do with programming languages, but there you go.).

Looking back at the results over the last fifteen years Java has consistently been either number one or two. Java has jostled for position with C, which was consistently the most popular before Java was launched (how things change: back in 1986 Lisp was number two and Ada was number three). TIOBE have also just announced that Java is their “Programming Language of the Year” for 2015. A great achievement, especially as it was also given the award ten years ago.

As another measure of popularity, Oracle frequently likes to quote the statistic that there are nine million Java developers in the world. If you want a chuckle check out this JAXenter article, which gives some details of how they got to this number. Regardless of the details I think we can all agree there are literally millions of Java developers around the world.

The question to ask is why does Java continue to be so popular? I think there are a number of reasons for this; let’s just highlight four:

1. Practicality
James Gosling has described Java as a “blue collar” programming language. It was designed to allow developers to get their job done with the minimum of fuss, whilst still enabling developers to pick up someone else’s (or even their own) code at a later date and understand what it’s supposed to do. Sure, you can write unreadable code in Java, just as you can in any language, but with good coding conventions it is more readable than many other languages.

2. Backwards compatibility
Sun and subsequently Oracle have made huge efforts to ensure that code written for one version of Java will continue to run unchanged on newer versions. Although this hasn’t always been the case (assertions in Java SE 1.4, enumerations in Java SE 5) and it has sometimes led to implementations that could have been better without compatibility (generics) it is a very compelling feature for developers. There’s nothing worse than taking code that works and having to change it to make it work on a newer version of the platform. That’s just wasted time.

3. Scalability/Performance/Reliability
With over twenty years and thousands of man-years of development, Java is a rock-solid platform that performs on a level that can match or even exceed that of native code (thanks to some of the optimisations made by the JVM using dynamic rather than static code analysis). When it comes to scalability, just look at some of the large enterprises using Java: Twitter (who moved off Ruby-on-Rails to the JVM because RoR wouldn’t scale), Spotify, Facebook, Salesforce, eBay and, of course, Oracle. Hadoop, Cassandra and Spark, the basis of most big data projects, are either written in Java or Scala and run on the JVM. If you want scalability and performance, Java and the JVM is an obvious choice.

4. Freshness
To me this is the big one. Looking at the TIOBE graph there is a significant upswing in Java popularity since October 2014, which is shortly after the launch of JDK 8. JDK 8 was a big change for developers using Java because of the introduction of Lambda expressions and the streams API. Suddenly Java developers could do things in a more functional way without having to learn a whole new language like Scala. These features also make it potentially much simpler to take advantage of multi-core/multi-processor machines without having to write lots of complex and potentially error prone multi-threaded code. With project Jigsaw scheduled for delivery in JDK 9 we’ll see modularity make big enterprise applications much easier to build, deploy and maintain. There are already plans for new language features, like value types, in JDK 10.

I look forward to seeing Java being awarded Programming Language of the Year in another ten years’ time.

15 Common WordPress Errors With Solutions

We all love WordPress, but sometimes it can drive us crazy! Whether its the dreaded white screen of death, an unknown PHP error coming from a plugin or server issues causing our site to crash, it’s never fun. But whenever WordPress decides to act up, don’t worry yourself at all – there is always a solution as you’re going to learn in this post. Get ready to have fun because you and me are going to solve 15 common WordPress errors. So without further ado, let’s start with the most common WordPress error.

1. Internal Server Error

Almost every WordPress user I know has encountered the internal server error at least once. It’s quite annoying because, unlike many common WordPress errors, the internal server error does not tell you what you need to fix. This can be frustrating since the error can be a result of several reasons as you’ll see below.

Internal Server Error Causes:

Some of the possible causes for the Internal Server error are the following:

  • Corrupted plugin functions
  • Corrupted theme functions
  • Corrupted .htaccess
  • Exhausted PHP memory limit

Internal Server Error Solutions:

This error can easily send a beginner into panic mode but worry not, here are some solutions.

a. Edit .htaccess file
Since the internal server error is mainly a result of a corrupted .htaccess file, login into your WordPress root directory via File Manager (or FTP) and rename your .htaccess file to .htaccess.old. Refresh your browser to see if you solved the error. If the error disappeared, go to Settings -> Permalinks and click on the Save Changes button to reset your .htacess and flush write rules. If this does not work, perhaps you need to check your plugins.

b. Deactivate all plugins
A plugin you just installed could be the problem, but that’s great because you know what to uninstall or delete. Other times, this WordPress error may crop up as a result of an old plugin (or several plugins that are incompatible). You won’t know for sure if the problem is your plugins unless you deactivate the plugins.

c. Change Themes
If the problem was not the plugins, perhaps your theme is. Switch to the Twenty Twelve theme and reload your website. If you’re still seeing the error, perhaps you need to upgrade some of your WordPress folders.

d. Repair the wp-admin and wp-includes folders
By this point, you’ve probably solved this WordPress error. But if this is not the case, try replacing your wp-admin and wp-includes folders with newer ones from a fresh WordPress install.

e. Increase your PHP memory Limit
If everything else fails, you have to get down and dirty and mess with a few things on your server. The internal server error can be frustrating, so I don’t expect anything to stop you. Here is a great guide on increasing PHP memory by the good guys at WordPress.If you like taking shortcuts, fire up your code editor and create a text file named php.ini. Inside this file, add this code:


Save and upload the file to the /wp-admin/ folder. If increasing your PHP memory solves the problem, talk to your web host to put a finger on what is exhausting your memory. It could be anything from broken theme functions to poorly designed plugins among other things. Your web host will furnish you with information from your server logs.

2. Auto-Update Failed

WordPress now comes with an auto-update feature that takes care of security, minor bugs and such like things. The feature is pure genius at work. It’s great but sometimes it fails. Considering the auto-update feature does not require any human input, how do you tell when the update fails? You will see one of the following:

  • A PHP error message
  • A blank white screen (Also known as the white screen of death – WSOD)
  • A warning that says the update failed

Update Failed Causes:

  • Internet connection problems during auto-update
  • Broken connection with main WordPress files
  • Incorrect file permissions

Update Failed Solution:

Update your WordPress website manually. If you don’t know where to start, please check out this Updating WordPress – Manual Update post at WordPress Codex.

3. Syntax WordPress Error

My analysis showed that this is a very common WordPress error among people who add code snippets to their WordPress sites. When you encounter this error, you will usually notice something like:

Parse error - syntax error, unexpected $end in /public_html/your_site/wp-content/themes/your-theme/functions.php on line 38

This error needn’t stress you out for it tells you exactly where to find the problem.

Syntax Error Cause:

Many a time, the syntax error is caused by some missing or unexpected character(s) in the problematic file. Most of the time caused by someone less experienced trying to edit the code in a theme or plugin but it could also occur when you’ve installed a new theme or plugin that contains the error.

Syntax Error Solutions:

a. Educate yourself on pasting code snippets into WordPress
As a WordPress beginner, you have a long (but fun) way to go as far as learning WordPress development is concerned. There is no hurry though, so take your time. If you encountered this WordPress error after adding code snippets into your WordPress website, you need to learn more about pasting code snippets into WordPress or you will cause more damage.

b. Fix the affected code
If this WordPress error occurred after updating a plugin or pasting some code from the web, you know exactly where to look. The problem is you can’t fix your code via Appearance -> Editor (or Plugins -> Editor) since the syntax error locks you out of your website.This doesn’t auger well with most beginners, so they freak out. But don’t be, you can easily edit your WordPress files via FTP or File Manager in your cPanel. Find the affected file and fix the code either by removing it or rewriting it correctly.

c. Try a different theme or plugin
If the error began when you activated a new theme or plugin then it’s most likely an error in that theme or plugin. So you might want to find an alternative one or contact the developer so they can fix the error. In some cases you might not be able to log into WordPress in which case you might have to delete the plugin or theme via FTP.

4. Error Establishing A Database Connection

Of the common WordPress errors, this is pretty self-explanatory. The error lets you know something broke the connection to your WordPress database.

Database Establishing Error Causes:

  • wp-config.php error
  • Problems with your hosting provider
  • You’ve been hacked! And here I was thinking this particular WordPress error is no big deal.

Database Establishing Error Solutions:

a. Edit your wp-config.php file
Access your wp-config.php file via File Manager or FTP and confirm if the database name, host, username and password are correct. If you’re stuck or don’t know what to do first, consider teaching yourself a few things about editing wp-config.php files.

b. Fix issues with your web host
If your wp-config.php is looking right and this WordPress error is still a problem, you should talk to your WordPress hosting provider. They will be able to tell you whether the server is down or your database was shut down for exceeding its quota. If they tell you everything looks good on their end, it is time to implement some WordPress security on your site.

c. Scan your website to determine if it’s compromised
Hackers don’t sleep. No, they don’t. You can fall victim to a hacker anytime, especially if you don’t know how to secure your WordPress website. To ensure your website hasn’t been hacked, scan it using a tool such as Sucuri Sitecheck. If you get bad news, just stay calm and check out this my site was hacked post over at WordPress Codex.

5. Briefly Unavailable For Scheduled Maintenance Error

1, 2, 3… Break time over, let’s try and understand why you’re getting this not-so-brief WordPress error. Oh, by the way, it shouldn’t trouble you at all since it’s quite easy to solve. But first, let’s look at the causes.

Scheduled Maintenance Error Causes:

  • Your WordPress update failed because some things are beyond your control
  • The .maintenance file was not deleted after the update for one reason or another

Scheduled Maintenance Error Solutions:

Are you having fun? Do you feel you can solve the above errors if/when they crop up? If you can, let’s move on to WordPress error number six (6).

6. Email Password Retrieval Does Not Work

The main cause for this is forgetfulness. Perhaps you should try some memory enhancing diet and exercises ? Kidding aside…we all forget even the most important of things such as passwords, usernames and email addresses? As it were, you forgot your password and were forced to use the “Lost Your Password” page. The problem is you never received the reset link via email. You decide to try again after checking your spam folder but still, no link.

Password Retrieval Error Cause:

For some reason your WordPress installation just won’t send you the link…the cause could be a mystery! But the main problem isn’t why you aren’t receiving your password but how can you actually reset your password easily and quickly? We’ll, below are a couple solutions.

Password Retrieval Error Solutions:

a. Reset your WordPress via phpMyAdmin
This is the more technical of the two solutions I’ll present you with.

  1. Login into your cPanel and navigate to phpMyAdmin under Databases
  2. Select your database (Your web host will help you can’t find your database)
  3. Navigate to wp_users and click on Browse
  4. Go to your username and click on Edit
  5. Enter a new value (your new password) into user_pass
  6. Choose MD5 from the drop-down menu that’s under Function
  7. Click Go button at the bottom to save your changes

b. Edit your functions.php file
And now for a slightly less technical method. The functions.php file is responsible for many a thing on your WordPress website. If your email password retrieval is giving you a hard time:

  1. Navigate to “../wp-content/themes/your_live_theme/” using FTP or File Manager and download the functions.php file.
  2. Open the file in your code editor and add the following code:
    wp_set_password('DesiredNewPassword', 1);

    Replace DesiredNewPassword with your new passowrd. Number one (1) in the code is your user ID number in the wp_users table.

  3. Save and upload functions.php
  4. When you can login into your website, eliminate the code (download functions.php, delete code and upload it back to your theme folder)

7. HTTP Error 403 – Forbidden

If you get “You are not authorized to view this page. (403 error)” message when trying to login into your WordPress website, you’ve encountered one of the most common WordPress errors – the HTTP Error 403.

HTTP 403 Error Cause:

  • Problems with Directory Indexes if your blog is hosted on a Windows server

HTTP 403 Error Solution:

Add index.php to the Directory Indexes. You can solve this WordPress error easily by adding index.php to the Directory Indexes. Just go to your Control Panel -> Web Options -> Directory Indexes and add index.php.

8. Sidebar Below Content Error

I was quite perplexed when I first encountered this WordPress error. I was so convinced my theme was completely toast that I contemplated changing it altogether. However, I summoned Google spiders and a few seconds later, I realized this was just one of the most common WordPress errors. This realization took away all the worrying. A few more clicks and scrolls, I found the causes.

Sidebar Below Content Error Causes:

  • HTML errors – sometimes you might forget to close a few div elements
  • CSS errors – Other times, you might accidentally use disproportionate widths that end up messing up your entire layout

Sidebar Below Content Error Solutions:

a. Close all div elements
In most cases, pen div elements are responsible for this error. Close all open div elements and eliminate extra div elements that pushes the sidebar outside the wrap element. Use a tool such as W3 Validator to check if your HTML code could be the cause of this error.

b. Fix your CSS
Improper width ratios will mess up your layout in turn placing your sidebar below the content area. You need to keep things in proportion. For instance, if your main container is 920px in width, allocate 620px to your content and 250px to your sidebar. Leave the remaining 50px to margins and what not. Just keep things proportional. Another thing, be careful when using the float property.

9. WordPress Admin Displaying Improperly

Have you ever logged into WordPress only to find your WP Admin Dashboard all over the place? What I mean it the links are arranged improperly because the dashboard is rendering without CSS.

Admin Display Error Causes:

  • Proxy and Firewalls that black CSS files
  • Corrupted admin menu plugins

Admin Display Error Solutions:

a. Ensure you’re not behind a proxy or firewall
If you’re behind a proxy or firewall (maybe you’re accessing your website from work), try accessing your dashboard elsewhere without proxies or firewalls. You can also try purging your firewall and proxy cache and see if that works.

b. Update/Deactivate admin menu plugins
If you are getting this error after installing a plugin such as Lighter Menus and Admin Drop Down Menu for your admin menu , try updating (re-installing) it. If this WordPress error persists, deactivate the plugin.

10. Connection Timed Out Error

If your WordPress website lives on an overburdened shared server, you will see this WordPress error more often than not. The following problems are responsible for this error.

Time Out Error Causes:

  • Heavy plugins
  • Theme function errors
  • Exhausted PHP memory limit

Time Out Error Solutions:

  • Deactivate the plugins you installed recently or reset your plugins folder
  • Increase your PHP memory limit
  • Switch to the Twenty Twelve theme to determine if the problem lies in your theme

11. Warning: Cannot Modify Header Information – Header Already Sent By

This is yet another common WordPress error that troubles many WordPress users, especially beginners. If you do encounter this error, you will usually see something similar to this:

Warning: Cannot modify header information - Header already sent by (Output started at /blog/wp-config.php:34)

That last part (Output started at /blog/wp-config.php:34) tells you exactly where your error is stemming from.

Cannot Modify Header Error Cause:

  • Presence of white (blank) spaces in the affected file (in our case above, that would be wp-config.php)

Cannot Modify Header Error Solution:

You’ll need to remove the blank spaces. To get rid of this WordPress error:

  1. Download the affected file (e.g. wp-config.php) via File Manager or FTP
  2. Open the file in your favorite editor (e.g. Notepad++)
  3. Remove all spaces before the first <?php (The first <?php should be in the first line)
  4. Remove all spaces after the closing ?>
  5. Save your file

12. The Plugin Won’t Delete Error

Some plugins (and you want to stay clear of such plugins) come with hidden files that become a pain in the neck when you want to delete the plugin. This is a good reason to only download plugins (and themes for that matter) from reputable websites you trust. The problem is you can’t delete the plugin via WordPress Admin and even if you delete the plugin’s folder via File Manager (or FTP), the plugin still appears. Magic? No. Here is the…

Delete Plugin Error Cause:

  • The plugin came with hidden or nested files

Delete Plugin Error Solutions:

a. Obtain plugins from trusted sources
Don’t go picking up plugins from all over the place. If you would like to purchase a well-coded plugin, go with reputable sources such as CodeCanyon or WPExplorer. If you’re after free plugins, check out WordPress plugin repository. Prevention is better than cure, right?

b. Deleting the plugin using Secure Shell (SSH)
This solution will only work if you have SSH access to your WordPress site. This is what to do. Login into your blog using SSH and navigate to “../wp-content/plugins/“. Use the Is -aI command to list all your folders, and finally delete the problematic plugin using the rm (folder name) command.

13. WordPress Posts Returning 404 Error

It is frustrating to access every part of your WordPress website but the posts. Every time you visit a single post, you get a 404 error page – and it’s a great pain because posts are the bones and flesh of any WordPress blog.

404 Error Page Cause:

  • Problem with your permalink settings

404 Error Page Solutions:

a. Save your permalinks
This WordPress error is easy to resolve so don’t panic – you readers will be able to read your posts in no time. Just go to Settings -> Permalinks and hit the Save Changes button.

b. Fix your .htaccess file
If fixing your permalinks does not solve this error, it is time to edit your .htaccess file manually. Navigate to your WordPress root directory and download the .htaccess file. If it doesn’t exists, create a blank text file and save it as .htaccess. Add the following code to the .htaccess file:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress

Save and upload the .htaccess to the same location.

14. WordPress Memory Exhausted Error

You know you’ve encountered this error when you see the white screen of death or this error message:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2348617 bytes) in /home/username/public_html/your_site/wp-includes/plugins.php on line 36

Memory Exhausted Error Cause:

  • A plugin or script is eating up your memory

Memory Exhausted Error Solution:

The easiest answer is to simply increase your allocated memory. To do this, open your wp-config.php file (which is found in your website’s root directory) and add the following code:

define ('wp_memory_limit', '64M');
NOTE: You don’t have to download the file (or any other file) when using the File Manager. You can edit the files right in the File Manager. Talk to your web host if you cannot find the edit option.

15. Fatal Error Undefined Function is_network_admin

I’ve decided to end this post with a simple but very common WordPress error.

Undefined Function is_network_admin Fatal Error Cause:

  • Failed auto-update

Undefined Function is_network_admin Fatal ErrorSolution:

Further Assistance/Resources

If we weren’t able to solve your error or your specific error wasn’t mentioned in this post you can find a list of really great resources below with some more solutions to common WordPress errors and their fixes. If you still can’t find a solution you could always try contacting your webhost to see if they can assist you! WPEngine has been there for us on more then one occasion when we couldn’t fix the issue ourselves!


Here we are. We just revealed 15 most common WordPress errors and showed you how to solve them. We hope this post will come in handy when you encounter a WordPress error. Bookmark this resource (you will most likely need it at some point – although we hope you don’t) and please tell us how you fix common WordPress errors on your website, especially if you have a better and quicker solution to one of the common WordPress errors.

Mastering WordPress Meta Data: Querying Posts and Users by Meta Data


In order to customize what posts WordPress returns based on meta fields, we need to use WP_Query and specify a meta_query. If, for example, we had a custom post type called ‘films’ that had a custom field called ‘director’ we could query for films whose director was a director of one of the three Star Wars films.

Take a look at the code below and see if you can use your mastery of arrays that you gained in the last part to understand what is going on with the meta_query, which I will break down what is going on under the code.

As you can see we have an array of director’s names nestled inside of three other arrays. Let’s take it apart, piece by piece.

First, we start an array for our WP_Query args. After our first argument ‘post_type’, we begin an array to house our meta_query arguments.

Inside of that we specify which key to look for–in the case ‘director’. We also provide an array of values to search for in that key.

The last argument is how to compare those values, in this case we specify “IN” to retrieve any posts with these values in the key director.

What if we wanted films that where directed by a director of a Star Wars film, but wan’t to exclude the Star Wars Prequels? We can just add another array of arguments to our meta_query, but this time for value use an array of those films titles for the key film_title and for compare, use ‘NOT LIKE’ to exclude post that have these values in the film_title field.

Now WordPress will look for films by these three directors, whose title is not one of the three prequels.

So far I’ve shown you how to use WP_Query to find posts that have specific values for a custom field, but not how to show those fields.

Showing these fields is pretty much the same as before, but instead of using get_the_ID() to specify ID for get_post_meta() we specify it in an object context. So in our loop, which you can see below, the ID is retrieved a little differently using $query->post->ID.

Just like in the last part when we used WP_Query to find posts with certain values for various custom fields, we can use WP_Query‘s user table equivalent WP_User_Query.

For example, if we had a custom field called subscriber_level and wanted to find only those users who had the subscriber level of extra_special or super_special we could, much the same way we searched for films directed by the three directors of the Star Wars films:

Just like with WP_Query, we can combine different comparisons to further control which users our query returns. This next example combines the last query with a a query, this time of the wp_users table itself for any users whose names are Luke, Han or Leia.

In this series you’ve been introduced to WordPress meta data and learned some lessons about core PHP concepts along the way.

You’ve learned how to get the values from the fields that store post and user meta data and how to construct queries for posts and users based on meta values. With this knowledge you can are prepared to work with a few custom fields and on your way to using WordPress as a complex content management system.