Error trying to register video plugin

Fatal error: Cannot use object of type WP_Error as array in /home/sm/public_html/wp-content/plugins/wpmudev-videos/wpmudev-videos.php on line 231

How do I fix?