• rjdougan

    (@rjdougan)


    In the last week I have been experiencing the following fatal error on a number of my site with this plugin. The error message is show below.

    [01-Mar-2014 22:12:30] PHP Fatal error: Call to undefined function plugin_basename() in /home/xxxxx/public_html/wp-content/plugins/contact-form-7/wp-contact-form-7.php on line 35

    Anyone else experiencing this? Any suggestions to fix?

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi

    (@esmi)

    Re-upload a fresh, unpacked, copy of the plugin’s folder to wp-content/plugins using FTP or whatever file management application your host provides.
    https://www.ads-software.com/plugins/contact-form-7/

    bwooster47

    (@bwooster47)

    > Re-upload a fresh, unpacked, copy

    Can you elaborate on why this will fix it? I am confused because I still see that function in the php file.

    I just did both a WordPress auto-update, and then a manual install by removing and unziping and I still see this line in both cases:

    wp-contact-form-7.php:  define( 'WPCF7_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );

    So, anyone know how to fix this bug?

    @bwooster47 – The plugin is working for me on many different websites and several different servers. Any issue you have is almost certainly due to something on your local WP install.

    Sammiikins

    (@sammiikins)

    I had the same error appear in my error_log!

    [06-Mar-2014 03:36:35 America/Denver] PHP Fatal error: Call to undefined function plugin_basename() in /xxxxx/xxxxx/public_html/wp-content/plugins/contact-form-7/wp-contact-form-7.php on line 35

    I didn’t receive any form-generated emails that day so not sure what’s up. Maybe a spammer?

    Contact Form 7 Version 3.6

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error – wp-contact-form-7.php on line 35’ is closed to new replies.