Viewing 15 replies - 16 through 30 (of 30 total)
  • Thread Starter dlpirl

    (@dlpirl)

    a) WP v4.1.1
    b) nope. I did notice one plugin was throwing error messages in the admin console, so I uninstalled it, then reset the debug back to false.

    Thread Starter dlpirl

    (@dlpirl)

    if the problem is a plugin, how is it possible to fix it simply by changing the theme from Make to anything else?

    Hi @dlpirl,

    I don’t think it’s a plugin on its own, but it could be a code conflict between a plugin and the theme. Or something else. I have looked at your RSS feed source code and I see the same thing as you:

    <?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
    	xmlns:content="http://purl.org/rss/1.0/modules/content/"
    	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    	xmlns:dc="http://purl.org/dc/elements/1.1/"
    	xmlns:atom="http://www.w3.org/2005/Atom"
    	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    	>
    
    <channel>
    	<title>Sand 2 Pirls Market Commentary

    Did you look at the feed source code while you had WP_DEBUG turned on? What I’m interested to know is if there is a PHP error that is triggering right after the output of your site title. If you want, you could leave WP_DEBUG turned on, and I’ll take a look at your feed again.

    Hi @dlpirl,

    I don’t think it’s a plugin on its own, but it could be a code conflict between a plugin and the theme. Or something else. I have looked at your RSS feed source code and I see the same thing that you included above.

    Did you look at the feed source code while you had WP_DEBUG turned on? What I’m interested to know is if there is a PHP error that is triggering right after the output of your site title. If you want, you could leave WP_DEBUG turned on, and I’ll take a look at your feed again.

    Thread Starter dlpirl

    (@dlpirl)

    Corey, when I had debug on, the rss feed code was the same as displayed above by both you and me. There was no php error showing.
    I’m turning wp_debug on again now.

    Hi @dlpirl,

    Bummer, I’m not seeing any PHP errors either.

    Ok, here’s a shot in the dark: find the inc/extras.php file in the Make theme folder and comment out line 98.

    So this:

    add_filter( 'wp_title', 'ttfmake_wp_title', 10, 2 );

    becomes this:

    //add_filter( 'wp_title', 'ttfmake_wp_title', 10, 2 );
    Thread Starter dlpirl

    (@dlpirl)

    ok. that’s done. that line is commented out in that file.

    @dlpirl ok, so it looks like that didn’t work. Arg.

    To clarify a couple of things, Make doesn’t alter the WordPress RSS feed in any special way. It simply uses the add_theme_support( 'automatic-feed-links' ); call to add the feed links into the document header. WordPress handles the RSS feed generation. Since this only happens for you when Make is activated, and since no one else has been able to replicate the issue, it suggests that there might be a conflict with how Make is formatting/filtering the content that goes into the feed, but I can’t imagine what that conflict would be.

    Also, the Feedly link you shared at the top of this thread isn’t working for me, so I suspect that when it was showing the feed correctly, but the direct feed link wasn’t working, you were seeing a cached version on Feedly. Does that link still work for you?

    Since we can’t see any error messages, and I can’t replicate the issue, I’m out of ideas for the moment. Sorry 🙁

    Thread Starter dlpirl

    (@dlpirl)

    Thanks for you analysis, Corey.

    Yes the feedly link no longer works for me either, so as you say, it was probably using a cached version earlier, right after Make was installed. 🙁

    I wonder if there is a way that I can fully re-install Make without losing any of my customizations?

    @dlpirl, doing a fresh install of Make isn’t a bad idea.

    All of the options you’ve set in the Customizer are stored using WordPress’ theme_mod API, which puts them in the database in a single row of the wp_options table. This database entry won’t go away if you manually swap out the theme files via FTP, similar to the method described here. I’m not sure what would happen if you deleted the theme from within the WP Themes interface. Either way, it would still be a good idea to backup your database first!

    Thread Starter dlpirl

    (@dlpirl)

    Wow. I guess the root problem must be in the Make Theme portion of the database, because I renamed the Make folder .bak and uploaded new (freshly downloaded) Make theme files into themes/make folder and the issue is still there.

    None of the theme options have any direct bearing on the content of the RSS feed, so I think it’s unlikely that the root of this problem is in the theme_mod database entry.

    Out of curiosity, when you said that the feed worked again when you switched to a different theme, were you looking at the Feedly version of the feed, or the raw WordPress one?

    Thread Starter dlpirl

    (@dlpirl)

    Hi Corey. No I wasn’t looking at feedly. I only looked there in the beginning. I always look at http://s2pmarketsignal.com/WordPress/feed to check the status of the feed after making any changes.

    My comments pertaining to the root problem above are based purely on deductive logic. All the Make theme files have been replaced with completely “virgin” new ones, so all that remains of the original Make install and configuration are the database entries.

    And yes, I again checked to verify –as I have repeatedly– that changing the theme temporarily from Make to something else restores the rss feed.

    Thread Starter dlpirl

    (@dlpirl)

    As a follow up… I replaced ALL WordPress files and the rss feed issue remains, proving that the source of the problem is in the WordPress database.

    Thread Starter dlpirl

    (@dlpirl)

    Somehow the issue resolved itself and I absolve Make of all blame. 🙂 I am not sure what the original cause of the issue was, but it was resolved when I installed and configured a security plugin after my site got hacked.

Viewing 15 replies - 16 through 30 (of 30 total)

The topic ‘RSS broken’ is closed to new replies.