Home Forums WTI Like Post PRO Add new post error

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #138
    weimao
    Participant

    When I get to Posts -> Add New on the admin interface, the following message appears:

    Notice: Undefined index: wti_like_post_meta_box_nonce in /…/wp-content/plugins/wti-like-post/wti_like_post_admin.php on line 878

    I am using the latest version of WordPress (3.9.1). Could you please fix the issue? Thank you!

    #139
    Webtechideas
    Keymaster

    Just want to know does it block you from adding a new post?

    #140
    weimao
    Participant

    No it doesn’t. The post editing interface still show up, only that it has the error message at the top.

    For now, I’ve changed the code to check whether the nonce is empty:

    if (empty($_POST[‘wti_like_post_meta_box_nonce’])
    || !wp_verify_nonce( $_POST[‘wti_like_post_meta_box_nonce’], basename( __FILE__ ) ) ) {
    return $post_id;
    }

    Not sure if this is the best solution but it appears to work.

    Let me know if you have further advice.

    #141
    Webtechideas
    Keymaster

    We have sent you an updated file. Please check.

    #142
    Webtechideas
    Keymaster

    Apart from the above one, there were few other fixes with that function as well. Please use your fix as that makes more sense.

    #143
    weimao
    Participant

    Thank you!

    #158
    firefly
    Participant

    Could I get a hold of this updated file also? I’m seeing the same error on new post and when saving a menu in /wp-admin/nav-menus.php

    Will the fix be rolled out as an update?

    #168
    firefly
    Participant

    Fixed in the version sent by email – thanks!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘WTI Like Post PRO’ is closed to new topics and replies.