• Resolved gyulatgt

    (@gyulatgt)


    Hi,

    It seems that I have some problems with the feature in the title.
    For testing purposes, I have three categories. The default one in the WordPress settings and the default one in the Postie settings are different, and I tried to use the different ways in the FAQ to use the third. In every case, the one saved as default in the WP settings is used.

    Judjeing by the debug log, it recognizes the categories, but it still posts the mail in the WP default category.

    Thank you in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Wayne Allen

    (@wayneallen-1)

    Can you post the relevant sections of the log?

    Thread Starter gyulatgt

    (@gyulatgt)

    Yes… I don’t know if this is the part you need, but I hope this is what you meant (if not… could you specify which lines do you need?)

    postie_content_lines: plain

    tag_Date: end: 2020-01-20T08:13:15+00:00

    post tag_Date: The existing categories: wpdefault, postiedefault, mailsubject. I expect that wpdefault is overridden with postiedefault, and that is overridden with mailsubject, but instead the final category is wpdefault.

    post tag_PostType: The existing categories: wpdefault, postiedefault, mailsubject. I expect that wpdefault is overridden with postiedefault, and that is overridden with mailsubject, but instead the final category is wpdefault.

    pre postie_category_default: ‘1’

    post postie_category_default: ‘1’

    tag_Categories: start

    tag_Categories: found categories

    Array
    (
    [0] => Array
    (
    [0] => Array
    (
    [0] => [MAILSUBJECT]
    )

    [1] => Array
    (
    [0] => MAILSUBJECT
    )

    )

    )

    tag_Categories: checking: MAILSUBJECT

    tag_Categories: looking up: 1

    lookup_taxonomy: 1 is in taxonomy category

    tag_Categories: default: POSTIEDEFAULT

    tag_Categories: post postie_category: MAILSUBJECT

    lookup_category: MAILSUBJECT

    lookup_category: found by name MAILSUBJECT

    tag_Categories: subject: This is the title

    lookup_taxonomy: 12 is in taxonomy category

    tag_Categories: standard taxonomy category

    post tag_Categories: The existing categories: wpdefault, postiedefault, mailsubject. I expect that wpdefault is overridden with postiedefault, and that is overridden with mailsubject, but instead the final category is wpdefault.

    tag_Tags: starting

    true

    postie_content_lines: plain

    tag_Tags: done

    post tag_Tags: The existing categories: wpdefault, postiedefault, mailsubject. I expect that wpdefault is overridden with postiedefault, and that is overridden with mailsubject, but instead the final category is wpdefault.

    true

    postie_content_lines: plain

    Plugin Author Wayne Allen

    (@wayneallen-1)

    I’m not seeing the issue. Please install the Support AddOn and run another test then send the log file to [email protected] with a reference to this thread.
    http://postieplugin.com/downloads/support-addon/

    Thread Starter gyulatgt

    (@gyulatgt)

    Before I do that… I may have found the source of the problem.

    I assumed that for a while I will use only the basic functionalities of this plugin, and as such I didn’t check your AddOns before. Now I noticed that you have an AddOn for Polylang – which I use.

    The different categories are associated with different languages, and now, seeing that AddOn, I suspect that it could cause the phenomenon, as the posts used the category with the default language.

    Can you confirm that I am really right? If not, and there may be another problem in the background, then I will send you the log.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    It is hard to tell without looking at the details in the log.

    The Polylang AddOn only comes into play if you specify a language in the subject line. It doesn’t affect the category assignment otherwise.

    • This reply was modified 6 years, 4 months ago by Wayne Allen.
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Override Post Categories doesn’t work’ is closed to new replies.