WordPress.org

Ready to get started?Download WordPress

Forums

Fancier Author Box by ThematoSoup
[resolved] Parse Error for ts-fab-construct-tabs.php (4 posts)

  1. djsmiley2k
    Member
    Posted 1 year ago #

    Hi,

    We have encountered an error this morning with the plugin. The logs show the error as: (I've removed our url)

    [Tue Feb 05 09:18:59 2013] [error] [client xx.xxx.xxx.xxx] PHP Parse error: syntax error, unexpected ',' in /www/xxx.xxx.xxx/html/wp-content/plugins/fancier-author-box/includes/ts-fab-construct-tabs.php on line 27

    I checked this line in the file:

    // if( get_user_meta( $author->ID, 'ts_fab_facebook', true) )
    // $ts_fab_bio .= 'ID, 'ts_fab_facebook', true ) . '" title="Facebook"><img src="http://www.xxxxx.com/uk/assets/images/linkedin.png', dirname(__FILE__) ) . '" width="18" height="18" alt="' . __( 'My Facebook profile', 'ts-fab' ) . '" />';

    As you can see I've commented out the two lines for now. Its quite possible that one of the users has made some change somewhere which they aren't making me aware of. I simply run the server for the blog but they turn to me any time they break anything.

    http://wordpress.org/extend/plugins/fancier-author-box/

  2. Slobodan Manic
    Member
    Plugin Author

    Posted 1 year ago #

    That's not what line 27 looks like, seems like you're using edited version of it. If you download it, it looks like this:

    if( get_user_meta( $author->ID, 'ts_fab_facebook', true) )
    	$ts_fab_bio .= '<a href="http://facebook.com/' . get_user_meta( $author->ID, 'ts_fab_facebook', true ) . '" title="Facebook"><img src="' . plugins_url( 'images/facebook.png', dirname(__FILE__) ) . '" width="18" height="18" alt="' . __( 'My Facebook profile', 'ts-fab' ) . '" /></a>';
  3. djsmiley2k
    Member
    Posted 1 year ago #

    Ah, they did change it! Grrrr.

    Wish they'd just tell me they'd done that rather than throwing their arms in the air claiming nothing had been done and it simply "stopped" working!.

    Many Thanks.

  4. Slobodan Manic
    Member
    Plugin Author

    Posted 1 year ago #

    It's funny how easy it is to trace things like this and people still think they can get away with it :)

    Glad I could help!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.