WordPress 3.3 Fix for “Fatal Error Undefined Function is_rtl()”

Here’s a quick fix if you’re seeing the following error after upgrading to WordPress 3.3:

Fatal error: Call to undefined function is_rtl() in /wp-includes/general-template.php on line 2102

First of all, don’t panic, the error seems to affect the admin dashboard but not the publicly accessible areas of your site. Secondly, it’s a fairly simple fix.

The cause is most likely a plugin, and for many people reading this it’s the “PopupDomination” plugin.

Fix for “Fatal Error Undefined Function is_rtl()”:

  1. Login to your site via FTP and navigate to the /wp-content/plugins directory.
  2. If you have PopupDomination installed look at the directory names starting with ‘P’ and see if you can identify it (it could be “popup-domination”, “popupD” or similar).
  3. Rename that folder to “PopupDomination-broken” or something similar.
  4. You’re done! Reload the page and everything should be working. Contact the plugin author and ask them for a fixed version and re-enable after you’ve updated.

In the unlikely event that didn’t fix your problem, try the following:

  • Deactivate all plugins to see if this resolves the problem. If this works, re-activate plugins one by one until you find the problematic plugin(s).
  • Try renaming the plugins directory to plugins-broken by FTP (sometimes, an inactive plugin can cause a problem so this works).
  • Deactivate plugins in the mu-plugins folder by renaming that directory to mu-plugins-old

You can find more on how to do this on Fixing a Broken WordPress Site

Hope this helps!

About Alastair McDermott

Alastair McDermott is an entrepreneur and consultant specialising in website development technologies, WordPress, online marketing and search engine optimisation. He has been consulting in online business since 2005 and building websites since 1996. He has co-founded several software, web and information based startup companies and has provided solutions for many large Irish and international organisations. Follow him on Twitter at @AMcDermott.
Tags:

One Response to WordPress 3.3 Fix for “Fatal Error Undefined Function is_rtl()”

  1. Alex says:

    THIS! Way to go on pinpointing this error. Seems like that was the plugin causing the problem, for me at least. Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Yes, email me when someone posts a new comment. (You can also subscribe without commenting.)