Fatal error: Uncaught Error: Call to undefined function split() in /home/gou2681334/gourmeta.ru/docs/wp-content/themes/gourmeta/includes/custom-post-type.php:100
Stack trace:
#0 /home/gou2681334/gourmeta.ru/docs/wp-includes/class-wp-hook.php(326): CustomPostType->post_type_link('http://gourmeta...', Object(WP_Post))
#1 /home/gou2681334/gourmeta.ru/docs/wp-includes/plugin.php(205): WP_Hook->apply_filters('http://gourmeta...', Array)
#2 /home/gou2681334/gourmeta.ru/docs/wp-includes/link-template.php(375): apply_filters('post_type_link', 'http://gourmeta...', Object(WP_Post), false, false)
#3 /home/gou2681334/gourmeta.ru/docs/wp-includes/link-template.php(201): get_post_permalink(Object(WP_Post), false, false)
#4 /home/gou2681334/gourmeta.ru/docs/wp-includes/link-template.php(500): get_permalink(Object(WP_Post))
#5 /home/gou2681334/gourmeta.ru/docs/wp-includes/link-template.php(199): get_attachment_link(Object(WP_Post), false)
#6 /home/gou2681334/gourmeta.ru/docs/wp-content/plugins/wordpress-seo/inc/sitemaps/class-post-type-sitemap-provider.php(626): get_permalink(Object(WP_Post))
#7 /home/gou2681334/gourmeta.ru/docs/wp-content/plugins/wordpress-seo/inc/sitemaps/class-post-type-sitemap-provider.php(211): WPSEO_Post_Type_Sitemap_Provider->get_url(Object(WP_Post))
#8 /home/gou2681334/gourmeta.ru/docs/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps.php(379): WPSEO_Post_Type_Sitemap_Provider->get_sitemap_links('attachment', 1000, 1)
#9 /home/gou2681334/gourmeta.ru/docs/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps.php(279): WPSEO_Sitemaps->build_sitemap('attachment')
#10 /home/gou2681334/gourmeta.ru/docs/wp-includes/class-wp-hook.php(324): WPSEO_Sitemaps->redirect(Object(WP_Query))
#11 /home/gou2681334/gourmeta.ru/docs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#12 /home/gou2681334/gourmeta.ru/docs/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#13 /home/gou2681334/gourmeta.ru/docs/wp-includes/class-wp-query.php(1910): do_action_ref_array('pre_get_posts', Array)
#14 /home/gou2681334/gourmeta.ru/docs/wp-includes/class-wp-query.php(3949): WP_Query->get_posts()
#15 /home/gou2681334/gourmeta.ru/docs/wp-includes/class-wp.php(701): WP_Query->query(Array)
#16 /home/gou2681334/gourmeta.ru/docs/wp-includes/class-wp.php(821): WP->query_posts()
#17 /home/gou2681334/gourmeta.ru/docs/wp-includes/functions.php(1342): WP->main('')
#18 /home/gou2681334/gourmeta.ru/docs/wp-blog-header.php(16): wp()
#19 /home/gou2681334/gourmeta.ru/docs/index.php(17): require('/home/gou268133...')
#20 {main}
thrown in /home/gou2681334/gourmeta.ru/docs/wp-content/themes/gourmeta/includes/custom-post-type.php on line 100