Title: Error on POST request method
Last modified: August 18, 2016

---

# Error on POST request method

 *  Resolved [Amelie](https://wordpress.org/support/users/amelie/)
 * (@amelie)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/error-on-post-request-method/)
 * I am using the latest version of WordPress (2.1.2), and I was told that a site
   I upgraded (one I manage for a client) has since lost the ability to send web
   forms. It seems that, after some testing, the POST request method is causing 
   problems, since everything is fine up until the submit button is pressed.
 * This is the error I get:
 * Fatal error: Call to a member function on a non-object in /home/springga/public_html/
   wp/wp-includes/functions.php on line 913
 * The error refers to the $wpdb object, which is working fine with the GET request
   method. The form script itself includes the wp-blog-header.php file (before anything
   else) in order to use WP themes for its success and error messages – this has
   always worked fine before.
 * The only plugin in use on this site is Exec-PHP 3.0, but I disabled that a while
   ago and the problem is still occurring.
 * [The site in question](http://www.readingspringgardensband.org.uk/) (try submitting
   the quick contact form on the right – doesn’t matter whether you fill anything
   in or not). This problem occurs on WP Pages and non-WP pages (only the guestbook
   is non-WP). This site doesn’t use comments, though I’m sure those would work 
   properly… Therefore I’m not sure whether the form is at fault, the script is 
   at fault or the server is at fault.
 * Does anyone know what might be the problem here?

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

 *  Thread Starter [Amelie](https://wordpress.org/support/users/amelie/)
 * (@amelie)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/error-on-post-request-method/#post-535563)
 * I’ve tried commenting out the lines affected, and also creating a new instance
   of $wpdb, only the former just caused more problems and the latter just moved
   the error down to where the next call to $wpdb was. I ended up having to add 
   new $wpdb objects to each and every function for some reason (it wasn’t taking
   any notice of the global statement), but then it would not work for GET (i.e.
   normal) requests. Argh!
 * Anyone have any ideas at all?
 *  Thread Starter [Amelie](https://wordpress.org/support/users/amelie/)
 * (@amelie)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/error-on-post-request-method/#post-535744)
 * Never mind, managed to fix it (not sure how, but there you go)

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

The topic ‘Error on POST request method’ is closed to new replies.

## Tags

 * [member function](https://wordpress.org/support/topic-tag/member-function/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [Amelie](https://wordpress.org/support/users/amelie/)
 * Last activity: [19 years, 2 months ago](https://wordpress.org/support/topic/error-on-post-request-method/#post-535744)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
