Fatal error: Cannot use object of type WP_Error as array in /var/www/vhosts/legal-mark.com/kitaylaw.com/wp-content/plugins/Docs/Docs.php(34) : runtime-created function on line 1