Conflict with Wordfence

I’m running X Theme 6.25 and WP 4.9.8.

I’ve noticed recently that Cornerstone, Templates, Theme options & Global Blocks (all fro X menu) will not load as expected. Following troubleshooting, by deactivating all plugins, it turns out that Wordfence 7.1.11 is causing the issue.

Are there any known issues between this plug and X Theme?

Hi There,

Could you please try adding the following code into your wp-config.php file in the root of your WordPress installation.

define( 'WP_MEMORY_LIMIT', '512M' ); define( 'WP_MAX_MEMORY_LIMIT', '512M' );

Let us know how it goes!

No change after editing wp-config unfortunately.

I already had define( ‘WP_MEMORY_LIMIT’, ‘1024’ );

Any other ideas?

Hi there,

Please double check the code you have added.

it should be: define( 'WP_MEMORY_LIMIT', '1024M' );.

There are also some instances that adding that line of code in the wp-config.php file will not take effect if your hosting restricts it so it would be best to double check with your hosting provider for your PHP memory limit.

In case the issue persists. please provide us with your admin details in a Secure Note so that we can check your setup.

Thank you,

I’ve checked syntax in wp-config.php and put both to 512M, but still no change. Wordfence stills break it and gives 500 error on those menu options.

A server info plug I’ve installed IS showing php memory at 512M. I’ve provided admin details…

Hey @pylon,

I have WordFence installed in my test site and it does not cause any issues. Please check with your host if they allow you to increase the memory to 512M. If they don’t, you will need to move to a new host.

It is also possible that a setting in WordFence is causing this. Regretfully, troubleshooting what that setting is is not a part of our support service and we also are not WordFence experts. It would be best you contact WordFence support for this or consult with a WordFence expert.

Thank you for understanding.

Yes, they allow 512M as the max. Removing Wordfence and replacing with Sucurri plug instead. Don’t have time to troubleshoot further.

Glad to know you were able to find an alternative. Have a nice day! :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.