Use of undefined constant E_DEPRECATED – assumed 'E_DEPRECATED'
-
Getting this error. Strangely it’s only appearing on a single custom post type page that displays a get_the_terms of the custom taxonomies it’s filed in, and specifically tied to get_term_link (when I comment out the get_term_link, the notice disappears). This seems coincidental since the symptom appears to be totally unrelated to the cause (but feel free to let me know if I’m _doing_it_wrong and that’s why it’s getting thrown).
Here’s the full error(s):
Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /path/to/wp-content/plugins/debug-bar/panels/class-debug-bar-php.php on line 44 Notice: Use of undefined constant E_USER_DEPRECATED - assumed 'E_USER_DEPRECATED' in /path/to/wp-content/plugins/debug-bar/panels/class-debug-bar-php.php on line 45
Changing E_DEPRECATED and E_USER_DEPRECATED on lines 44 and 45 of the file listed removes the notices.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Use of undefined constant E_DEPRECATED – assumed 'E_DEPRECATED'’ is closed to new replies.