Warning: trim() expects parameter 1 to be string, object given in /home/customer/www/leonardiandrea.com/public_html/wp-content/plugins/wordpress-seo/src/presenters/canonical-presenter.php on line 49

Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in /home/customer/www/leonardiandrea.com/public_html/wp-content/plugins/wordpress-seo/src/presenters/open-graph/url-presenter.php:46 Stack trace: #0 /home/customer/www/leonardiandrea.com/public_html/wp-content/plugins/wordpress-seo/src/presenters/abstract-indexable-tag-presenter.php(37): Yoast\WP\SEO\Presenters\Open_Graph\Url_Presenter->get() #1 /home/customer/www/leonardiandrea.com/public_html/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(416): Yoast\WP\SEO\Presenters\Abstract_Indexable_Tag_Presenter->present() #2 /home/customer/www/leonardiandrea.com/public_html/wp-includes/class-wp-hook.php(324): Yoast\WP\SEO\Integrations\Front_End_Integration->present_head('') #3 /home/customer/www/leonardiandrea.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #4 /home/customer/www/leonardiandrea.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /home/custome in /home/customer/www/leonardiandrea.com/public_html/wp-content/plugins/wordpress-seo/src/presenters/open-graph/url-presenter.php on line 46