Hello.
I’m sorry to have kept you waiting so long.
The Bugfix:
Bugfix (Download)
Download this ZIP Archive and unpack it in the plugins directory.
OR
Here are the lines you must change, if you want to do this manually:
dexs-pm-system.php:327
# OLD LINE:
header("Location: $success_url");
# NEW LINE:
header("Location: $success_url"); die();
I also change the line above, but that’s not really important.
dexs-pm-system.php:326
# OLD LINE:
if(!isset($GLOBALS['pm_error'])){
# NEW LINE:
if(!isset($GLOBALS['pm_error']) || empty($GLOBALS['pm_error'])){
If you have write the shortcode [pmsystem] on a Post and not on a page, so you must add the following lines (don’t change anything):
/include/class.dexs_pmsystem.php:568
# ADD
$pages = get_posts(array('sort_order' => 'ASC', 'sort_column' => 'post_content', 'post_status' => 'publish'));
if(empty($page_id)){
foreach($pages AS $page){
if(preg_match("#(.*)\[pm_system\](.*)#", $page->post_content)){
$page_id[] = $page->ID;
}
}
}
That’s all ??
Thank you for using my plugin and thanks for the bug report.
Have a nice day.
Sincerely,
Sam.