Title: Errors on first install
Last modified: August 22, 2016

---

# Errors on first install

 *  [Nommo](https://wordpress.org/support/users/nommo/)
 * (@nommo)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/errors-on-first-install/)
 * Hiya,
 * I really like the sound of this plug-in – I just installed it on a Multisite/
   Buddypress site, but got the following errors when trying to input the key/secret:
 *     ```
       Warning: Illegal string offset 'consumer_key' in /usr/local/www/apache24/data/my.site.name/wp-content/plugins/thinktwit/thinktwit.php on line 647
   
       Warning: Illegal string offset 'consumer_key' in /usr/local/www/apache24/data/my.site.name/wp-content/plugins/thinktwit/thinktwit.php on line 648
   
       Warning: Illegal string offset 'consumer_key' in /usr/local/www/apache24/data/my.site.name/wp-content/plugins/thinktwit/thinktwit.php on line 649
   
       Warning: Illegal string offset 'consumer_secret' in /usr/local/www/apache24/data/my.site.name/wp-content/plugins/thinktwit/thinktwit.php on line 653
   
       Warning: Illegal string offset 'consumer_secret' in /usr/local/www/apache24/data/my.site.name/wp-content/plugins/thinktwit/thinktwit.php on line 654
   
       Warning: Illegal string offset 'consumer_secret' in /usr/local/www/apache24/data/my.site.name/wp-content/plugins/thinktwit/thinktwit.php on line 655
   
       Warning: Illegal string offset 'cleanup_period' in /usr/local/www/apache24/data/my.site.name/wp-content/plugins/thinktwit/thinktwit.php on line 659
   
       Warning: Illegal string offset 'cleanup_period' in /usr/local/www/apache24/data/my.site.name/wp-content/plugins/thinktwit/thinktwit.php on line 660
   
       Warning: Illegal string offset 'cleanup_period' in /usr/local/www/apache24/data/my.site.name/wp-content/plugins/thinktwit/thinktwit.php on line 661
   
       Warning: Illegal string offset 'use_default_style' in /usr/local/www/apache24/data/my.site.name/wp-content/plugins/thinktwit/thinktwit.php on line 665
   
       Warning: Illegal string offset 'use_default_style' in /usr/local/www/apache24/data/my.site.name/wp-content/plugins/thinktwit/thinktwit.php on line 666
   
       Warning: Illegal string offset 'use_default_style' in /usr/local/www/apache24/data/my.site.name/wp-content/plugins/thinktwit/thinktwit.php on line 667
   
       Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/apache24/data/my.site.name/wp-content/plugins/thinktwit/thinktwit.php:647) in /usr/local/www/apache24/data/my.site.name/wp-includes/pluggable.php on line 1173
       ```
   
 * After I clicked save again, it seemed to accept it. However, when I load up a
   widget – I get these errors:
 *     ```
       Warning: array_push() expects parameter 1 to be array, null given in /usr/local/www/apache24/data/my.site.name/wp-content/plugins/thinktwit/thinktwit.php on line 2294
   
       Warning: array_unique() expects parameter 1 to be array, null given in /usr/local/www/apache24/data/my.site.name/wp-content/plugins/thinktwit/thinktwit.php on line 2297
       ```
   
 * Is this a multi-site issue do you think?
 * [https://wordpress.org/plugins/thinktwit/](https://wordpress.org/plugins/thinktwit/)

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

 *  Plugin Author [Stephen Pickett](https://wordpress.org/support/users/stephenpickett/)
 * (@stephenpickett)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/errors-on-first-install/#post-5450056)
 * Hi Nommo,
 * It’s very possible that it’s a multi-site issue, I’ve not done any testing on
   multi-site in the past what with there being no demand for it. I’m happy to help
   you to debug it though and resolve it – if this ensures that it is compatible
   with multi-site then this will provide benefits to others also.
 * What version are you on? Is there anything particular about plugins/input fields/
   database options that you are aware of that might affect this?
 *  Thread Starter [Nommo](https://wordpress.org/support/users/nommo/)
 * (@nommo)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/errors-on-first-install/#post-5450283)
 * Hiya Stephen,
 * Thanks for the reply & offer to help debug 🙂
 * I’m on WP version 4 and ThinkTwit 1.6.0
 * I tried ‘network enable’ and not (activating on the site only rather than the
   network) but get the same result.
 * I can’t think of anything that might affect it, although I am using [Theme Foundry’s ‘Make’ theme](https://thethemefoundry.com/wordpress-themes/make/)
   which does have some extra features for theme customisation than your average
   theme… that could be a factor.
 * I tried looking up the code referred to in the error, but with me not really 
   knowing much about PHP – I’m out of my depth!
 * I’ve managed to get a Twitter search widget to work for the purpose of demonstrating
   this site today (a colleague is presenting in front of a group as I type!) but
   I’d be happy to try and solve this one for the common good 🙂 Your plug-in looks
   like a great all purpose Twitter widget for WordPress.
 * Cheers
    Paul
 *  Thread Starter [Nommo](https://wordpress.org/support/users/nommo/)
 * (@nommo)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/errors-on-first-install/#post-5450398)
 * Just tried to uninstall and got the following error:
 * `Fatal error: Class 'ThinkTwit' not found in /usr/local/www/apache24/data/sitename/
   wp-content/plugins/thinktwit/uninstall.php on line 8`
 *  Plugin Author [Stephen Pickett](https://wordpress.org/support/users/stephenpickett/)
 * (@stephenpickett)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/errors-on-first-install/#post-5450405)
 * Hi Paul,
 * Sorry for the delay in getting back to you, my job is keeping me extremely busy
   at the moment!
 * I think the best course of action is for me to install a multi-site version of
   WordPress and try it out myself. I will also try the theme you say, assuming 
   it is freely available.
 * I will update you when I have some more information, it may take a few months
   however so I appreciate your patience 🙂
 * Kind Regards,

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

The topic ‘Errors on first install’ is closed to new replies.

 * ![](https://ps.w.org/thinktwit/assets/icon-256x256.png?rev=2543224)
 * [ThinkTwit](https://wordpress.org/plugins/thinktwit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/thinktwit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/thinktwit/)
 * [Active Topics](https://wordpress.org/support/plugin/thinktwit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/thinktwit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/thinktwit/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Stephen Pickett](https://wordpress.org/support/users/stephenpickett/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/errors-on-first-install/#post-5450405)
 * Status: not resolved