WordPress.org

Ready to get started?Download WordPress

Forums

New Theme Wpage.php error (4 posts)

  1. GeorgeRB
    Member
    Posted 3 years ago #

    This error is all I get from my site:-

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in D:\inetpub\vhosts\innforapenny.com\httpdocs\wp-content\themes\php-ease\classes\WPage.php on line 23

    HELP please.

  2. Gisha James
    Member
    Posted 3 years ago #

    Edit this file: themes\php-ease\classes\WPage.php via FTP and fix the above mentioned error.

  3. GeorgeRB
    Member
    Posted 3 years ago #

    Thank you
    BUT
    I do not understand .php
    I can access the file by ftp ut what is wrong in the file ???

  4. Gisha James
    Member
    Posted 3 years ago #

    According to the error message you mentioned in the first post, it has an extra } on line 23, remove that. If you are using dreamweaver to edit the file, it usually highlights the error.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.