Okay
  Print

Undefined Error using Demo Content Import

-If you are getting an "undefined" error on your Theme Options when you are trying to import demo content, this is due to your WordPress installation not having direct "write file" permissions.
There is only one short line of code needed to set the filesystem method for your WordPress site.
This line of code has to be added to wp-config.php file of your WordPress install. First search the wp-config.php file for “FS_METHOD” in case that it’s already defined. If that’s the case, then just change the value to “direct”. Otherwise add this line:
define('FS_METHOD', 'direct');

So the code in wp-config.php will look like this:

define('FS_METHOD', 'direct');
/* That's all, stop editing! Happy blogging. */