WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] Fatal error: Call to undefined function (11 posts)

  1. cableghost
    Member
    Posted 3 years ago #

    I'm receiving the following error message...

    Fatal error: Call to undefined function is_post_type_archive()

    Any recommendations?

    -Scott

  2. toro11
    Member
    Posted 3 years ago #

    same with me
    surprise NO admin here for help
    wp 3.0.5
    wp seo 2.5.4

  3. Degrama
    Member
    Posted 3 years ago #

    same, bs

  4. Gary Bairead
    Member
    Posted 3 years ago #

    surprise NO admin here for help

    People here give up their time for free, as did the developer of the plugin in question.

    is_post_type_archive() was introduced in WP 3.1

    If you're running an older version - update, it will also close multiple security holes.

  5. Joost de Valk
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks Gary. The next version of the plugin will not rely on 3.1 anymore and will work with 3.0, but people should indeed update.

  6. cableghost
    Member
    Posted 3 years ago #

    WP 3.1.1 update just appeared yesterday, and after install, the error went away.

    -Scott

  7. Joost de Valk
    Member
    Plugin Author

    Posted 3 years ago #

    Good to hear that.

  8. mystle
    Member
    Posted 3 years ago #

    I upgraded to WP 3.1.2 and still got the error message. I deleted WP SEO and re-installed WP 3.1.2 and still get the error message, which makes no sense to me. This is preventing my readers from getting the feed in Google, which is what most of them want to use. Any ideas?

    Fatal error: Call to undefined function is_post_type_archive() in /home5/xxxxxxx/public_html/wp-content/plugins/wordpress-seo/frontend/class-frontend.php on line 191" has no items.

  9. toro11
    Member
    Posted 3 years ago #

    @mystle the problem has been solved.
    yoast admin said will be fixed sooner or later but Im not quite sure when avail
    stay tune.

  10. musicdesigns
    Member
    Posted 3 years ago #

    @Joostdevalk

    Is There any way to fix this without updating WordPress?

    I'm not able to update due to other the other plug-ins I use compatibility.

  11. Joost de Valk
    Member
    Plugin Author

    Posted 3 years ago #

    @musicdesigns: no.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic