Hi there,
I’m seeing a fatal PHP error after having updated rtMedia and trying to view a Group Activity timeline. The error is as follows (full server path redacted for security reasons).
Fatal error: Call to a member function have_media() on a non-object in REDACTED/wp-content/plugins/buddypress-media/app/main/controllers/template/rt-template-functions.php on line 12
I have managed to remove the error temporarily by checking whether the PHP object is indeed an object:
function have_rtmedia() {
global $rtmedia_query;
if(!empty($rtmedia_query)):
return $rtmedia_query->have_media();
endif;
}
However, that obviously involves editing a plugin, which is not a great solution, so it’d be great if you guys could take a look at the error and see if it can work its way back into the plugin if appropriate.
Thanks! David