The same thing happens when wp-content/themes/bp-default/ theme is active.
Hi, thanks @m1000, interresting for a newbie 😉 like me
rtMedia plugin loads own content inside index.php file (inside blog posts)
please, are you speaking about index.php from themes/twentytwelve/index.php, not page.php ?
I can’t see any change (related to rtMedia “page”) when I use this index.php, but may be 😉 I made something wrong!
This is the same exact problem I was facing a couple days ago. I temporarily fixed it by adding some conditional tags, but I’d rather not muck up index.php for things like this.
Here’s an example of some of the code I added:
<div class="<? if ( is_rtmedia_gallery() OR is_rtmedia_single() OR is_rtmedia_album_gallery() OR is_rtmedia_album() ) : ?>MediaGallery<? else : ?>page<? endif; ?>" id="blog-latest" role="main">
This changes the div class from ‘page’ to ‘MediaGallery’ for rtMedia pages.
<?php if ( have_posts() && !is_rtmedia_gallery() && !is_rtmedia_single() && !is_rtmedia_album_gallery() && !is_rtmedia_album() ) : ?>
This says if isn’t rtMedia related, continue loading index.php as usual.
<?php elseif ( is_rtmedia_gallery() OR is_rtmedia_single() OR is_rtmedia_album_gallery() OR is_rtmedia_album() ) : ?>
<?php bp_dtheme_content_nav( 'nav-above' ); ?>
<?php the_content( __( '', 'buddypress' ) ); ?>
<?php bp_dtheme_content_nav( 'nav-below' ); ?>
<?php else : ?>
<h2 class="center"><?php _e( 'Not Found', 'buddypress' ); ?></h2>
<p class="center"><?php _e( 'Sorry, but you are looking for something that isn\'t here.', 'buddypress' ); ?></p>
<?php get_search_form(); ?>
<?php endif; ?>
This says if it is rtMedia related, load that instead.
Hopefully a fix comes out soon.
@mdpane
Thanks a lot for figuring out a solution to this issue. I could not find any info on it at all, until I stumbled upon this thread. Not even any information on this error from rtmedia. Implemented the code and worked like a charm. 🙂
I’m also hoping for a fix to this is in the works as well.
@Oken There actually has been! What I wrote up there was just a quick workaround, I would disregard it now. This is their solution:
https://rtcamp.com/rtmedia/docs/developer/templating-system/theme-media-tab/
I have to applaud rtCamp, they’ve been updating rtMedia and rtMedia Pro with new features and bug fixes nearly every other day. And if you go on their own forum, they’re incredibly quick to reply.