WordPress.org

Support

Support » Plugins and Hacks » WP_DEBUG causes PHP warnings

WP_DEBUG causes PHP warnings

  • edik
    Participant

    @plocha

    Hi,
    WordPress generates deprecation notices if I set WB_DEBUG to true.
    The deprecated function calls are:

    • load_plugin_textdomain
    • register_sidebar_widget
    • register_widget_control
    • register_sidebar_widget

    On newer WP versions there are maybe more warnings.

    In addition, I get the following PHP notice:

    Notice: Undefined index: statpress_action in /var/www/wordpress/wp-content/plugins/statpress/statpress.php on line 149

    If you do not have much time, I can maybe write a patch some day.

    http://wordpress.org/plugins/statpress/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I just installed your plugin now and I received the same error messages

    Many thanks to correct this quickly

    Yes, and the use of eregi() is also deprecated in newer PHP versions, so please fix this

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP_DEBUG causes PHP warnings’ is closed to new replies.