• Larute

    (@jeremynivisongmailcom)


    I’m getting a message in query monitor. I’m not sure what this means and I’m wondering if anyone can help:

    call_user_func_array() expects parameter 1 to be a valid callback, function ‘ws_private_posts_subscribers’ not found or invalid function name

    Location:
    wp-includes/class-wp-hook.php:308do_action(‘init’)wp-settings.php:617

    Component:
    WordPress Core

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator threadi

    (@threadi)

    The function name ws_private_posts_subscribers sounds more like an individual function. Do you have a child theme and a hook there that refers to this function? Also a plugin like Code Snippets could contain this.

    Thread Starter Larute

    (@jeremynivisongmailcom)

    Thank you! I found the function in my functions.php file and remedied it.

    Moderator threadi

    (@threadi)

    Glad if I could help. You are welcome to set the topic to solved.

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

The topic ‘PHP Error Message’ is closed to new replies.