Fatal error: Uncaught Error: Undefined constant "EP_PERMALINK" in /home1/contact/public_html/privatepersonaltraining.co.uk/wp-includes/class-wp-post-type.php:645
Stack trace:
#0 /home1/contact/public_html/privatepersonaltraining.co.uk/wp-includes/class-wp-post-type.php(467): WP_Post_Type->set_props(Array)
#1 /home1/contact/public_html/privatepersonaltraining.co.uk/wp-includes/post.php(1793): WP_Post_Type->__construct('wpcode', Array)
#2 /home1/contact/public_html/privatepersonaltraining.co.uk/wp-content/plugins/insert-headers-and-footers/includes/post-type.php(25): register_post_type('wpcode', Array)
#3 /home1/contact/public_html/privatepersonaltraining.co.uk/wp-includes/class-wp-hook.php(324): wpcode_register_post_type('')
#4 /home1/contact/public_html/privatepersonaltraining.co.uk/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#5 /home1/contact/public_html/privatepersonaltraining.co.uk/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /home1/contact/public_html/privatepersonaltraining.co.uk/wp-settings.php(695): do_action('init')
#7 /home1/contact/public_html/privatepersonaltraining.co.uk/wp-config.php(104): require_once('/home1/contact/...')
#8 /home1/contact/public_html/privatepersonaltraining.co.uk/wp-load.php(50): require_once('/home1/contact/...')
#9 /home1/contact/public_html/privatepersonaltraining.co.uk/wp-blog-header.php(13): require_once('/home1/contact/...')
#10 /home1/contact/public_html/privatepersonaltraining.co.uk/index.php(17): require('/home1/contact/...')
#11 {main}
thrown in /home1/contact/public_html/privatepersonaltraining.co.uk/wp-includes/class-wp-post-type.php on line 645