Archived topic
Issue Regarding add new hook element
24 replies · Started by kmaji5051 on January 5, 2021
Here is the issue: https://share.getcloudapp.com/Z4uqN4OP
Any update
Hi there,
does the error persist if you just add some plain HTML e.g <p>Hello World</p>
If it does it looks like a permalink issue - go to Settings > Permalinks and click Save Changes to rebuild the links.
Author box https://share.getcloudapp.com/Z4uqN4OP
I have already seen the video - can you test the options i provided here:
https://generatepress.com/forums/topic/issue-regarding-add-new-hook-element/page/2/#post-1607907
With <p>Hello World</p> code, it's work.
But when I use <?php code, it showing same error.
Do you have any security plugins ? As that may be blocking the PHP from being saved.
Can you check my dashboard.
I had a look and it doesn't look like it's a plugin issue.
Can you check your wp-config.php and see if there are any code in there that's preventing PHP?
You can also ask your hosting support to see if they have any built-in security that needs to be disabled.
Ok