Vote count:
0
I bought one wordpress plugin 1 year ago and I don't want to upgrade it to new version for extra cost. The problem is that now it fails to install on new wordpress versions with the following error when I try to activate it:
Fatal error: Cannot re-assign auto-global variable _POST in /home/wwwproj/public_html/wp-content/plugins/OptinSkin/admin/admin_add_skin.php on line 929
this is line 929:
function ois_handle_new_skin($_POST) {
if ( empty($_POST) || !check_admin_referer('ois_add_field', 'save_data') ) {
print 'Sorry, your nonce did not verify.';
exit;
} else {
// Get Skin Name.
$skin_name = $_POST['newskin_name'];
if (trim($skin_name) == '') {
$skin_name = htmlentities('Untitled Skin');
}
asked 26 secs ago
Wordpress plugin activation error "Cannot re-assign auto-global variable _POST"
Aucun commentaire:
Enregistrer un commentaire