Title: Error on Install: Undefined variable: text_domain
Last modified: August 21, 2016

---

# Error on Install: Undefined variable: text_domain

 *  [lettergrade](https://wordpress.org/support/users/lettergrade/)
 * (@lettergrade)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/error-on-install-undefined-variable-text_domain/)
 * I just installed the plugin and got this error.
 * **Undefined variable: text_domain in /home/sptosi/public_html/wp/bosco-tech/wp-
   content/plugins/wp-category-posts-list/wp-category-post-list.php on line 56**
 * This is line 56:
 * `$itgdb_wp_cpl_plugin = new itgdb_wp_cpl_loader(__FILE__, $text_domain);`
 * Anybody have an idea what’s going on? I’ve updated past the supported version
   of WP, but I was hoping that wasn’t necessarily the conflict.
 * [http://wordpress.org/extend/plugins/wp-category-posts-list/](http://wordpress.org/extend/plugins/wp-category-posts-list/)

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

 *  [Robert W. Drummond](https://wordpress.org/support/users/rwdrummondcoxnet/)
 * (@rwdrummondcoxnet)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/error-on-install-undefined-variable-text_domain/#post-3945854)
 * I encountered the same problem today. On wp 3.5.2 and cpl 2.0.3.
 *  [Nomina](https://wordpress.org/support/users/nomina/)
 * (@nomina)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/error-on-install-undefined-variable-text_domain/#post-3945909)
 * Also on WordPress 3.5.2. Also getting the same error. Everything was working 
   fine throughout the day, then suddenly the site started throwing the same error
   mentioned above. Coincidentally (?), The error first occurred after adding
 * `define('SAVEQUERIES', true);`
 * to my wp-config for ‘Debug Bar,’ but removing the line had no effect.
 *  Thread Starter [lettergrade](https://wordpress.org/support/users/lettergrade/)
 * (@lettergrade)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/error-on-install-undefined-variable-text_domain/#post-3945917)
 * Should have mentioned: also on WP 3.5.2

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

The topic ‘Error on Install: Undefined variable: text_domain’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-category-posts-list_edefec.svg)
 * [WP Category Post List Widget](https://wordpress.org/plugins/wp-category-posts-list/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-category-posts-list/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-category-posts-list/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-category-posts-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-category-posts-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-category-posts-list/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [lettergrade](https://wordpress.org/support/users/lettergrade/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/error-on-install-undefined-variable-text_domain/#post-3945917)
 * Status: not resolved