PHP code not executed when logged out
-
Hello,
thank you for your great plugin! But I have a little problem. I knwo, this has probably nothing to do with your plugin and I already asked here, but maybe you can yet help me.
When I paste the following code
<?php echo 'before'; $someArray = ['foo' => 'bar']; echo 'after'; ?> <b>some HTML</b>into your widget inside the Elementor PageBuilder, everything works fine and returns
beforeafteras long as I am logged in (even with an account, that has only the author role).
When I am logged out, the PHP code is not executed and the following is printed on the site:
'bar']; echo 'after'; ?>The HTML is rendered fine.
If I paste the same code into a widget outisde of Elementor, everything also works fine.
Do you have any ideas how to solve this issue? Thank you very much!
The topic ‘PHP code not executed when logged out’ is closed to new replies.