• Resolved tremblayly

    (@tremblayly)


    Hi
    When the Code Snippet plugin is activated, the following warning error appears in the admin area in one of my WC Commerce Smart Coupon I created. The Smart Coupon plugin developer responded to my support ticket saying this error message was not from their plugin and to find out which other plugin caused the conflict.

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘add_customer_type_column_data’ not found or invalid function name in /nas/content/staging/herbalhealing/wp-includes/class-wp-hook.php on line 287

    Can you please help find a fix for that warning message.

    Thank you
    Lyse

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    This function doesn’t exist in the Code Snippets plugin. If it disappears when you deactivate Code Snippets, then it would come from one of the snippets you added.

    It looks like a snippet includes a line with add_action or add_filter referring to an add_customer_type_column_data function, which doesn’t exist.

    Thread Starter tremblayly

    (@tremblayly)

    Hi Shea,
    Thank you for the prompt reply and glad to hear it’s not the plugin but perhaps one of my code snippet I’ve used for displaying the customer type on my order page.
    Lyse

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conflict with plugin causes error’ is closed to new replies.