Featured media possible bug


#1

I get the following error when using rt_media_featured() in profile.php:

Fatal error: Call to undefined function rt_media_featured() in /members/single/profile.php on line 161

I think you may have a typo in the function name on documentation page http://rtcamp.com/rtmedia/docs/admin/featured-media/

Should I be using something like rtmedia_featured instead? Please confirm

Thanks


#2

Hi,

Sorry! That was a typo in the documentation. The function should've been rtmedia_featured().

Regards.


#3

Hi,

That function doesn't seem to work. When I use rtmedia_featured() in profile.php I get the following error:

Fatal error: Call to a member function get() on a non-object in /plugins/buddypress-media/app/main/controllers/media/RTMediaFeatured.php on line 109


#4

Does this issue still exist?


#5

I am now using <?php rtmedia_featured(); ?> in profile.php and it works great! Thanks for following up.

Henry


#6

Hi @henrywright, We are marking this issue as Closed as you got your resolution. Please visit our support forum for any rtMedia related issues.


#7