• Resolved Paratrooper Joe

    (@paratrooperoe)


    I tried updating this plugin and my site now only loads to php errors being displayed.

    If I go in to my Hosted Cpanel, drill down to the plugin folder and rename the folder, my site comes back to life but I no longer have this plugin active.

    Here is the error it shows:

    Warning: require(/home/highpointacademy/public_html/wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php): failed to open stream: No such file or directory in /home/highpointacademy/public_html/wp-content/plugins/send-pdf-for-contact-form-7/wpcf7-send-pdf.php on line 40
    
    Fatal error: require(): Failed opening required '/home/highpointacademy/public_html/wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/highpointacademy/public_html/wp-content/plugins/send-pdf-for-contact-form-7/wpcf7-send-pdf.php on line 40

    I looked at the wpcf7-send-pdf.php line 40, and here is what it says:

    require WPCF7PDF_DIR . 'classes/send-pdf.php';

    I am guessing that this particular line should read…

    require WPCF7PDF_DIR . 'classes/wpcf7-send-pdf.php';

    However, I thought I would check with you here before messing things up even worse.

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Paratrooper Joe

    (@paratrooperoe)

    Also, I forgot to mention that I do not see a ‘Classes’ folder in that directory either

    Thread Starter Paratrooper Joe

    (@paratrooperoe)

    So i downloaded the plugin again and compared its contents to the one on my system and it seems that during the upgrade of the plugin, several folders and files went “missing”. I have deleted the old folder containing this plugin data and replaced it with the newest version of the plugin and so far all is good. Would be good if I could udate the plugin moving forward without it breaking the site though.

    Plugin Author Florent Maillefaud

    (@florent73)

    Hi!

    Sorry for this. I think that must be a problem with the SVN update.

    Cordially

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Error, site crashes after updating plugin’ is closed to new replies.