Title: [Plugin: Advanced Text Widget] Call to undefined function plugin_basename()
Last modified: August 20, 2016

---

# [Plugin: Advanced Text Widget] Call to undefined function plugin_basename()

 *  [henrisalo](https://wordpress.org/support/users/henrisalo/)
 * (@henrisalo)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-advanced-text-widget-call-to-undefined-function-plugin_basename/)
 * While testing [http://seclists.org/bugtraq/2011/Nov/133](http://seclists.org/bugtraq/2011/Nov/133)
   I found that call to advancedtext.php?page=’ creates error-event to log:
 * mod_fcgid: stderr: PHP Fatal error: Call to undefined function plugin_basename()
   in <snip>/wp-content/plugins/advanced-text-widget/advancedtext.php on line 11
 * [http://wordpress.org/extend/plugins/advanced-text-widget/](http://wordpress.org/extend/plugins/advanced-text-widget/)

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

 *  Plugin Author [Max Chirkov](https://wordpress.org/support/users/maxchirkov/)
 * (@maxchirkov)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-advanced-text-widget-call-to-undefined-function-plugin_basename/#post-2691902)
 * This doesn’t look like an issue with the code, but rather with your server setup.
   I’m not familiar with the error, but here is a [similar issue](http://stackoverflow.com/questions/5364233/php-fatal-error-failed-opening-required-file)–
   see if its in the right direction.
 *  Plugin Author [Max Chirkov](https://wordpress.org/support/users/maxchirkov/)
 * (@maxchirkov)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-advanced-text-widget-call-to-undefined-function-plugin_basename/#post-2691904)
 * BTW, the XSS vulnerability has been addressed in version 2.0.2

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

The topic ‘[Plugin: Advanced Text Widget] Call to undefined function plugin_basename()’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-text-widget_918389.svg)
 * [Advanced Text Widget](https://wordpress.org/plugins/advanced-text-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-text-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-text-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-text-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-text-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-text-widget/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Max Chirkov](https://wordpress.org/support/users/maxchirkov/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-advanced-text-widget-call-to-undefined-function-plugin_basename/#post-2691904)
 * Status: not resolved