Post Expirator
Wrong Datatype error when try to expire by category (4 posts)

  1. GumbyDammit
    Posted 3 years ago #

    Hi, I am seeing this error now.. I think it might have been after the last upgrade that I started seeing this...

    Expiration Categories:

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/content/07/9402007/html/wp-content/plugins/post-expirator/post-expirator.php on line 1203


  2. Aaron Axelsen
    Plugin Author

    Posted 3 years ago #

    grab version 2.1.1 - should be good to go

  3. boah123
    Posted 3 years ago #

    Uhm, in the latest version my "Expiration Categories"-list is empty.

    Re-saving the settings did not help. I guess this is a bug.

  4. Aaron Axelsen
    Plugin Author

    Posted 3 years ago #

    Do you have taxonomies assigned to that post type? I did a fresh install before pushing out the latest version, as expected "category" does show up under post. If you have custom post types, they will be empty unless you also assign a hierarchical taxonomy item to them.

    The "page" type will not have any categories listed - that is a known issue currently.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Post Expirator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.