• Hi folk,

    Since upgrading to WordPress 2.8 I’m seeing this PHP error relating to wp-includes, doesn’t seem to be a reported issue:

    Warning: Illegal offset type in isset or empty in ../wp-includes/pomo/translations.php on line 55

    The error is visible if you mouseover or click the ‘preview’ link in the ‘Follower profile’ box on this page:

    https://www.bioneural.net/map/

    The content for preview is generated using this code:

    <span class="twiturl"><?php $xml = locateTwits(); echo 'Website: <a href="' . $xml->user[0]->url . '">visit</a>.' ?> Recent blogs and/or tweets: <a href="#preview" rel="ibox" title="Showing content from <?php _e($xml->user[0]->name) ?>" >preview</a>.</span>

    with the custom functions in my theme functions.php file as per this tutorial:

    https://www.bioneural.net/2009/03/15/share-twitter-locations-using-google-maps/

    I’ve no idea what translations.php has to do this this. If anyone has any ideas I’d be grateful if you shared them.

    Cheers, Bruce

Viewing 1 replies (of 1 total)
  • Thread Starter bmck

    (@bmck)

    Never mind; translations.php was a red herring. I removed ‘Follower profile’ due to abuse by spam followers, but still use the technique for the ‘Where’s Bruce?’ Extra.

    The fix is to properly encode what I am parsing from the Twitter profile i.e. $xml = htmlentities($xml);

Viewing 1 replies (of 1 total)
  • The topic ‘wp-includes translations.php error line 55’ is closed to new replies.