Title: Fatal error when pressing &quot;submit&quot; button.
Last modified: August 22, 2016

---

# Fatal error when pressing "submit" button.

 *  [to_late_to_quit](https://wordpress.org/support/users/to_late_to_quit/)
 * (@to_late_to_quit)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-pressing-submit-button/)
 * Hi there,
 * When I try to upload a file I get this error (after clicking “submit”):
 * Fatal error: Call to a member function setToken() on a non-object in /home/www/
   labs/standard/wp-content/plugins/simple-dropbox-upload-form/wp-dropbox.php on
   line 299
 * Any suggestions what may be going wrong here?
 * Thanks!
 * [https://wordpress.org/plugins/simple-dropbox-upload-form/](https://wordpress.org/plugins/simple-dropbox-upload-form/)

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

 *  Thread Starter [to_late_to_quit](https://wordpress.org/support/users/to_late_to_quit/)
 * (@to_late_to_quit)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-pressing-submit-button/#post-5820219)
 * this is the line in question (299):
 * $oauth->setToken($wpsdb_token,$wpsdb_token_secret);
 *  Plugin Author [hiphopsmurf](https://wordpress.org/support/users/hiphopsmurf/)
 * (@hiphopsmurf)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-pressing-submit-button/#post-5820243)
 * Do you have any other plugins that use DropBox?
 *  Thread Starter [to_late_to_quit](https://wordpress.org/support/users/to_late_to_quit/)
 * (@to_late_to_quit)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-pressing-submit-button/#post-5820251)
 * Thanks for the quick reply.
 * No – I do not use another plugin that uses Dropbox.
 * I also tried different version of WP 3.4, 3.5 and 4.0. and get the same error.
 *  Plugin Author [hiphopsmurf](https://wordpress.org/support/users/hiphopsmurf/)
 * (@hiphopsmurf)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-pressing-submit-button/#post-5820360)
 * Does any plugin on your site have the capability to connect to dropbox? I only
   ask because this is the error that is thrown when there is another plugin with
   the dropbox capabilities.
 *  Thread Starter [to_late_to_quit](https://wordpress.org/support/users/to_late_to_quit/)
 * (@to_late_to_quit)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-pressing-submit-button/#post-5820361)
 * No – there was no other Dropbox plugin installed. I tested fresh installs of 
   WP with different version numbers (WP 3.4, 3.5 and 4.0.).

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

The topic ‘Fatal error when pressing "submit" button.’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-dropbox-upload-form_457872.
   svg)
 * [Simple Dropbox Upload](https://wordpress.org/plugins/simple-dropbox-upload-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-dropbox-upload-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-dropbox-upload-form/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-dropbox-upload-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-dropbox-upload-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-dropbox-upload-form/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [to_late_to_quit](https://wordpress.org/support/users/to_late_to_quit/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-pressing-submit-button/#post-5820361)
 * Status: not resolved