Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • You can go to wp-config.php file and add this line of code at the end :

    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_DISPLAY’, false);

    and then go to wp-content and there you will see a debug.log file open it and you will see all the error you have from which you can have an idea what is causing the issue.

    Additionally, you said that you suspect the theme to be the culprit which you can diagnose by going to wp-content and then opening the Themes folder and disabling the current one by renaming it folder like themename-disabled.

    This will automatically activate the other theme you have and then check if the error is gone or not.

    You can do the same troubleshooting with plugins also but instead of renaming single one of them for troubleshooting you can rename the plugin folder in wp-content and it will disable all the plugins and then check if the error is gone or not.

    If it’s gone you can then then activate the plugin one by one to check the culprit.

    • This reply was modified 1 year, 4 months ago by Bilal Afridi.

    It appears that the additional pages may have been added if you used pre-designed templates while building your website.

    The recommended course of action is to make those pages drafts. After doing so, review your Homepage to ensure that it is functioning properly without any problems. Once you have confirmed that everything is in order, you can proceed to delete the draft pages.

    Hi musthikemusteat,

    The extra posts and pages reported by WP Sweep are hidden database entries such as revisions, auto drafts, and deleted comments.

    They may not be visible in your WordPress admin, but they exist in the database. WP Sweep is suggesting to clean them up to declutter and optimize your site. This is essential for site health and performance, even if you don’t see them in the admin area. Running WP Sweep is a good practice to keep your site tidy and efficient.

    I hope you now know why it’s showing 4000 posts instead of 900 posts you have.

    On there plugin page they wrote that they clean up following things so that why it is showing you the higher number

    The plugin cleans up:

    • Revisions
    • Auto drafts
    • Deleted comments
    • Unapproved comments
    • Spammed comments
    • Deleted comments
    • Orphaned post meta
    • Orphaned comment meta
    • Orphaned user meta
    • Orphaned term meta
    • Orphan term relationships
    • Unused terms
    • Duplicated post meta
    • Duplicated comment meta
    • Duplicated user meta
    • Duplicated term meta
    • Transient options
    • Optimizes database tables
    • oEmbed caches in post meta
    • This reply was modified 1 year, 4 months ago by Bilal Afridi.

    Hi, I’m sorry to hear that you’re having trouble with WordPress updates and maintenance mode. This problem is usually caused by a low memory limit, but don’t worry, you can easily fix it by following these steps:

    Problem 1: Automatic Updates Failed

    • Please log in to your hosting account cpanel and click on File Manager. This will open your WordPress root folder (public_html).
    • Find the file wp-config.php and open it with a text editor.

    Add this line of code near the top, just after the opening <?php tag:
    define(‘WP_MEMORY_LIMIT’, ‘256M’);

    • You can change ‘256M’ to a higher number if you need more memory.

    Problem 2: “Briefly Unavailable for Scheduled Maintenance”

    • When you update WordPress or plugins, it goes into maintenance mode. If it gets stuck, you need to delete a file called .maintenance in the public_html folder. This will bring your site back online.

    Tip: Update the plugins one by one slowly, not all at once, as it will load your server and can cause errors if you don’t have the best hosting.

    Also, if the above steps didn’t work and you are unable to access the site, then you can try these options:

    • Go to wp-content folder and rename the plugin folder to plugin-disable. Then access your site. If it works, then one of the plugins is causing the issue. You can activate them one by one to find the culprit.
    • Go to wp-content folder and go to themes. Rename the file name of the theme you are using. This will activate the default theme. If this works, then there is an error with your theme.

    I hope this helps you resolve the issues you’re facing with WordPress updates and maintenance mode. If not, you may need to contact your hosting provider or a WordPress expert for more help. Good luck! ??

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