The below (line 2) is the line that causes my save to become a 404. I saw the other page not found post and do have a custom permalink set. I did change it to the default wordpress sets and tried that, but it still did the same thing. I’ve also deactivated every plugin with exception of this one, and it also continues to throw me to the 404 page.
$pattern = '/[^0-9x]/i'; $phone = preg_replace($pattern, '',$phone);
<?php //This will save preg_replace ?>
<?php //This will not preg_replace() ?>
- The topic ‘Page Not Found’ is closed to new replies.