Skip to:
Content
Pages
Categories
Search
Top
Bottom

Syntax error

  • @mmurasko

    Member

    What do I need to do to clear this error:

    Parse error: syntax error, unexpected T_LNUMBER in /home/marlamu1/public_html/wp-includes/wp-db.php on line 11

Viewing 6 replies - 1 through 6 (of 6 total)
  • @mmurasko

    Member

    Here is the code:

    1 <?php

    2 /**

    3 * WordPress DB Class

    4 *

    5 * Original code from {@link http://php.justinvincent.com Justin Vincent (justin@visunet.ie)}

    6 *

    7 * @package WordPress

    8 * @subpackage Database

    9 * @since 0.71

    10 */

    11

    12 /**

    13 * @since 0.71

    14 */

    15 define( ‘EZSQL_VERSION’, ‘WP1.25’ );

    16

    17 /**

    18 * @since 0.71

    19 */

    20 define( ‘OBJECT’, ‘OBJECT’, true );

    @chrishajer

    Participant

    There should not be line numbers in that file. I wonder if someone on the WordPress side checked in code with line numbers?

    What version of WordPress are you using? And honestly, this looks like a WordPress not bbPress issue.

    Related to this recent report:

    https://bbpress.org/forums/topic/fatal-error-call-to-undefined-function-2

    @kevinjohngallagher

    Member

    I’m afraid that error has nothing to do with bbPress, but is a WordPress error. You’ll get a quicker answer if you asked on the WordPress supoprt forums.

    Good Luck!

    @chrishajer

    Participant

    @mmurasko

    Member

    I copied it from code editor if I copied it right from edit, it wouldn’t have numbers in it. I just wanted to see how far to go down when I copied it for you all to look at.

    I’m using WP 3

    @chrishajer

    Participant

    I recommend uploading all the WordPress files again. Looks like something happened on the transfer.

    If that does not resolve it, please direct your question to the wordpress.org/support forums since this looks to be a WordPress issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar