Forums

custom feed Wrong datatype for second argument in …/wp-includes/rewrit (3 posts)

  1. kazuo1231
    Member
    Posted 5 months ago #

    I am trying to make my own custom feeds that can dynamically change the feed name by making my own plugin, but WordPress is throwing these two errors:

    Notice: Trying to get property of non-object in /public_html/wp-includes/rewrite.php on line 73
    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /public_html/wp-includes/rewrite.php on line 73

    How can I solve this and get my custom feeds working? I know it should be easy to do this, as I had this code working before.

    Here's my code:

    in my main plugin php file:

    [code removed]

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 5 months ago #

    Please post your code on pastebin.com - it makes the spam filter happier :)

  3. kazuo1231
    Member
    Posted 5 months ago #

    Here's my code then:

    http://pastebin.com/7VR6FXSJ

Reply

You must log in to post.

About this Topic