- This topic has 15 replies, 4 voices, and was last updated 5 years, 3 months ago by Tom.
June 20, 2017 at 12:26 am #336043Stefan
I’ve got a little incompatibility issue which is described here: Getting 404 Errors When Clicking SmartTag Links. There is also a solution.
I found out that it’s caused by GPP hooks. Is there any other solution (action hook or something) how can I resolve this issue without modifying core file?
Thank you for your help.
StefanGeneratePress 1.3.48GP Premium 1.3.1June 20, 2017 at 9:02 am #336294TomLead DeveloperLead Developer
let me explain better. MemberMouse has a core page myaccount. Members on that page can modify theirs information but when I click on update button I get an error page. You can see here how myaccount page looks like (myaccout page )
Otherwise every other funcionality of GP Premium of MemberMouse works good. I can add PHP code or some shortcodes to hooks and it works. Other funcionality of MemberMouse such as submitting the checkout form isn’s affectedd by that problem.
I’m sorry I didn’t describe this issue better for the first time.June 20, 2017 at 1:57 pm #336480TomLead DeveloperLead Developer
Is there anything in your hook fields? I’m not sure how hooks could cause any error pages, unless the code added into one of them is the cause.June 20, 2017 at 10:03 pm #336630Stefan
In After content hook is
<?php if (is_single() ) : ?>
[related_posts_by_tax format=”thumbnails” columns=”2″ image_size=”medium” title=”My Related Posts” posts_per_page=”2″]
<?php endif; ?>
It doesn’t work even if I delete it.
I tried put this code to my child theme’s function file
but it doesn’t work either.
Maybe this has something to do with WordPress ticketJune 20, 2017 at 10:12 pm #336633Stefan
I tried that code
Hmm, Hooks shouldn’t care what functions you have added – it’s literally a bunch of text boxes which add hook related functions for you.
Try this code:
Unfortunately this didn’t help. Still the same.
Maybe I found a solution.
I’ve created a simple plugin with one php file
added to the folder, uploaded and activated it.
Everything works as it should.
Is this the right approach how to solve it?June 21, 2017 at 9:33 am #336952TomLead DeveloperLead DeveloperJune 21, 2017 at 9:42 am #336958Stefan
Thank you, Tom.
Also thanks to rosshanney for the idea.
Tom, would you please check on affiliate applications. I just want to know if you can see my application there, because I didn’t get any confirmation after I signed up.
Thanks.June 21, 2017 at 9:54 am #336961TomLead DeveloperLead DeveloperJune 21, 2017 at 10:05 am #336963Stefan
This time I got a confirmation page. I hope you will see it there. 🙂June 21, 2017 at 11:19 am #337014TomLead DeveloperLead DeveloperJune 21, 2017 at 11:33 am #337023Stefan
Tom, you are awesome.
Thank you.August 30, 2017 at 5:00 pm #376434Sam
I’ve run into this same issue, but the code snippet isn’t working for me. I did switch to TwentyTwelve theme and the issue was still happening, so in my case the problem doesn’t seem to be GP.
- You must be logged in to reply to this topic.