Site logo

Archived topic

PHP in Elements suddenly stopped working!

4 replies · Started by Sean on November 11, 2020

Viewing posts 1–5 of 5

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:

Hook setup

But it give this:

sample-page

http://demo.onecards.co.uk/sample-page/

Any idea why the PHP has stopped working?

Thanks

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.

This archived topic is closed to new replies.