Title: Warning: plugin-error in php
Last modified: August 30, 2016

---

# Warning: plugin-error in php

 *  [SBiglow](https://wordpress.org/support/users/sbiglow/)
 * (@sbiglow)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/warning-plugin-error-in-php/)
 * 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](http://www.sarah-biglow.com)

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

 *  [jack randall](https://wordpress.org/support/users/theotherlebowski/)
 * (@theotherlebowski)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/warning-plugin-error-in-php/#post-6597554)
 * 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.
 *  [swpalmer](https://wordpress.org/support/users/swpalmer/)
 * (@swpalmer)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/warning-plugin-error-in-php/#post-8218782)
 * 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.

## Tags

 * [plugin error](https://wordpress.org/support/topic-tag/plugin-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [swpalmer](https://wordpress.org/support/users/swpalmer/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/warning-plugin-error-in-php/#post-8218782)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
