Title: Undefined constant throwing error in php
Last modified: December 6, 2021

---

# Undefined constant throwing error in php

 *  Resolved [Jeff McNeill](https://wordpress.org/support/users/jeffmcneill/)
 * (@jeffmcneill)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/undefined-constant-throwing-error-in-php/)
 * *191 FastCGI sent in stderr: “PHP message: PHP Warning: Use of undefined constant
   widget_BreadCrumb_NavXT – assumed ‘widget_BreadCrumb_NavXT’ (this will throw 
   an Error in a future version of PHP) in /var/www/html/wp-content/plugins/breadcrumb-
   navxt-widget-plugin/bcnavxt-widget.php on line 41” while reading response header
   from upstream, client: … request: “POST /wp-admin/admin-ajax.php HTTP/2.0”, upstream:“
   fastcgi://unix:/run/php/php7.4-fpm.sock:”,

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [John Havlik](https://wordpress.org/support/users/mtekk/)
 * (@mtekk)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/undefined-constant-throwing-error-in-php/#post-15138157)
 * Have you tried using the widget included with Breadcrumb NavXT? The breadcrumb-
   navxt-widget-plugin that you appear to be using isn’t supported (was a 3rd party
   plugin), hasn’t been updated in 13 years (likely uses the old widget API which
   is likely part of the problem), and it looks like it was removed from the .org
   repo 2 years ago (so, I’m not sure how you installed it).
 *  Thread Starter [Jeff McNeill](https://wordpress.org/support/users/jeffmcneill/)
 * (@jeffmcneill)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/undefined-constant-throwing-error-in-php/#post-15138487)
 * Wow, ok. Thanks for pointing that out. I didn’t look closely at that widget. 
   Will be using the one included in your plugin. Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Undefined constant throwing error in php’ is closed to new replies.

 * ![](https://ps.w.org/breadcrumb-navxt/assets/icon.svg?rev=1927103)
 * [Breadcrumb NavXT](https://wordpress.org/plugins/breadcrumb-navxt/)
 * [Support Threads](https://wordpress.org/support/plugin/breadcrumb-navxt/)
 * [Active Topics](https://wordpress.org/support/plugin/breadcrumb-navxt/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/breadcrumb-navxt/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/breadcrumb-navxt/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jeff McNeill](https://wordpress.org/support/users/jeffmcneill/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/undefined-constant-throwing-error-in-php/#post-15138487)
 * Status: resolved