WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Taxonomy Images BETA] Fix PHP Notices!

[Plugin: Taxonomy Images BETA] Fix PHP Notices!

  • fireproofsocks
    Member

    @fireproofsocks

    You gotta clean up PHP Notices in this plugin. You MUST turn on PHP Notices while developing a plugin, otherwise you won’t realize when your code is not clean. Anyone who sees a bunch of notices upon activation will immediately deactivate your plugin and never touch it again.

    • Notice: Use of undefined constant locale – assumed ‘locale’ in /path/to/wordpress3/html/wp-content/plugins/taxonomy-images/taxonomy-images.php on line 134
    • Notice: Object of class taxonomy_images_plugin could not be converted to int in /path/to/wordpress3/html/wp-content/plugins/taxonomy-images/taxonomy-images.php on line 134
    • Notice: Use of undefined constant locale – assumed ‘locale’ in /path/to/wordpress3/html/wp-content/plugins/taxonomy-images/taxonomy-images.php on line 134
    • Notice: Object of class taxonomy_images_plugin could not be converted to int in /path/to/wordpress3/html/wp-content/plugins/taxonomy-images/taxonomy-images.php on line 134
  • The topic ‘[Plugin: Taxonomy Images BETA] Fix PHP Notices!’ is closed to new replies.