Title: Illegal string offset &#039;link&#039;
Last modified: August 21, 2016

---

# Illegal string offset 'link'

 *  [jeremyers1](https://wordpress.org/support/users/jeremyers1/)
 * (@jeremyers1)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/illegal-string-offset-link-1/)
 * I am getting this warning:
 * Illegal string offset ‘link’ in /wp-content/plugins/wordpress-seo/admin/pages/
   social.php on line 72
 * Any idea what causes it or how to fix it?
 * [http://wordpress.org/plugins/wordpress-seo/](http://wordpress.org/plugins/wordpress-seo/)

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

 *  [Juliette Reinders Folmer](https://wordpress.org/support/users/jrf/)
 * (@jrf)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/illegal-string-offset-link-1/#post-4279715)
 * Hi @jememyers1,
 * The reason is that the $admin variable on that line appears not to be an array,
   but a string which is strange.
 * There’s an easy way to get rid of the notice, but more interesting would be to
   find the underlying issue.
 * Could you have a look at your options table in the database, look for the wpseo_social
   option and see what’s there ?
 * Thanks!
 * Smile,
    Juliette
 *  Thread Starter [jeremyers1](https://wordpress.org/support/users/jeremyers1/)
 * (@jeremyers1)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/illegal-string-offset-link-1/#post-4279751)
 * It shows this:
 * I deleted all the numbers since I wasn’t sure if these were okay to post online
   or not….
 * `a:12:{s:9:"opengraph";s:2:"on";s:9:"fb_admins";a:1:{s:15:"LONGNUMBEREHERE";s:
   1:"h";}s:6:"fbapps";a:11:{i:0;s:34:"Do not use a Facebook App as Admin";s:15:"
   LONGNUMBEREHERE";s:24:"Redeeming Press Comments";s:15:"LONGNUMBEREHERE";s:19:"
   Grace English Bible";s:15:"LONGNUMBEREHERE";s:16:"Grace Commentary";s:15:"LONGNUMBEREHERE";
   s:34:"Till He Comes All 3 Follower Count";s:15:"LONGNUMBEREHERE";s:22:"Grace 
   Commentary Posts";s:15:"LONGNUMBEREHERE";s:19:"Grace Blogger Posts";s:15:"LONGNUMBEREHERE";
   s:17:"Grace Books Posts";s:15:"LONGNUMBEREHERE";s:17:"GraceGround Posts";s:15:"
   LONGNUMBEREHERE";s:19:"Till He Comes Posts";s:15:"LONGNUMBEREHERE";s:18:"Scripture
   On Posts";}s:10:"fbadminapp";s:15:"LONGNUMBEREHERE";s:13:"facebook_site";s:33:"
   http://facebook.com/jeremy.myers3";s:18:"og_frontpage_image";s:75:"http://www.
   tillhecomes.org/wp-content/uploads/2012/05/TillHeComesEbooks.jpg";s:17:"og_frontpage_desc";
   s:124:"The blog of author Jeremy Myers, who writes to bring Scripture and Theology
   to Life. Sign up at his website for free eBooks!";s:16:"og_default_image";s:75:"
   http://www.tillhecomes.org/wp-content/uploads/2012/05/TillHeComesEbooks.jpg";
   s:7:"twitter";s:2:"on";s:12:"twitter_site";s:10:"jeremyers1";s:14:"plus-publisher";
   s:0:"";s:12:"fbconnectkey";s:32:"LONGNUMBEREHERE";}`
 *  [Juliette Reinders Folmer](https://wordpress.org/support/users/jrf/)
 * (@jrf)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/illegal-string-offset-link-1/#post-4279753)
 * Oops.. yeah, I should have mentioned to remove the numbers. Thanks for being 
   vigilant.
 * It appears that the fb_admins array is set up either in an old (disused) format
   or may have some left over data which is not in use anymore.
 * Do you have any facebook accounts as admin linked to you website through WP SEO?
 * If so, would you mind deleting them and adding them again to see if that solves
   it ?
 * If you don’t have any, – sorry, I know it’s a pain -, would you mind clearing
   all facebook data and adding any admins and apps again to see if that solves 
   it ?
 *  Thread Starter [jeremyers1](https://wordpress.org/support/users/jeremyers1/)
 * (@jeremyers1)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/illegal-string-offset-link-1/#post-4279756)
 * That seemed to fix it. Thanks.
 * On a related note, there are no options showing under the “Google+” Tab for ‘
   Author for homepage:’
 * [https://www.diigo.com/item/image/1e8u8/ds2g](https://www.diigo.com/item/image/1e8u8/ds2g)
 * Is that the way this is supposed to look?
 *  Thread Starter [jeremyers1](https://wordpress.org/support/users/jeremyers1/)
 * (@jeremyers1)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/illegal-string-offset-link-1/#post-4279757)
 * I take it back… the fix worked for about 30 seconds, and now the error is back.
   Very strange.
 * What I have done is cleared all the data again, and then only connected as an
   admin, and did not click the “Use a Facebook App as Admin” button. So far, the
   error has not returned.
 * That notice is a little unclear though:
 * “To be able to access your Facebook Insights for your site, you need to specify
   a Facebook Admin. This can be a user, but if you have an app for your site, you
   could use that. For most people a user will be “good enough” though.”
 * Does this mean that I should only use one or the other (admin OR app), and if
   I only use one, the admin user is preferred?
 *  [Juliette Reinders Folmer](https://wordpress.org/support/users/jrf/)
 * (@jrf)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/illegal-string-offset-link-1/#post-4279764)
 * Hi Jeremy,
 * Strange that the error came back…
    I can’t give you advice on what’s best to 
   use.
 * If the warning is bothering you I can give you a quick (code) fix, but it’s not
   a harmful error or anything.
 * I’m not going to change it in the plugin core for now as I’m working on a version
   which should get rid of (nearly) all these kind of issues, though it may still
   be a while before that version is released.
    If you’d like to be a beta tester,
   please let me know and I’ll drop you a line when the version is ready for testing.
 * Concerning the other issue – you should see a dropdown box with all users with
   an author status or higher. So at the very least it should display your admin
   account.
 * Do you get any error messages about this in the php error log ? or may be it’s
   a css conflict – could you check in the page source code whether you can find
   the drop down box there ?
 * Hope this helps,
    Juliette

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

The topic ‘Illegal string offset 'link'’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [illegal string](https://wordpress.org/support/topic-tag/illegal-string/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 6 replies
 * 2 participants
 * Last reply from: [Juliette Reinders Folmer](https://wordpress.org/support/users/jrf/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/illegal-string-offset-link-1/#post-4279764)
 * Status: not resolved