Plugin Author
AITpro
(@aitpro)
Hmm I just noticed you said this was happening with more than one mobile redirection plugin and not just EMR. Another possibility is the problem has something to do with your server or some other service like cloud or CDN. Once again the best clue is the time thing. You should be looking at anything that does anything based on time at 30 minute intervals.
Plugin Author
AITpro
(@aitpro)
And just thought of another possibility:
If your website is running on the bare minimum of PHP memory and you need to increase your PHP memory limit then it could appear that the problem is time based, but it would actually be that your website/server memory limit has peaked/maxed out and there is no available memory for the EMR plugin to do what it does.
On the BPS System Info page your PHP Configuration Memory Limit should be 128M. If it is any lower than that then contact your host and have them increase your memory limit to 128M.
I may have been wrong with the 30 min idea. After I reactivated a different mobile plugin, I didn’t realize, it did not retain the redirect settings upon reactivation, so I thought it was happening to multiple plugins. Right now I have a different mobile plugin activated, and it’s been working for 1.5 hours. It may be EMR. But I’ll let you know. I want to give it some time to see if it continues working.
Plugin Author
AITpro
(@aitpro)
Yep who knows – it could anything at this point. 😉
I think the EMR plugin works fine in general and the code looks good to me and it worked on my test site with BPS without any issues or problems, but of course my test site does not have all the other plugins/conditions/environmental things going on that your site has. 😉
Another place to look for clues would be your host server log files. There may be server log errors that indicate exactly what and where the problem is.
Turns out, it’s in relation to Wordfence’s Falcon engine where it caches pages to enhance performance. With it turned off, redirect works without issue.
Plugin Author
AITpro
(@aitpro)
Yep makes logical sense and caching is the most logical cause of this type of problem. Let the Wordfence folks know about this problem, but it may be one of those non-fixable problems. ie Falcon cache is not compatible with the EMR plugin and other mobile friendly plugins.
Plugin Author
AITpro
(@aitpro)
Yep no problem. This statement is incorrect: “…it may be one of those non-fixable problems…”. A better way to say that would be – currently is not fixable, but since everything is fixable then it would just need to be fixed in a future version…