• I’m getting the following error after upgrading to WP 3.8:

    Warning: Illegal string offset 'status_txt' in /home/carolynbaker/carolynbaker.net/wp-content/plugins/share-and-follow/share-and-follow.php on line 1243

    I fixed it as follows:

    if(empty($this->_options['cdn']) || (!empty($this->_options['cdn']) && !empty($this->_options['cdn']['status_txt']) && $this->_options['cdn']['status_txt']!='OK'))

    Maybe you’d like to include this in a future update?

    B

    https://www.ads-software.com/plugins/share-and-follow/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The author of this is MIA. Where did you put that code? Did you replace an existing line? Others would like to fix their installs too but I tried a few things with your code and couldn’t find what would make the errors stop. Can you please give me more info? Thanks.

    Ok… I figured it out. There are 2 of these you need to replace. Search the same text and replace it twice.

    Open:
    share-and-follow.php

    Find:
    if($this->_options['cdn']['status_txt']!='OK'){

    Replace with:
    if(empty($this->_options['cdn']) || (!empty($this->_options['cdn']) && !empty($this->_options['cdn']['status_txt']) && $this->_options['cdn']['status_txt']!='OK')){

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug Report with WordPress 3.8’ is closed to new replies.