• johnpaul2k2

    (@johnpaul2k2)


    the bolded is the error i get while i visit wp.admin

    ‘ . __( ‘Welcome to your WordPress Dashboard! This is the screen you will see when you log in to your site, and gives you access to all the site management features of WordPress. You can get help for any screen by clicking the Help tab above the screen title.’ ) . ‘
    ‘; $screen = get_current_screen(); $screen->add_help_tab( array( ‘id’ => ‘overview’, ‘title’ => __( ‘Overview’ ), ‘content’ => $help, ) ); // Help tabs $help = ‘
    ‘ . __( ‘The left-hand navigation menu provides links to all of the WordPress administration screens, with submenu items displayed on hover. You can minimize this menu to a narrow icon strip by clicking on the Collapse Menu arrow at the bottom.’ ) . ‘

    ‘; $help .= ‘
    ‘ . __( ‘Links in the Toolbar at the top of the screen connect your dashboard and the front end of your site, and provide access to your profile and helpful WordPress information.’ ) . ‘

    ‘; $screen->add_help_tab( array( ‘id’ => ‘help-navigation’, ‘title’ => __( ‘Navigation’ ), ‘content’ => $help, ) ); $help = ‘
    ‘ . __( ‘You can use the following controls to arrange your Dashboard screen to suit your workflow. This is true on most other administration screens as well.’ ) . ‘

    ‘; $help .= ‘
    ‘ . __( ‘Screen Options — Use the Screen Options tab to choose which Dashboard boxes to show.’ ) . ‘

    ‘; $help .= ‘
    ‘ . __( ‘Drag and Drop — To rearrange the boxes, drag and drop by clicking on the title bar of the selected box and releasing when you see a gray dotted-line rectangle appear in the location you want to place the box.’ ) . ‘

    ‘; $help .= ‘
    ‘ . __( ‘Box Controls — Click the title bar of the box to expand or collapse it. Some boxes added by plugins may have configurable content, and will show a “Configure” link in the title bar if you hover over it.’ ) . ‘

    ‘; $screen->add_help_tab( array( ‘id’ => ‘help-layout’, ‘title’ => __( ‘Layout’ ), ‘content’ => $help, ) ); $help = ‘
    ‘ . __( ‘The boxes on your Dashboard screen are:’ ) . ‘

    ‘; if ( current_user_can( ‘edit_posts’ ) ) $help .= ‘
    ‘ . __( ‘At A Glance — Displays a summary of the content on your site and identifies which theme and version of WordPress you are using.’ ) . ‘

    ‘; $help .= ‘
    ‘ . __( ‘Activity — Shows the upcoming scheduled posts, recently published posts, and the most recent comments on your posts and allows you to moderate them.’ ) . ‘

    ‘; if ( is_blog_admin() && current_user_can( ‘edit_posts’ ) ) $help .= ‘
    ‘ . __( “Quick Draft — Allows you to create a new post and save it as a draft. Also displays links to the 5 most recent draft posts you’ve started.” ) . ‘

    ‘; if ( ! is_multisite() && current_user_can( ‘install_plugins’ ) ) $help .= ‘
    ‘ . sprintf( /* translators: %s: WordPress Planet URL */ __( ‘WordPress News — Latest news from the official WordPress project, the WordPress Planet, and popular plugins.’ ), __( ‘https://planet.wordpress.org/’ ) ) . ‘

    ‘; else $help .= ‘
    ‘ . sprintf( /* translators: %s: WordPress Planet URL */ __( ‘WordPress News — Latest news from the official WordPress project and the WordPress Planet.’ ), __( ‘https://planet.wordpress.org/’ ) ) . ‘

    ‘; if ( current_user_can( ‘edit_theme_options’ ) ) $help .= ‘
    ‘ . __( ‘Welcome — Shows links for some of the most common tasks when setting up a new site.’ ) . ‘

    ‘; $screen->add_help_tab( array( ‘id’ => ‘help-content’, ‘title’ => __( ‘Content’ ), ‘content’ => $help, ) ); unset( $help ); $screen->set_help_sidebar( ‘
    ‘ . __( ‘For more information:’ ) . ‘

    ‘ . ‘
    ‘ . __( ‘Documentation on Dashboard’ ) . ‘

    ‘ . ‘
    ‘ . __( ‘Support Forums’ ) . ‘

    ‘ ); include( ABSPATH . ‘wp-admin/admin-header.php’ ); ?>
    user_email != get_option( ‘admin_email’ ) ); if ( $hide ) $classes .= ‘ hidden’; ?>

    please what could possibly be the problem?

    thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Have you edited any PHP files?

    Thread Starter johnpaul2k2

    (@johnpaul2k2)

    no i didn’t remember touching anything
    though i use dedicated server but i didn’t touch anything

    please what is the possible way to getting everything back to normal?

    thanks

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Try manually updating wordpress — this will replace any WP files in case one is corrupt

    https://codex.wordpress.org/Updating_WordPress#Manual_Update

    Thread Starter johnpaul2k2

    (@johnpaul2k2)

    thank you, i will give you feedback when i am done

    Thread Starter johnpaul2k2

    (@johnpaul2k2)

    i have done everything, but none is working

    i have 5 websites and all of them are doing the same thing

    i have update one according to your instructions but it’s not work, with the other 4 websites

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    i use dedicated server

    So what have you changed in your server configs lately?

    Thread Starter johnpaul2k2

    (@johnpaul2k2)

    They installed Apache modules installed on my server
    that was all

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Who is “they” and what did they do?

    Was this working before? If so, ask whoever installed the modules to review their work.

    Thread Starter johnpaul2k2

    (@johnpaul2k2)

    they i mean my host, they assist with command installation only, since i am self managed, everything is on me.

    please could this be as issue with php or apache?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    It could be.

    Please provide a link to your site. Thanks.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘WordPress Scripting error’ is closed to new replies.