Forums

Custom Post Type Archives
Fatal error: Cannot redeclare is_post_type_archive() (3 posts)

  1. Umbrovskis.com
    Member
    Posted 1 year ago #

    Fatal error: Cannot redeclare is_post_type_archive() in /home/*/*/example.com/blog/wp-content/plugins/custom-post-type-archives/post-type-archives.php on line 361

  2. telephag
    Member
    Posted 1 year ago #

    Getting the same issue. NO idea how to fix it. Guess we should have looked at compatability before upgrading!

  3. rATRIJS
    Member
    Posted 1 year ago #

    This should be fixed on the v1.5 which should be available in the next few minutes.

    Please note that function 'is_post_type_archive' is renamed to 'pta_is_post_type_archive' so if you use it in your theme then you should change those function calls to call the correct function, because WordPress's built in function won't work with this plugin (it won't return expected results).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic