• synopsisac

    (@synopsisac)


    WooCommerce 2.6.14
    WordPress 4.7.2

    I created a product, in a product category. Menu item linked to product category.
    My product is available, but when I open the product, I can see the main photo, description, price, quantity, ‘Add to basket’ button but above description, the following error displays :

    Warning
    : call_user_func_array() expects parameter 1 to be a valid callback, function ‘toastie_wc_smsb_form_code’ not found or invalid function name in
    /home/XXXXXX/wp-includes/class-wp-hook.php
    on line
    298

    Note : above ‘XXXXXX’ is my complete hosting tree. Just masked it.
    Screenshot : my bug
    Full-size screenshot : `https://i58.servimg.com/u/f58/17/85/51/09/woocom11.jpg

    • This topic was modified 8 years ago by synopsisac.
Viewing 1 replies (of 1 total)
  • lorro

    (@lorro)

    ... smsb ... = social media share buttons?

    These may be coming from your theme or one of your plugins. Make sure theme and plugins are up-to-date.

    If so, you should deactivate whatever is causing the problem. If you are not sure what’s causing it, deactivate all other plugins and switch to the default theme. Reactivate one-by-one and test to try to identify the software component that is causing the problem. Then approach the support service for that component.

    Another approach would be to look in wp-config.php for the line:
    define('WP_DEBUG', true); and change true to false. This will hide php warnings. Unfortunately that hinders resolution of this and other problems, but may do as a stopgap fix.

Viewing 1 replies (of 1 total)
  • The topic ‘function ‘toastie_wc_smsb_form_code’ not found or invalid function name’ is closed to new replies.