Fatal error: Uncaught Error: Call to undefined function is_post_publicly_viewable() in /home/oanacom/turcescu.ro/wp-includes/media.php:1647
Stack trace:
#0 /home/oanacom/turcescu.ro/wp-includes/shortcodes.php(364): gallery_shortcode(Array, '', 'gallery')
#1 /home/oanacom/turcescu.ro/wp-includes/media.php(3632): do_shortcode_tag(Array)
#2 /home/oanacom/turcescu.ro/wp-includes/media.php(3671): get_post_galleries(Object(WP_Post), false)
#3 /home/oanacom/turcescu.ro/wp-includes/media.php(3713): get_post_gallery(0, false)
#4 /home/oanacom/turcescu.ro/wp-content/plugins/wordpress-seo/frontend/class-twitter.php(92): get_post_gallery_images()
#5 /home/oanacom/turcescu.ro/wp-content/plugins/wordpress-seo/frontend/class-twitter.php(77): WPSEO_Twitter->determine_card_type()
#6 /home/oanacom/turcescu.ro/wp-content/plugins/wordpress-seo/frontend/class-twitter.php(54): WPSEO_Twitter->type()
#7 /home/oanacom/turcescu.ro/wp-content/plugins/wordpress-seo/frontend/class-twitter.php(45): WPSEO_Twitter->twitter()
#8 /home/oanacom/turcescu.ro in /home/oanacom/turcescu.ro/wp-includes/media.php on line 1647