Title: Warning upon activating plugin
Last modified: August 20, 2016

---

# Warning upon activating plugin

 *  Resolved [craigmbooth](https://wordpress.org/support/users/craigmbooth/)
 * (@craigmbooth)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/warning-upon-activating-plugin/)
 * First up, I like this plugin a lot. IT does precisely what I wanted with a minimum
   of overhead. I just have one little thing to report. When I first activated the
   plugin in WP3.5.1 I got a notice at the top of every screen:
 * `Notice: Use of undefined constant APL_DEFAULT_PLUGIN_FORMAT - assumed 'APL_DEFAULT_PLUGIN_FORMAT'
   in /home/virtual/site154/fst/var/www/craigmbooth/wp-content/plugins/plugins-list/
   plugins-list.php on line 22`
 * Line 22 of plugins-list.php should read:
 * `define('APL_DEFAULT_PLUGIN_FORMAT' ....`
 * [http://wordpress.org/extend/plugins/plugins-list/](http://wordpress.org/extend/plugins/plugins-list/)

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

 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/warning-upon-activating-plugin/#post-3453825)
 * Thanks for letting me know – I’ll fix it in the next release.
 * Can I assume it only appeared at first and the error has now gone?
 * David.
 *  Thread Starter [craigmbooth](https://wordpress.org/support/users/craigmbooth/)
 * (@craigmbooth)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/warning-upon-activating-plugin/#post-3453826)
 * It appeared at the top of every single page in the admin panel. Making the change
   I mentioned in the first post (adding quotation marks around the first argument
   of define() on L22 of plugins-list.php) made the warning disappear immediately.
 * I’m not a PHP expert, but maybe the PHP install on my server was set up to be
   very aggressive with reporting warnings, it didn’t affect the operation of the
   plugin itself (as the notice says, PHP assumed we meant for the quotes to be 
   there and corrected it), it was just an annoying message.
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/warning-upon-activating-plugin/#post-3454000)
 * The latest release should fix the errors.
 * David.

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

The topic ‘Warning upon activating plugin’ is closed to new replies.

 * ![](https://ps.w.org/plugins-list/assets/icon.svg?rev=3026452)
 * [Plugins List](https://wordpress.org/plugins/plugins-list/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/plugins-list/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/plugins-list/)
 * [Active Topics](https://wordpress.org/support/plugin/plugins-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/plugins-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/plugins-list/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [David Artiss](https://wordpress.org/support/users/dartiss/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/warning-upon-activating-plugin/#post-3454000)
 * Status: resolved