• Resolved Bonaldi

    (@bonaldi)


    Hi,
    On my site,I get an error.log file at root in which is noticed:

    WP-Members function wpmem_inc_sidebar() is deprecated. No alternative function exists

    Why?
    Please help.
    Regards.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    Are you calling that function directly from somewhere (like in your theme)? That’s the only way I can see that you’d get this log entry. The function is no longer used in the plugin (and hasn’t been for quite a few years), so unless you are specifically calling that function directly, there is nowhere else it would be used.

    Thread Starter Bonaldi

    (@bonaldi)

    Thanks for your answer.
    No, there’s no call in my theme…
    I don’t understand. Maybe with server setup ?

    Plugin Author Chad Butler

    (@cbutlerjr)

    The plugin does not call that function anymore. If you’re running the most recent version of the plugin and you are getting (current) entries in your error log, the function is being called from somewhere else (i.e. outside the plugin).

    Thread Starter Bonaldi

    (@bonaldi)

    OK, thanks, I’m gonna investigate…

    Thread Starter Bonaldi

    (@bonaldi)

    I checked and noticed that function wpmem_inc_sidebar exists in deprecated.php, line 39.
    I think the problem comes from here…

    Plugin Author Chad Butler

    (@cbutlerjr)

    The function exists in deprecated.php – as do all deprecated functions that haven’t been fully removed. This is so someone who is still using a deprecated function can update their install without breaking the site (this is a similar process to WP core).

    But a function that is in deprecated.php has been deprecated by the plugin and is no longer used by the plugin itself. So the only way for this function to be fired is from an external process – the plugin does not use it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘error.log’ is closed to new replies.