WordPress.org

Ready to get started?Download WordPress

Forums

Polylang
"No posts found", "No pages found" with polylang 0.9 (50 posts)

  1. jussi.r
    Member
    Posted 1 year ago #

    Hey,

    I updated from polylang 0.8.10 to polylang 0.9. Now i don't see any pages or posts in the admin panel but there is because "Published (31)". If I replace 0.9 with 0.8.10 i see the posts again. I don't see even if i add a new page. I have my filters so that every posts should be seen.

    What could be the problem?

    WordPress version: 3.4.2

    http://wordpress.org/extend/plugins/polylang/

  2. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    Does the filter break only posts and pages or also categories, post tags, comments ?

  3. jussi.r
    Member
    Posted 1 year ago #

    I'm not sure what you mean with that but my filters are like this: Show all dates, View all categories.

    I can see items at Posts/Categories and Posts/Tags (edit-tags.php). Only posts and pages are invisible (edit.php).

  4. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    I propose two tests:
    1. I made a small correction in the development version. Could you try it? http://downloads.wordpress.org/plugin/polylang.zip
    2. If the above does not work, could you try deactivating other plugins to detect a conflict?

  5. jussi.r
    Member
    Posted 1 year ago #

    Didn't work :(. Also tried disabling all other plugins.

  6. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    If you edit polylang/include/admin-filters.php at line 42 and replace

    add_filter('parse_query',array(&$this,'parse_query'));

    by

    //	add_filter('parse_query',array(&$this,'parse_query'));

    it should disable the language filter for posts and pages (should allow you to use v0.9 features without this issue), but for now I do not understand what's wrong with your site.

  7. susannetamir
    Member
    Posted 1 year ago #

    I have the same problem and don t see posts and pages , categories are shown up only under categories not through the language filter, under dates nothing is visible.
    Would be glad if somebody knows the solution.
    in the frontend everything is fine.
    The only thing was that after the update also hidden installed languages were shown in the language widget
    Thanks Susanne

  8. jussi.r
    Member
    Posted 1 year ago #

    After editing admin-filter.php I see posts and pages again.

  9. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    @Susanne
    What do you call "hidden installed languages" ?

  10. susannetamir
    Member
    Posted 1 year ago #

    Hi Chouby ! A language that i installed but have no posts and pages and didn t add it to the widget before.It seems something with the filter is not ok! Luckily in the frontpage everything is like usual and all other updates went smooth this is the first time thats not going like it should be. Thanks Susanne

  11. Energ
    Member
    Posted 1 year ago #

    Same problem here. No posts or pages visible in backend.
    Seems like a nasty problem and will probably get fixed soon?

    Thanks in advance.

  12. Xavi79
    Member
    Posted 1 year ago #

    Hi,
    I installed two hours ago the Version 0.9 of Polylang, and post, pages, categories disappeared just when pluggin was activated.

    After reading this support conversation and adding this to polylang/include/admin-filters.php:

    // add_filter('parse_query',array(&$this,'parse_query'));

    Posts and pages are now visible in dashboard.

    But, the categories list remains empty, they not appear...

    I continue trying and look forward to the updates that are mentioned here ...

    thanks!!!!

  13. susannetamir
    Member
    Posted 1 year ago #

    // add_filter('parse_query',array(&$this,'parse_query'));
    This didnt work on my site!!!
    Thanks a lot
    Susanne

  14. Xavi79
    Member
    Posted 1 year ago #

    Hi again,

    apologizes, I'm a beginner in wordpress. I detect that in my case, the problem is that I haven't see the "filter content by language" option on top menu of the dashboard :(

    I returned polylang/include/admin-filters.php to initial code and, so far, polylang works for me.

  15. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    Could you try again with the development version taht I just updated? Should be 0.9.0.2.

    @Susanne
    You are right about the widget. I did not pay attention to this before. I will look for a patch

  16. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    The bug of the language switcher should now be corrected in the development version (should be 0.9.0.3). http://downloads.wordpress.org/plugin/polylang.zip

  17. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    I forgot to mention that for people having no posts being displayed in the admin panel and trying the dev version, they may need to play with the language filter in the admin bar to solve the issue.

  18. susannetamir
    Member
    Posted 1 year ago #

    Thanks it works for me too now! I just replaced the add filters php with the new version .
    Great support!
    Whitch file do i have to replace in order to fix the widget bug?
    I don t want to load the hole plugin again because everything is working now.
    Thanks Susanne

  19. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    For the widget bug, I modified core.php in 0.9.0.3
    For the posts visibility bug, I modified admin-base.php and admin-filters.php in 0.9.0.2

  20. wordpressdennis
    Member
    Posted 1 year ago #

    just for information:

    the replacement of "add_filter('parse_query',array(&$this,'parse_query'));" also removes the new bug, that the media-layover shows no media-list, if i use an add media option.

  21. Xavi79
    Member
    Posted 1 year ago #

    0.9 deleted to trash and 0.9.0.3 installed again, and after testing functionalities of the 0.9.0.3 version with my contents in 3 languages (I wold like to show, but is on closed server for the moment) works in same way as older version (0.9)

    the only setback for me, was that when trashing 0.9 I lost the connections done on my three languages when 0.9.0.3 is activated. But I only have few testing posts, no problem. perhaps is not need to trash for update in this case, but I'm beginner ;-)

    Thanks chouby for your support!!!

  22. susannetamir
    Member
    Posted 1 year ago #

    I replaced only the problematic files after the update to 0.9 * because i didn t get a notice in the backoffice to update to 0.9.0.3.and the plugin works great as it worked until now and the language filter is even better, thanks Chouby and thanks for the fast support. I will now update in my other sites too and hope no further problems will accure.
    Susanne

  23. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    Well... just to make a summary and clarify some things. This topic discusses 2 bugs of v0.9 which probably few people will experience.

    1st bug reported by jussi.r
    In some circumstances, posts, pages and so on are not displayed anymore in the posts, pages lists in the admin panel. As far as I understand, this is due to the new content language filter I added to the admin bar which was not robust enough. During my tests to reproduce the bug, I found that it occurs when editing a language, but when I chose a language in the filter, posts are displayed again.

    2nd bug reported by susannetamir
    Polylang normally hides languages which have no associated posts or pages in the frontend language switcher (widget or menu). v0.9 does not act like this.

    These two bugs should be corrected in the development version. This development version (0.9.0.3 with 4th digit) is not released (i.e. is not proposed in the "automatic" update process). Only the future 0.9.1 will be officially released and proposed for "automatic" update (to come soon).

  24. susannetamir
    Member
    Posted 1 year ago #

    That means better to wait to update the other sites i have with Polylang!
    Thanks again
    Susanne

  25. bucketsofrain
    Member
    Posted 1 year ago #

    @chouby - Thanks for this great plugin. I'm experiencing error #1.

    If i download the dev version with the fix, once the official release is out will I still be able to upgrade "automatically"?

    Also, is there any way of me not losing all my existing data when re-installing the plugin? No big deal, just curious...

    Merci!

  26. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    There will be no problem to update automatically. You won't loose any data if you don't use the 'delete' action in the plugins page. Here, just upload the new files to overwrite the existing ones.

  27. bucketsofrain
    Member
    Posted 1 year ago #

    @chouby

    I just upgraded to version 0.9.0.5 and the error still isn't resolved. Have a look at the screenshot below. Note that this is my only active plugin:

    http://www.flickr.com/photos/69421899@N05/8003021369/

    Cheers

  28. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    It's really strange that the category filter does not display anything (not even "view all categories").

    Which option is selected in the "languages" menu included in the admin bar? What happens if you select another one?

  29. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    I wonder: Have you a category with empty name which could explain the empty string in the category dropdown filter?

  30. bucketsofrain
    Member
    Posted 1 year ago #

    There was no option set! Now that I set an option, "show all languages" it works nicely. I think the issue is that it wasn't setting a default value for that drop down.

    Thanks,

    Matt

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic