WordPress: “Deprecated” Error

One of the most common situations when dealing with WordPress is ending up getting an message saying this below:

Deprecated: Assigning the return value of new by reference is deprecated in /dir/ on line 111


Note: You must enable the WordPress WP_DEBUG function to view this error. It is IMPORTANT that you must enable this. Enabling the WP_DEBUG function will notify you that something is isn’t functioning correctly.

Steps on how to enable WP_DEBUG  is shown through this link: How to Enable WP_DEBUG


Once you have saved the wp-config PHP file, you can now handle what is causing a deprecated error.

The easiest way WordPress owners can deal with this situation is to disable plugins one by one. By doing this, you may be able to identify what might be causing this error.

 Question: Why do you need to disable plugins one by one? 

Answer: Plugins can be causing the problem because the developer for that plugin didn’t provide an update that must be compatible with the version of your WordPress. Disabling the plugins one by one can show clearly what might cause a deprecated error to appear.  


Please go here and Press Installed Plugins:






Once you have clicked the plugins tab, you should be able to see all the plugins. Please select the beginning and deactivate one by one. 










Remember: Every time you deactivate your plugins one by one, please check your homepage if it still has a deprecated error.

If this works, You can reactivate your other plugins.


When hosting a website, updating is important. In WordPress and also companies that create plugins, the developers create new updated versions to help solve bugs, and eliminate any security flaws. It is recommended  that you keep up to date with WordPress and your developers that made the plugins, and see if they have available updates for you to install. Installing these updates will minimize deprecated error message, PHP warning errors, and minimize back doors on your site.




Related Articles

  • How to Enable Automatic Background Updates for WordPress Core

    On WordPress 3.7+ you can help remove the stress of outdated WordPress sites that are susceptible to hacking. To do this just simply enable Automatic Background Updates. Turning on Automatic...
  • WordPress: Set up Plugins

    Installing a Plugin using WordPress Dashboard    WordPress is an excellent source to help benefit your website. Since WordPress is a free and open source application, its features are also...
  • Enabling WP_DEBUG

      Enabling the WP_DEBUG function will notify you that something isn’t functioning correctly. Steps on how to enable WP_DEBUG are below: First: Go into your directory that contains WordPress: $ cd /usr/www/virtual/sample/www.sample.com/ Second: Now that...
  • WordPress Now In Cloud Apps

      WordPress is a free and open-source blogging tool and a content management system (CMS) based on PHP and MySQL.  Features include a open source plugins and a template system....