WordPress.org

Forums

StatPress
WP_DEBUG causes PHP warnings (3 posts)

  1. edik
    Member
    Posted 1 year ago #

    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/

  2. gverhaeg
    Member
    Posted 1 year ago #

    I just installed your plugin now and I received the same error messages

    Many thanks to correct this quickly

  3. carestad
    Member
    Posted 11 months ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic