WordPress.org

Ready to get started?Download WordPress

Forums

Wordbooker
[resolved] T_VARIABLE (7 posts)

  1. blueboxmedia.com.au
    Member
    Posted 1 year ago #

    When I click 'activate' in the Plugin section of wordpress, this error message appears:
    error: syntax error, unexpected T_VARIABLE in /var/www/clients/client35/web27/web/wp-content/plugins/wordbooker/wordbooker.php on line 2812

    http://wordpress.org/extend/plugins/wordbooker/

  2. Steve
    Member
    Plugin Author

    Posted 1 year ago #

    Which version are you using?

  3. blueboxmedia.com.au
    Member
    Posted 1 year ago #

    wordbooker Version 2.1.22
    Wordpress 3.4.2

  4. blueboxmedia.com.au
    Member
    Posted 1 year ago #

    oh and line 2812 says:
    $actions['wordbooker'] = '' . __( 'Remove Wordbooker Record', 'wordbooker' ) . '';

  5. Steve
    Member
    Plugin Author

    Posted 1 year ago #

    There is something odd - I know that your text got mushed by the forums but the line is :

    $actions['wordbooker'] = '<a href="' . $link . '">' . __( 'Remove Wordbooker Record', 'wordbooker' ) . '</a>';

    which looks OK and doesn't cause any errors on the three installs I've tested it on.

    You could try changing it to:

    $actions['wordbooker'] = '<a href="'.$link.'">'. __( 'Remove Wordbooker Record', 'wordbooker' ).'</a>';

  6. blueboxmedia.com.au
    Member
    Posted 1 year ago #

    Thank you, the second code worked!

  7. Steve
    Member
    Plugin Author

    Posted 1 year ago #

    How strange.... but glad it fixed it. I'll make the change in the code here so it doesn't break in the future.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic