• Resolved uberwerks

    (@uberwerks)


    I was going to post this over at the codex’ “plugin compatibility” as a “no”, but some people claim to have this working with 2.0b1.

    When using Ryan Duff’s WP-Contact Form plugin and 2.0b1, I get this error:

    “Fatal error: Call to undefined function: load_plugin_textdomain() in /home/spiderkn/public_html/wp-admin/options-contactform.php on line 8”

    Line 8 being:

    “load_plugin_textdomain(‘wpcf’); // NLS”

    This occurs in the admin section, when you click on “Contact Form” to edit the prefs. Anyone had luck getting this to work with 2.0b1? Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Joshua Sigar

    (@alphaoide)

    Make sure you have the following file; try re-upload the file
    wp-includes/wp-l10n.php

    Otherwise, you could just commment out that line. It’s not needed if you stick with the plugin’s default language (english, I suppose).
    //load_plugin_textdomain('wpcf');

    Thread Starter uberwerks

    (@uberwerks)

    I tried what you said Alphaoide, but to no avail. I’ve got that file you listed also. When I commented out that line, I get the same error, but on “line 9” instead of 8:

    “$location = get_option(‘siteurl’) . ‘/wp-admin/admin.php?page=options-contactform.php’; // Form Action URI”

    The plugin may just not work with 2.0b1 yet…hmmm

    Joshua Sigar

    (@alphaoide)

    What’s the error msg exactly now? Call to undefined function: get_option?

    So far I haven’t seen plugin-specific error msg. You may need to delete WP files and the upload new ones.

    edit: Just tested the plugin myself with wp beta; it just worked.

    Thread Starter uberwerks

    (@uberwerks)

    Okay…this was my fault totally. For some reason, I installed “options-contactform.php” in the /wp-admin/ directory.

    For others who may have slipped into a fog of…forgetfulness, that file goes in the “plugins” folder with the other “wp-contactform.php” file.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WP-Contact form not working…or is it?’ is closed to new replies.