Fatal error: Uncaught Error: Undefined class constant 'CUSTOM_POST_TYPE' in /var/www/xn--martinbirkmller-gub.dk/public_html/wp-content/themes/creatista/functions.php:272
Stack trace:
#0 /var/www/xn--martinbirkmller-gub.dk/public_html/wp-includes/class-wp-hook.php(326): creatista_remove_share(Object(WP_Post))
#1 /var/www/xn--martinbirkmller-gub.dk/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#2 /var/www/xn--martinbirkmller-gub.dk/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#3 /var/www/xn--martinbirkmller-gub.dk/public_html/wp-includes/class-wp-query.php(4755): do_action_ref_array('the_post', Array)
#4 /var/www/xn--martinbirkmller-gub.dk/public_html/wp-includes/query.php(1233): WP_Query->setup_postdata(Object(WP_Post))
#5 /var/www/xn--martinbirkmller-gub.dk/public_html/wp-content/plugins/jetpack/_inc/lib/class.media-summary.php(402): setup_postdata(Object(WP_Post))
#6 /var/www/xn--martinbirkmller-gub.dk/public_html/wp-content/plugins/jetpack/_inc/lib/class.media-su in /var/www/xn--martinbirkmller-gub.dk/public_html/wp-content/themes/creatista/functions.php on line 272