Title: Error when using on multisite
Last modified: August 31, 2016

---

# Error when using on multisite

 *  Resolved [boblmartens](https://wordpress.org/support/users/boblmartens/)
 * (@boblmartens)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/error-when-using-on-multisite/)
 * I am getting this error in the log message when using the plugin on a multisite
   install with Formidable forms.
 * `[Tue Jan 26 14:34:00.208334 2016] [php5:error] [pid 17240] [client 172.16.1.145:
   53909] PHP Fatal error: Call to a member function GetKeyId() on a non-object 
   in /srv/www/htdocs/beta.mlc-wels.edu/wp-content/plugins/wp-pgp-encrypted-emails/
   vendor/php-gpg/GPG.php on line 170, referer: https://beta.mlc-wels.edu/continuing-
   education/encrypted-email-test/`
 * Let me know what other questions you might have about the setup, what I am attempting
   to do, etc.
 * [https://wordpress.org/plugins/wp-pgp-encrypted-emails/](https://wordpress.org/plugins/wp-pgp-encrypted-emails/)

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

 *  Thread Starter [boblmartens](https://wordpress.org/support/users/boblmartens/)
 * (@boblmartens)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/error-when-using-on-multisite/#post-6991825)
 * Most recent update fixed that error, so thank you!
 * Now I’m running into another issue with integrating with Formidable. It seems
   that the encryption is not getting fired off when using Formidable’s email notifications
   when something hits this error:
 * `[Wed Jan 27 07:36:12.678071 2016] [php5:error] [pid 4958] [client 172.16.1.145:
   54259] PHP Warning: trim() expects parameter 1 to be string, array given in /
   srv/www/htdocs/beta.mlc-wels.edu/wp-includes/class-wp-user.php on line 201, referer:
   https://beta.mlc-wels.edu/continuing-education/encrypted-email-test/`
 * I took the _trim_ out of that line and just returned the _$value_ and the email
   is encrypted as I would expect. However, I’d like to return that file back to
   its original state or at least know why I’m changing it.
 * Let me know if you need any more from me!
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-when-using-on-multisite/#post-6991992)
 * Can you clarify, when you say “Formidable” do you mean [Formidable Forms plugin](https://wordpress.org/plugins/formidable/)?
 * Also, are you seeing this error when you’re _not_ using WP PGP Encrypted Emails
   or does it only occur with this plugin enabled, too?
 * I ask because the error above does not reference anything within this plugin,
   as far as I can see.
 *  Thread Starter [boblmartens](https://wordpress.org/support/users/boblmartens/)
 * (@boblmartens)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-when-using-on-multisite/#post-6992007)
 * I will try and do some more testing and get back to you in the coming week. Thanks!
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-when-using-on-multisite/#post-6992030)
 * After a week with no response, I am marking this resolved.
 *  Thread Starter [boblmartens](https://wordpress.org/support/users/boblmartens/)
 * (@boblmartens)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-when-using-on-multisite/#post-6992032)
 * Go for it. If I can find the release time to do more intensive testing, I’ll 
   let you know.
 * Thank you for your help!

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

The topic ‘Error when using on multisite’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-pgp-encrypted-emails.svg)
 * [WP PGP Encrypted Emails](https://wordpress.org/plugins/wp-pgp-encrypted-emails/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-pgp-encrypted-emails/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-pgp-encrypted-emails/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-pgp-encrypted-emails/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-pgp-encrypted-emails/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-pgp-encrypted-emails/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [boblmartens](https://wordpress.org/support/users/boblmartens/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/error-when-using-on-multisite/#post-6992032)
 * Status: resolved