Title: Illegal string offset
Last modified: September 3, 2016

---

# Illegal string offset

 *  [wpguppy](https://wordpress.org/support/users/wpguppy/)
 * (@wpguppy)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/illegal-string-offset-24/)
 * I am getting the following errors:
 * [http://s23.postimg.org/uvfkdthqj/secure.png](http://s23.postimg.org/uvfkdthqj/secure.png)
 * How do I fix this?

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

 *  Plugin Author [philipjewell](https://wordpress.org/support/users/philipjewell/)
 * (@philipjewell)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/illegal-string-offset-24/#post-8063456)
 * As of right now, I am not sure why it is outputting that error since that line
   of the code is required for the plugin to work the way it does. You can use the
   following snippet in your wp-config.php in order to have that error not show 
   on your live site though:
 * `define( 'WP_DEBUG_DISPLAY', false );`
 * As soon as I find the cause, or an alternative method of getting the SANs from
   the SSL certificate, there will be an update rolled out.
 *  [Aleks](https://wordpress.org/support/users/akaracing/)
 * (@akaracing)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/illegal-string-offset-24/#post-8712184)
 * to fix the problem do this
 * find these 3 line rem them out with in the ssl-verification-badge.php. there 
   is no need to loop round the array, just jump straight to the array keys and 
   get the data //
 *  //foreach($certinfo as $key=>$value){
    // $SANs = $value[‘subjectAltName’] .‘
   <br>’; // }
 * then add this line:
 *  $SANs = $certinfo[‘extensions’][‘subjectAltName’] . ‘<br>’;
 * regards
    Aleks
 *  Plugin Author [philipjewell](https://wordpress.org/support/users/philipjewell/)
 * (@philipjewell)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/illegal-string-offset-24/#post-8714709)
 * [@akaracing](https://wordpress.org/support/users/akaracing/) Thank you very much!
   
   I have gone ahead and implemented the change and pushed it out! :]
 *  [Aleks](https://wordpress.org/support/users/akaracing/)
 * (@akaracing)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/illegal-string-offset-24/#post-8715449)
 * Cool, we have make a small mod to our version of your plugin and made it a shortcode
   so it can be placed any where on WordPress, page/post/sidebar/widget/footer
 * It’s a very cool plugin.
 * Regards
    Aleks

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

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

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

 * 4 replies
 * 3 participants
 * Last reply from: [Aleks](https://wordpress.org/support/users/akaracing/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/illegal-string-offset-24/#post-8715449)