• When I access my WordPress and go to “users > all users > admin > [EDIT]” but when I click edit I get an error message, so now I cannot get into here to complete the things I need to do for my website.

    ___________________________________________________________________________________________________

    Parse error: syntax error, unexpected ‘\’ (T_NS_SEPARATOR), expecting identifier (T_STRING) in /data/51/4/94/58/4746384/user/5621970/htdocs/wordpress1/wp-admin/user-edit.php on line 10

    The file “user-edit.php” has the following:

    <?php
    /**
    * Edit user administration panel.
    *
    * @package WordPress
    * @subpackage Administration
    * @since 3.1.0
    */

    /** Load WordPress Administration Bootstrap */
    require_once( dirname( __FILE__ ) . ‘/admin.php’ );

    require( ABSPATH . ‘wp-admin/user-edit.php’ );

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    It could be a function conflict introduced by a theme or plugin.

    Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Sixteen theme to rule-out a theme-specific issue.

    If neither of those made any difference, try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter oecgaming

    (@oecgaming)

    @macmanx In other words, this means I would have to redo my entire site? I have it completed, but this issue I am facing.

    • This reply was modified 8 years, 2 months ago by oecgaming.
    Moderator James Huff

    (@macmanx)

    Absolutely not.

    Follow the instructions I provided. In short, they walk you through identifying the specific cause of the problem so that it can be properly addressed.

    Absolutely nothing above involves you having to “redo [your] entire site.” I even specifically stated in the core file replacement instructions, “This will effectively replace all of your core files without damaging your content and settings.”

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘user-edit.php error’ is closed to new replies.