Make WordPress Core

Opened 5 weeks ago

Closed 5 weeks ago

Last modified 5 weeks ago

#61793 closed defect (bug) (invalid)

Experiencing Uncaught Errors with WP Admin

Reported by: techsf's profile techsf Owned by:
Milestone: Priority: normal
Severity: major Version:
Component: General Keywords:
Focuses: ui, accessibility Cc:

Description

Dear WordPress Team,

I seek for your assistance in providing me knowledge and guiding me on how to get this issue resolved: https://prnt.sc/ufVuVnwzAzlk

I have been trying to disable plugins and switching themes, but the issue does not seem to be resolved.

Many of the options are not working, see details below:

  1. Posts:

-- Clicking on "Quick Edit" function for a post does not do anything.
-- Setting a featured image for a post does not do anything.
-- Adding a category when in edit mode for the post does not do anything.

  1. Users:

-- When in Edit screen for a user, clicking on "Set New Password" does not do anything.

  1. Pages:

-- When editing in default WP editor, under "Publish" section, clicking on "Edit" beside "Visibility" does not do anything
-- Clicking on "Quick Edit" function for a page does not do anything.

What's concerning is that whenever I perform the above on the staging site (exact same copy of my live site, everything is working fine, it's just that in the live site, I encounter these issues)

Change History (3)

#1 @shilpaashokan94
5 weeks ago

To resolve the issues you're experiencing on your WordPress site, follow these steps systematically:

  1. Check Browser Console for Errors:

Open your WordPress admin dashboard.
Press F12 to open the Developer Tools.
Go to the "Console" tab and perform the actions that are not working (e.g., Quick Edit, Set New Password).
Note any error messages that appear in the console. These can provide clues about what might be going wrong.

  1. Clear Browser Cache and Cookies:

Sometimes, cached files can cause issues. Clear your browser's cache and cookies and try again.

  1. Ensure All Plugins and Themes Are Updated:

Make sure all plugins and themes are up-to-date. Outdated software can cause compatibility issues.

  1. Disable All Plugins:

Deactivate all plugins and check if the issue persists.
If the problem is resolved, reactivate the plugins one by one to identify the problematic plugin.

  1. Switch to a Default Theme:

Temporarily switch to a default WordPress theme (e.g., Twenty Twenty-One) to see if the issue is theme-related.

  1. Check for JavaScript Conflicts:

JavaScript errors can cause the admin area to malfunction. Check for conflicts by:
Disabling all plugins and using a default theme.
Enabling the SCRIPT_DEBUG mode by adding the following line to your wp-config.php file:

define('SCRIPT_DEBUG', true);

This will load the unminified versions of the scripts and can help identify the source of the issue.

  1. Check File Permissions:

Ensure that your WordPress files and directories have the correct permissions:
Files: 644
Directories: 755

  1. Increase PHP Memory Limit:

Sometimes, insufficient PHP memory can cause issues. Increase the PHP memory limit by adding or modifying the following line in your wp-config.php file:

define('WP_MEMORY_LIMIT', '256M');

  1. Check for Corrupted Core Files:

Download a fresh copy of WordPress from wordpress.org.
Replace the wp-admin and wp-includes directories on your live site with the ones from the fresh download (except for wp-config.php and the wp-content directory).

  1. Consult Hosting Provider:

Contact your hosting provider to check for any server-side issues that might be causing the problem.

  1. Compare Live and Staging Site Configurations:

Since the staging site works fine, compare the configurations and server settings of both the live and staging sites. Look for discrepancies in server settings, PHP versions, or any other configurations.

  1. Enable WordPress Debug Mode:

Enable debugging in WordPress by adding the following lines to your wp-config.php file:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);

This will create a debug log in the wp-content directory named debug.log. Check this log for errors that might indicate the source of the issue.
If after following these steps the issue is still not resolved, you can provide the error messages from the browser console or the debug.log file for further assistance.

By methodically working through these steps, you should be able to identify and resolve the issues affecting your WordPress site.

#2 @desrosj
5 weeks ago

  • Keywords 2nd-opinion dev-feedback removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi @shilpaashokan94, welcome to Trac!

I see that you were trying to disable plugins to test, but have you been able to verify the issue still happens with all plugins deactivated? I would also try the re-install button on the site.com/wp-admin/update-core.php page to download and install fresh copy of WordPress Core. It's possible something did not copy correctly during the last update.

I'm going to close this one out because at the moment, this is more of a support request. Support requests are better suited for the WordPress.org Support Forums. If you're able to identify steps that someone else can use to reliably reproduce the issue on a fresh install, feel free to reopen with more information.

#3 @techsf
5 weeks ago

Thank you @shilpaashokan94 and @desrosj - I will take these suggestions into consideration. I am just in a bit of a tight spot as I can't deactivate all plugins or change themes at this time due to the site needs to be kept live.

I will schedule a downtime of the website over the weekend to try your suggestions. Also, as these issues do not show in the staging site, hence I cannot perform them over in the staging site.

Appreciate your help on this.

Note: See TracTickets for help on using tickets.