Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1273533
    Kevin C
    Participant

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘x_woocommerce_shop_product_thumbnails_custom’ not found or invalid function name in /home/vivreact/public_html/wp-includes/plugin.php on line 524

    My website is having the above error after updates to woocommerce, plugin and theme.

    Tried deactivating third party plugin and there’s even more errors.

    Please help.

    Login in next post.

    #1273535
    Kevin C
    Participant
    This reply has been marked as private.
    #1273574
    Jade
    Moderator

    Hello There,

    Please login through FTP and find the file wp-config.php and find the line

    define('WP_DEBUG', true);

    And set it to false.

    Please let us know how it goes.

    #1273592
    Kevin C
    Participant

    Hi Jade,

    I have found the file and it’s already false.

    #1273662
    Jade
    Moderator

    Hi Kevin,

    I tried to check your product page but I can’t seem to see the warning message anymore.

    Are you still having the issue until now?

    #1274039
    Kevin C
    Participant

    Hi Jade,

    The error message will be at the catalog page.

    http://vivreactivewear.com/shop/

    It’s still there for me right now.

    #1274229
    Christopher
    Moderator

    Hi there,

    There are 36 active plugins.
    Please try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    Hope it helps.

    #1274394
    Kevin C
    Participant

    Hi Christopher,

    I have tried deactivating all 35 plugins except woocommerce and the problem remains.

    #1274426
    Paul R
    Moderator

    Hi,

    Can you provide us your ftp login in private reply so we can take a closer look.

    Thanks

    #1274503
    Kevin C
    Participant
    This reply has been marked as private.
    #1274566
    Kevin C
    Participant

    I have zero knowledge on coding but I have managed to get to this stage. Seems like if I were to edit something here, save it, and upload and everything will be fine?

    Line 524
    call_user_func_array($the_[‘function’], array_slice($args, 0, (int) $the_[‘accepted_args’]));

    ` // Sort
    if ( !isset( $merged_filters[ $tag ] ) ) {
    ksort($wp_filter[$tag]);
    $merged_filters[ $tag ] = true;
    }

    reset( $wp_filter[ $tag ] );

    do {
    foreach ( (array) current($wp_filter[$tag]) as $the_ )
    if ( !is_null($the_[‘function’]) )
    call_user_func_array($the_[‘function’], array_slice($args, 0, (int) $the_[‘accepted_args’]));

    } while ( next($wp_filter[$tag]) !== false );

    array_pop($wp_current_filter);`

    #1274606
    Thai
    Moderator

    Hi There,

    I would like to check your website but the FTP account is incorrect.

    Could you please double check on it?

    Thanks.

    #1274739
    Kevin C
    Participant

    Edited with the right info. Sorry about it.

    #1274819
    Thai
    Moderator

    Hey There,

    The warning message has been gone away.

    I commented out the code on the line 92-98 & 112 in your functions.php file.

    Cheers!

    #1274822
    Kevin C
    Participant

    I have fixed the problem!

    No sure how I actually did it though, it’s adding something to function file and delete it again. But thanks for all the help to point me in the right direction.

    function et_add_viewport_meta(){
    echo ‘<meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0″ />’;
    }

  • <script> jQuery(function($){ $("#no-reply-1273533 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>