Fatal error: Uncaught Error: Call to undefined value in functions get_custom_data()
in /var/www/html/wp-content/*.
#0 /var/www/html/wp-content/themes/wox/single.php(45): custom_post_type_display() #1 /var/www/html/wp-includes/template.php(772): require('/var/www/html/w...') #2 /var/www/html/wp-includes/template.php(716): load_template('/var/www/html/w...', false) #3 /var/www/html/wp-includes/general-template.php(204): locate_template(Array, true) #4 /var/www/html/wp-content/themes/mytheme/index.php(9): get_template_part('single') #5 /var/www/html/wp-includes/template-loader.php(106): require_once('/var/www/html/w...') #6 /var/www/html/wp-blog-header.php(16): do_action('template_redirect') #7 /var/www/html/index.php(14): require('/var/www/html/w...')
E_ERROR
get_custom_data()
that does not exist./var/www/html/wp-content/themes/** functions.php
EDFFFF88
get_custom_data()
is either misspelled or not defined in the theme or plugin.get_custom_data()
is executed before the function is defined (e.g., in the wrong order).The website may display a blank screen or an error message, preventing users from accessing specific pages, particularly those relying on custom post types.
Contact your developer or hosting provider for further assistance if the issue persists.