Media tab is not working


#1

Hi, i’ve just installed the last version of your plugin on wp 3.8. See attached image - that what happens when i press on media tab in profile page. What can it be? (Using rtPanel theme and plugins that are required by this theme, nothing else)

Attachment Link(s):

https://rtcamp.com/wp-content/uploads/rtMedia/topics/55394/2014/01/bug.jpg


#2

Hi Semion.bur,

We have fixed this issue in rtPanel and now its not showing any error on our end. In rtPanel theme, edit rtp_is_rtmedia() function in lib/rtp-init.php file and replace line with return ( in_array( get_post_type(), array( ‘rtmedia’, ‘bp_member’, ‘bp_group’) ) ); code.

For the reference, https://github.com/rtCamp/rtpanel/commit/14f2a405d463224236af36565e2315d8b048e4fc

Let me know if you still face this issue.

Thanks,


#3

Hi,
i don’t have this function in this file. It ends on line 317:
add_filter( ‘wp_title’, ‘rtp_wp_title’, 10, 2 );


#4

Hi Semion,

You will need to add the function rtp_is_rtmedia() in loop-common.php file. Here is the reference to that commit : https://github.com/rtCamp/rtpanel/commit/8d98f73b02ba5523f64489e6eef34d7ed31c12a0#diff-1

Then you will need to add the definition of function rtp_is_rtmedia() in the file lib/rtp-init.php. Reference : https://github.com/rtCamp/rtpanel/blob/master/lib/rtp-init.php#LC320


#5