twykr
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Yoast WordPress SEO] ERROR: This is not a valid feed template.Hi all –
Ran into the same issue as y’all, and figured out what the bug was finally. The sermon manager plugin has a bad rewrite declaration in the code of the following file:
…/plugins/sermon-manager-for-wordpress/includes/podcast-functions.php
specifically, lines 132-139:
131 // Custom rewrite for podcast feed 132 function wpfc_sermon_podcast_feed_rewrite($wp_rewrite) { 133 $feed_rules = array( 134 'feed/(.+)' => 'index.php?feed=' . $wp_rewrite->preg_index(1), 135 '(.+).xml' => 'index.php?feed='. $wp_rewrite->preg_index(1) 136 ); 137 $wp_rewrite->rules = $feed_rules + $wp_rewrite->rules; 138 } 139 add_filter('generate_rewrite_rules', 'wpfc_sermon_podcast_feed_rewrite');
The problem is that the rewrite specified on line 135 basically takes over ALL files with an XML extension, which of course causes issues for any other XML files that are generated on the WordPress site.
Since we’re also using WordPress SEO by Yoast, we just commented out line 139 that activates that code for the site – then re-save the permalink settings as mugwumpman noted, and this fixes the issue. I’ll submit this information to the Sermon Manager author as well – but wanted to note it here, given the above questions ??
FWIW,
twykrOne addendum note – I do have “Show Admin-Only columns” unchecked / disabled in the configs.
Forum: Plugins
In reply to: [Genealogy] Godd idea but dont'work on 3.8.1Cool – media / image issue turned out to be a quick fix. The issue is a jQuery conflict – so I just commented out the custom jQuery library (jquery-ui-1.8.11.custom.min.js, and jquery-ui-1.8.11.custom.css) calls in the “genealogy.php” script (lines 314-315), since WP references it’s own jQuery lib.
Doesn’t appear to have any adverse effects – but I’ll keep testing and update if a different solution turns out to be better.
HTH,
Twykr.Forum: Plugins
In reply to: [Genealogy] Godd idea but dont'work on 3.8.1Hmm – the base plugin works for me. The only thing that doesn’t work is working with images (ie insert media or choosing a featured image).
This plugin hasn’t been updated in a while, it seems – but I’m taking a look to see if I can figure out a fix for that…
> @twykr Thanks for identifying the error and providing a fix.
Glad to help ??
> Thanks again for your help with this one! ??
And thanks to you for a great plugin!
twykr
I also started off with a blank page – so I dug into the code with Firebug, and the error I originally had was:
Error: syntax error
Source File: https://site/page-with-hmp_player-shortcode
Line: 257, Column: 15
Source Code:
rating:,So I added single quotes around the $songs->rating output on line 176 of the “index.php” file in the plugin directory. That fixed that issue and the player and list of songs shows up on the page, but nothing played still – next got the generic “$ is not a function” (standard jQuery “oops” error).
So I further modified the index.php file by:
* Commenting out the jQuery library call (line 146), since I’ve already got the latest jQuery running on my WP site, and then
* Modified the jQuery call prefix on lines 203 and 206 from:
$(....
to the standard no conflict replacement:
jQuery(...
And now I’m not getting any further errors ??
FWIW,
twykr.