WordPress.org

Ready to get started?Download WordPress

Forums

Duplicate Post
[resolved] PHP ERROR (2 posts)

  1. mountod
    Member
    Posted 1 year ago #

    Ciao lopo.

    I'm just finished a deta recovery of my site,But I think it's not working ancora yet specially the part of plugins.

    Detail
    In the control panel of plugins,Wordpress says

    Fatal error: Call to undefined function get_post_type_object() in/////duplicate-post-common.php on line 44

    So I can not edit "Dplicate Post" on time.
    And
    On that's linea 44 was written
    $post_type_object = get_post_type_object( $post->post_type )
    So what should I do now,I think it's problem of php??

    Grazie tanto.

    http://wordpress.org/extend/plugins/duplicate-post/

  2. lopo
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, sorry for the delay.

    Are you sure you are using a supported version of WP? "get_post_type_object" was introduced with WP 3.0, if you get an error it's probably beacuse you have an older version, which is unsupported by my plugin...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.