• Resolved hcastellow

    (@hcastellow)


    I recently updated my php to version 7.3 and while my website appears to function as expected, I am unable to perform updates on the admin side. I see this fatal error:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Screen::add_help_tab(), 0 passed in /home1/happinb8/public_html/wp-includes/functions.php on line 5234 and exactly 1 expected in /home1/happinb8/public_html/wp-admin/includes/class-wp-screen.php:631 Stack trace: #0 /home1/happinb8/public_html/wp-includes/functions.php(5234): WP_Screen->add_help_tab() #1 /home1/happinb8/public_html/wp-includes/plugin.php(638): _deprecated_hook(‘contextual_help’, ‘3.3.0’, ‘get_current_scr…’, ”) #2 /home1/happinb8/public_html/wp-admin/includes/class-wp-screen.php(823): apply_filters_deprecated(‘contextual_help’, Array, ‘3.3.0’, ‘get_current_scr…’) #3 /home1/happinb8/public_html/wp-admin/admin-header.php(270): WP_Screen->render_screen_meta() #4 /home1/happinb8/public_html/wp-admin/user-edit.php(191): require_once(‘/home1/happinb8…’) #5 /home1/happinb8/public_html/wp-admin/profile.php(18): require_once(‘/home1/happinb8…’) #6 {main} thrown in /home1/happinb8/public_html/wp-admin/includes/class-wp-screen.php on line 631

    Help will be greatly appreciated!

    The page I need help with: [log in to see the link]

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

    (@macmanx)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter hcastellow

    (@hcastellow)

    Thanks for the reply, James. I tried your recommendations but that does not fix the issue with accessing the dashboard.

    Moderator James Huff

    (@macmanx)

    Ok, try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), 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 hcastellow

    (@hcastellow)

    That worked for me! Thanks so much for the assistance James. 🙂

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

The topic ‘PHP Issues’ is closed to new replies.