WordPress.org

Ready to get started?Download WordPress

Forums

podPress
[resolved] Custom Post Types Pages no longer working (24 posts)

  1. MCM
    Member
    Posted 1 year ago #

    I tested your plugin on my local development environmental after exporting my live website db.

    I cannot access my custom post types, e..g localhost/mcm/audio-custom-post-type/ archive. I have checked my taxonmoy and CPT settings no problem.

    If I disable your plugin everything works 100% again.

    Does anybody else get this?

    My local development setup as PHP5.4 not 5.3 as my live that is pretty much the only difference.

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

  2. ntm
    Member
    Plugin Author

    Posted 1 year ago #

    Which podPress version do you use?

  3. MCM
    Member
    Posted 1 year ago #

    Version 8.8.10.15

  4. ntm
    Member
    Plugin Author

    Posted 1 year ago #

    Are you sure that you use the right URL? I'm only asking because in my blog the custom overview/archive page does not include the phrase "archive". The URL is 127.0.0.1/wp/pod and not 127.0.0.1/wp/pod/archive.
    (I have no problem opening this page and it does show all the custom post type posts.)

  5. ntm
    Member
    Plugin Author

    Posted 1 year ago #

    Do you get an error message when you open your custom post type archive page? (If none is visible then please search in the source code of the page or the error.log of your web server.)

  6. MCM
    Member
    Posted 1 year ago #

    100% using the right URL.

    Podpress OFF things work 100%. Podpres ON it breaks, i.e. Page not Found.

    It is only for archives of custom post types.

    I literally just refresh the page after deactivating the plugin.

    Perhaps there is some oddity with my local dev. environment.

  7. ntm
    Member
    Plugin Author

    Posted 1 year ago #

    MCM have you tried to activate the Debug Mode of WordPress http://codex.wordpress.org/Debugging_in_WordPress ?
    Maybe you could do this and open the custom post type page again. You will probably see a lot of "Deprecated" notices. You can ignore them. The question is: Are there any other PHP errors, warnings or notices? You may deactivate all other plugins (and switch to the default WP theme) before you activate the Debug Mode. That way you can be sure that the messages you will get are from podPress.

    Tim

  8. MCM
    Member
    Posted 1 year ago #

    I took the risk and loaded it up on my live site, and it is doing the same thing. I will work through your last comment (debugging) and see whats what.

    I am using the Types - Complete Solution for Custom Fields and Types on both my dev and live environments.

  9. MCM
    Member
    Posted 1 year ago #

    So, I visited the page with podpress off and it shows.

    After activating podpress i get 404 and with the following message at the top of the page:

    Notice: Trying to get property of non-object in D:\Websites\mcm\wp-includes\post-template.php on line 1275

    Please help as my live site is effectively ineffective :)

  10. MCM
    Member
    Posted 1 year ago #

    I also did the following just an FYI:

    1. Switched off all plugins except - Types - Complete Solution for Custom Fields and Types - as I would not be able to see my custom posts without it on.

    2. Used a default theme

  11. ntm
    Member
    Plugin Author

    Posted 1 year ago #

    I recommend that you install podPress 8.8.10.13 in your live blog again.

    There is something in the new podPress version which causes the problem. But the problem seems to appear only in connection with certain plugins or themes. In this case http://wordpress.org/support/topic/custom-posts-broke something similar seems to happen. But I would like to keep both cases separated.

    I can say so far that I use the Custom Post Type UI plugin in combination with the different default themes without problems.

    However, there is a problem and I'm trying to find out what is causing it.
    I may have further questions later.

  12. ntm
    Member
    Plugin Author

    Posted 1 year ago #

    Please, save the Permalink settings after the roll-back.

  13. ntm
    Member
    Plugin Author

    Posted 1 year ago #

    Do you use this plugin Types - Custom Fields and Custom Post Types Management? (If you use a different plugin then please post a link.)

  14. MCM
    Member
    Posted 1 year ago #

    Yes, that is the plugin.

  15. ntm
    Member
    Plugin Author

    Posted 1 year ago #

    Okay. I can reproduce the problem.

  16. MCM
    Member
    Posted 1 year ago #

    I do use a special templates but there is nothing in particular elegant in theme, I just change labels and call basic functions.

    I use the /%postname%/ permalink.

  17. ntm
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you for your help! I can reproduce the problem and will be able to find out what's wrong.

  18. ntm
    Member
    Plugin Author

    Posted 1 year ago #

    I'm still searching for a solution. One part of the problem is/was that I used in podPress 8.8.14-.16 $wp_rewrite->flush_rules(); on each page load. I will definitely change that. The podPress behaviour will be more like in version 8.8.10.13.
    The current Development Version does include this partial bug fix.
    If you use this version you need to re-save the custom post type settings each time you saved the podPress Feed/iTunes Settings.

    I will continue the search for a better solution.

  19. ntm
    Member
    Plugin Author

    Posted 1 year ago #

    I have to make a additional note: If you use the current Development Version of podPress together with the Types plugin then you need to edit also the file wpcf.php of this plugin (v1.2) in line 93.
    old:

    add_action( 'init', 'wpcf_embedded_init' );

    new:

    add_action( 'init', 'wpcf_embedded_init', 1);

    If you do this, it is not necessary to re-save the custom post type settings.

  20. ntm
    Member
    Plugin Author

    Posted 1 year ago #

    @MCM: I believe that I have found a solution. The current Development Version (among the Other Versions) does include the modifications. Since you have test system I would appreciate it if you could install this version and see whether it makes a difference. (You may need to save the Feed/iTunes Settings one time after the installation.)

  21. MCM
    Member
    Posted 1 year ago #

    I tried the latest dev version:

    After Activating plugin I cannot open the podpress pages, I always get the following error:

    Notice: Undefined index: podpress_frontend_script

  22. ntm
    Member
    Plugin Author

    Posted 1 year ago #

    Please, try again while the debug mode is deactivated.

    define('WP_DEBUG', false);
  23. ntm
    Member
    Plugin Author

    Posted 1 year ago #

    Although I still recommend that you try the Development Version again with the debug mode off, I have tried to figure when and why this message should appear:

    I always get the following error:
    Notice: Undefined index: podpress_frontend_script

    So far I can not reproduce this situation. But there are a lot of possibilities. It would be great if you could tell me which file name and line number is this notice. It would also be helpful if you could tell me on which page this message occurs.

    However once you have gathered these information, it would be great if you could switch off the debug mode and reload the page.

  24. MCM
    Member
    Posted 1 year ago #

    Sorry, did not get back to you but basically I installed your new version (17) - the update did not go well it sent a 404 and nothing was installed. Also, the old pod-press was 'missing'.

    HOWEVER, I installed it thereafter and everything is working 100%.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags