• My website recently auto-upgraded to latest version of wrodpress (and PHP) and now I get a whole bunch of warning errors. it appears to be related to a pblugin which I’d try to turn off if I could but I can’t seem to access my admin page either. This is the warning I get.

    Warning: mysql_real_escape_string(): No such file or directory in /home/sarbig1/sarah-biglow.com/wp-content/plugins/easy-contact-forms/easy-contact-forms-database.php on line 145
    
    Warning: mysql_real_escape_string(): A link to the server could not be established in /home/sarbig1/sarah-biglow.com/wp-content/plugins/easy-contact-forms/easy-contact-forms-database.php on line 145
    
    Warning: Attempt to assign property of non-object in /home/sarbig1/sarah-biglow.com/wp-content/plugins/easy-contact-forms/easy-contact-forms-baseclass.php on line 659
    
    Warning: Missing argument 2 for wpdb::prepare(), called in /home/sarbig1/sarah-biglow.com/wp-content/plugins/easy-contact-forms/easy-contact-forms.install.php on line 536 and defined in /home/sarbig1/sarah-biglow.com/wp-includes/wp-db.php on line 1210
    
    Warning: Missing argument 2 for wpdb::prepare(), called in /home/sarbig1/sarah-biglow.com/wp-content/plugins/easy-contact-forms/easy-contact-forms.install.php on line 561 and defined in /home/sarbig1/sarah-biglow.com/wp-includes/wp-db.php on line 1210
    
    Warning: Missing argument 2 for wpdb::prepare(), called in /home/sarbig1/sarah-biglow.com/wp-content/plugins/easy-contact-forms/easy-contact-forms.install.php on line 605 and defined in /home/sarbig1/sarah-biglow.com/wp-includes/wp-db.php on line 1210
    
    Warning: Missing argument 2 for wpdb::prepare(), called in /home/sarbig1/sarah-biglow.com/wp-content/plugins/easy-contact-forms/easy-contact-forms.install.php on line 729 and defined in /home/sarbig1/sarah-biglow.com/wp-includes/wp-db.php on line 1210
    
    Warning: Missing argument 2 for wpdb::prepare(), called in /home/sarbig1/sarah-biglow.com/wp-content/plugins/easy-contact-forms/easy-contact-forms.install.php on line 1031 and defined in /home/sarbig1/sarah-biglow.com/wp-includes/wp-db.php on line 1210
    
    Warning: Missing argument 2 for wpdb::prepare(), called in /home/sarbig1/sarah-biglow.com/wp-content/plugins/easy-contact-forms/easy-contact-forms.install.php on line 1053 and defined in /home/sarbig1/sarah-biglow.com/wp-includes/wp-db.php on line 1210
    
    Warning: Attempt to assign property of non-object in /home/sarbig1/sarah-biglow.com/wp-content/plugins/easy-contact-forms/easy-contact-forms-baseclass.php on line 659
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/sarbig1/sarah-biglow.com/wp-content/plugins/easy-contact-forms/easy-contact-forms-database.php:145) in /home/sarbig1/sarah-biglow.com/wp-content/plugins/bd-hit-counter/image.php on line 56
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/sarbig1/sarah-biglow.com/wp-content/plugins/easy-contact-forms/easy-contact-forms-database.php:145) in /home/sarbig1/sarah-biglow.com/wp-includes/pluggable.php on line 1207

    Website is: here

Viewing 2 replies - 1 through 2 (of 2 total)
  • jack randall

    (@theotherlebowski)

    if you’ve got access to the server cpanel, go into the file manager and rename the plugins folder to get access to your site again. if you want to get rid of the offending plugin then you can delete it from the server cpanel.

    Thanks very much for this. Remember to change the name of the plug-ins folder and not the name of the plug-in folder.

    I found that the reason why my site wasn’t working was because there were numerous plug-in updates that I hadn’t installed. After changing the name of the folder, I updated them, then changed the name back and now it works.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Warning: plugin-error in php’ is closed to new replies.