Really weird, the “options-general.php” is not the correct entry point. I’ve just tested a saving on my blog and it works… I really don’t know. When you enter the settings page, what is the URL you see?
Just ran a few tests. If I exclude <script> tags and make it purely text it saves. If I add
it changes the end location to the above mentioned.
okay after 1 further test I have narrowed the error down to the less than (<) and greater than (>) symbol. If excluded it will save.
Sorry, that URL is ok. Could be a security plugin is blocking the saving process with that code? The plugin does not check what’s in the configuration, just saves it.
interesting. Only Elementor installed.
You were right Stafano. After some work I discovered that the new version of Cpanel comes with a new addition ‘WP Toolkit’. Within it exists a security measures section with default measures already selected, these include:
Block access to potentially sensitive files
Forbid execution of PHP scripts in the wp-content/uploads directory
Forbid execution of PHP scripts in the wp-includes directory
Hope that helps someone in the future. Thanks for your time Stefano.