As expected, this is not a real bug but an incompatibility issue between SimpleBlogSEO v1.3 and Simple_Blog v2.
To fix this problem, open the Hooks/WhichPage.php file in the data/_addoncode/<SimpleBlogSEO>/ directory.
In the _deleteSefUrl() method of the SimpleBlogSEO_WhichPage class, replace this block of code:
// Not in the delete context
if (($cmd = common::GetCommand()) != 'delete') {
return;
}
// No id!
if (!isset($_POST['id']) || empty($_POST['id'])) {
return;
}
$id = $_POST['id'];
by this one:
// Not in the delete context
// Changed in v1.4
// delete has been renamed deleteentry in Simple_Blog v2
$cmd = common::GetCommand();
if (($cmd != 'delete') && ($cmd != 'deleteentry')) {
return;
}
// No id!
// Changed in v1.4
// id has been renamed del_id in Simple_Blog v2
if (isset($_POST['del_id']) && !empty($_POST['del_id'])) {
$id = $_POST['del_id'];
} elseif (isset($_POST['id']) || !empty($_POST['id'])) {
$id = $_POST['id'];
} else {
return;
}
Version 1.4 of SimpleBlogSEO will be Simple_Blog v2 compliant.
It will be released once all inconsistency issues are identified and fixed.
8 years ago