Tagged: x
-
AuthorPosts
-
November 28, 2016 at 12:56 pm #1273533
Kevin CParticipantWarning: 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.
November 28, 2016 at 12:57 pm #1273535
Kevin CParticipantThis reply has been marked as private.November 28, 2016 at 1:21 pm #1273574
JadeModeratorHello 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.
November 28, 2016 at 1:36 pm #1273592
Kevin CParticipantHi Jade,
I have found the file and it’s already false.
November 28, 2016 at 2:54 pm #1273662
JadeModeratorHi 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?
November 28, 2016 at 8:45 pm #1274039
Kevin CParticipantHi Jade,
The error message will be at the catalog page.
http://vivreactivewear.com/shop/
It’s still there for me right now.
November 29, 2016 at 12:55 am #1274229
ChristopherModeratorHi 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.
November 29, 2016 at 3:53 am #1274394
Kevin CParticipantHi Christopher,
I have tried deactivating all 35 plugins except woocommerce and the problem remains.
November 29, 2016 at 4:17 am #1274426
Paul RModeratorHi,
Can you provide us your ftp login in private reply so we can take a closer look.
Thanks
November 29, 2016 at 5:39 am #1274503
Kevin CParticipantThis reply has been marked as private.November 29, 2016 at 6:44 am #1274566
Kevin CParticipantI 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);`
November 29, 2016 at 7:30 am #1274606
ThaiModeratorHi There,
I would like to check your website but the FTP account is incorrect.
Could you please double check on it?
Thanks.
November 29, 2016 at 9:19 am #1274739
Kevin CParticipantEdited with the right info. Sorry about it.
November 29, 2016 at 10:33 am #1274819
ThaiModeratorHey 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!
November 29, 2016 at 10:34 am #1274822
Kevin CParticipantI 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″ />’;
} -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1273533 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
