If the only change is whether or not Insert PHP is activated, then it would appear to indeed be Insert PHP that’s causing it.
Unfortunately, I’m uncertain what you mean by saving pages. If you mean saving from the post-update page of the dashboard, try creating a temporary post with the minimum of Insert PHP code.
[insert_php]
echo(date("r"));
[/insert_php]
If this works but the page you’re currently testing does not, then there is likely to be some other error somehow related to Insert PHP. Perhap an error in the PHP code between the insert_php tags.
Yes, the last update was a couple years ago. I test it with each new WP version. It continues to work and doesn’t need an update. It’s a simple little plugin, actually.
Will
Thread Starter
GregW
(@gwmbox)
I tried your code and it worked, however when I try my code it fails.
After several other plugin troubleshooting it has resulted in a conflict with Yoast SEO,
It also only seems to be an issue when the page is set to public, if I set it to private it works fine.
i think it has something to do with REQUIRE, I’m not really sure
E.g. [insert_php]require ‘directory/file.html’;[/insert_php]
I have uninstalled and reinstalled
Thanks
GW
You are wonderfully persistent. An inspiration.
A reply to your private email is on the way with several things that can be tried for resolving the conflict or determining what is causing it.
In essence, if there is a conflict and the conflict can’t be resolved, only one of the two plugins can be used.
If your PHP code can run as an independent file, it may be uploaded to your server and its output inserted into the WordPress post or page with Insert Here found at https://www.willmaster.com/software/WPplugins/insert-here-wordpress-plugin.php
Will