WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: RB Internal Links] fatal error upon activation (3 posts)

  1. robhvs
    Member
    Posted 4 years ago #

    Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /.../wp-content/plugins/rb-internal-links/rb-internal-links.php on line 56

    http://wordpress.org/extend/plugins/rb-internal-links/

  2. Dan Cole
    Member
    Posted 4 years ago #

    PHP.net has some info on the static keyword: http://php.net/manual/en/language.oop5.static.php

    I'd say you are either running the wrong version of PHP or the author didn't properly use the keyword for your version of PHP. I've never used the static keyword in a class before. Based on what I've read in the link above, it looked like it normally has "protected", "public", or "private" preceding it.

    For reference, people can view the line of code in plugin Trac: http://plugins.trac.wordpress.org/browser/rb-internal-links/trunk/rb-internal-links.php#L56

  3. ericperson
    Member
    Posted 3 years ago #

    I get the same error when I try to activate the RB Internal Links in 3.0.1.

    Does anyone know how to fix it?

Topic Closed

This topic has been closed to new replies.

About this Topic