Thanks for the bug report. I’ll fix this and release a new version.
Thread Starter
Bortch
(@bortch)
Thanks for fast reply.
I’ve temporarily fixed by this way:
function cms_tpv_save_settings() {
$new_cms_tpv_action=NULL;
if (isset ($_POST["cms_tpv_action"])){$new_cms_tpv_action=$_POST["cms_tpv_action"];}
if ($new_cms_tpv_action == "save_settings") {
also I’ve had another error (around line 660) fixed through:
$post_type = $_GET["post_type"];
if (isset($_GET["search_string"]))//b
{//b
$search = trim($_GET["search_string"]);// exits if we're doing a search
}//b
else {$search=NULL;} //b
and finally another one :
Undefined property: stdClass::$post_type in <b>/www/site/wp-admin/includes/template.php</b> on line <b>603</b><br />
badly fixed in ‘wp-admin/includes/template.php’ on line 603:
if ( empty($screen))
{$post_type = 'post';}
else
{
if(isset($screen->post_type))
{$post_type = $screen->post_type;}
else
{$post_type = 'post';}
}
no more notification…
It’s surely not the best solution… but it works till now.