Archived topic
PHP in Elements suddenly stopped working!
4 replies · Started by Sean on November 11, 2020
I have a few Hook elements set up with PHP rendering the content that have been working perfectly well - until today where it now seems that the PHP is not being executed properly - for example:
http://demo.onecards.co.uk/location/retford/ - should have a number of posts displayed under 'Our Team'
http://demo.onecards.co.uk/staff-member/john-smith/ - should have a load of contact information displayed
These have been working fine until this afternoon - last plugin updates were a few days ago. It's a multisite too.
I have set up the following:
But it give this:
http://demo.onecards.co.uk/sample-page/
Any idea why the PHP has stopped working?
Thanks
The image links don't look like they've worked - they're here:
Hi there,
have you made any plugin updates, particularly Security ones that may affect the PHP in the editor?
No - last plugin updates were on Tuesday. This is a test site so I don't have any security plugins installed yet.
It was all working this morning.
Maybe check with your hosting support to see if there are any security measures implemented?
The theme is not capable of adding comment marks to your code.