Reloaded PHP code is commented

[ad_1]

Hi @ampits,

Really Simple SSL does not comment PHP code. Can you check if this also happens if you rename the Really Simple SSL plugins folder in wp-content/plugins, then clear all caches?

Hello @rogierlankhorst ,

if i deactivate Really Simple SSL-Plugins the Website works normal.
I´ve testet it several times.

At the moment, the Really Simple SSL-Plugins is active at my website.
Did you see the error?

@ampits can you check the following:

– disable all hardening features one by one
– disable the mixed content fixer

then let me know if disabling any of these functions resolves the issue? Then I know where to look.

@ampits how is the PHP code inserted? I tested this with the ‘Insert PHP Code Snippet’ plugin, and the snippet worked without issues, including with all hardening features enabled.

Hello @rogierlankhorst ,

after uncheck the “disable the internal file editor” the site works correctly.

@ampits that is strange. This function declares a WordPress constant

define('DISALLOW_FILE_EDIT', true );

Which often also is added to the wp-config.php file. It is a core WordPress feature which disables the file editing option below the plugins menu. What tool are you using to insert the php code?

It’s also interesting to see if inserting the above constant in the wp-config.php also results in this issue.

It sounds as if the tool you use does something strange with this constant, which should be resolved in that tool.

Yes, that’s really weird.
Even if I add the entry to wpconfig.php and disable RSSSL, this error occurs.

I use the AdInserter tool, but this error only occurs since yesterday’s RSSSL update.

Thanks for the info, I’ll report that to the other tool.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer