Forums

Custom Post Type Archives
Fatal error on line 385 (3 posts)

  1. telephag
    Member
    Posted 1 year ago #

    Fatal error: Cannot redeclare is_post_type_archive() (previously declared in /home/roughm5/public_html/wp-includes/query.php:163) in /home/roughm5/public_html/wp-content/plugins/custom-post-type-archives/post-type-archives.php on line 384

    That's on http://roughmountainstudios.com after upgrading to 3.1

  2. 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).

  3. telephag
    Member
    Posted 1 year ago #

    Hi rATRIJS -- I just want to say thank you so so much for fixing that issue! Myself and my client are much relieved. Do you have a donate button where I could chip in a few for your efforts?

    Thanks!

    Ben

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic