Tagged: x
-
AuthorPosts
-
October 25, 2016 at 8:04 am #1229762
Hey there!
For the past 3 months I have been getting this error over and over again in my logs It has gotten worse recently. I am seeing this on other sites running X as well with WooCommerce. The specific site in question is https://www.gokeyless.com
Here is the error I keep getting whenever someone visits the product pages:
callback, no array or string given in /www/wp-content/themes/x/woocommerce/single-product/tabs/tabs.php on line 50 [25-Oct-2016 03:08:09 UTC] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in /www/wp-content/themes/x/woocommerce/single-product/tabs/tabs.php on line 50 [25-Oct-2016 03:25:42 UTC] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in /www/wp-content/themes/x/woocommerce/single-product/tabs/tabs.php on line 50 [25-Oct-2016 03:32:49 UTC] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in /www/wp-content/themes/x/woocommerce/single-product/tabs/tabs.php on line 50 [25-Oct-2016 03:51:22 UTC] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in /www/wp-content/themes/x/woocommerce/single-product/tabs/tabs.php on line 50 [25-Oct-2016 04:00:20 UTC] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in /www/wp-content/themes/x/woocommerce/single-product/tabs/tabs.php on line 50 [25-Oct-2016 04:00:27 UTC] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in /www/wp-content/themes/x/woocommerce/single-product/tabs/tabs.php on line 50 [25-Oct-2016 04:09:43 UTC] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in /www/wp-content/themes/x/woocommerce/single-product/tabs/tabs.php on line 50 [25-Oct-2016 04:50:17 UTC] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in /www/wp-content/themes/x/woocommerce/single-product/tabs/tabs.php on line 50 [25-Oct-2016 05:14:59 UTC] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in /www/wp-content/themes/x/woocommerce/single-product/tabs/tabs.php on line 50 [25-Oct-2016 05:15:26 UTC] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in /www/wp-content/themes/x/woocommerce/single-product/tabs/tabs.php on line 50 [25-Oct-2016 05:46:23 UTC] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in /www/wp-content/themes/x/woocommerce/single-product/tabs/tabs.php on line 50
As I said…I’ve been getting this error for a long time through many X Theme updates.
October 25, 2016 at 9:08 am #1229858Hi There,
In this case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link login to your site
– WordPress Admin username / Password
– FTP AccountDon’t forget to select Set as a private reply. This ensures your information is only visible to our staff.
Thanks.
October 27, 2016 at 7:15 am #1233032Hey Thai,
I would rather not provide my FTP access. This is an enterprise account. The file in the error is a core un-modified X theme file. Can you please look in X core to see what the issue is? If need be, I can paste the code here..but I assume you have access to core code.Let me know.
Thank you!
October 27, 2016 at 7:47 am #1233058Hi there,
What’s your PHP version running on your server? Try updating PHP version to v5.6.0 or above (the latest would be v5.6.27).
Let us know how it goes.
Thanks!November 2, 2016 at 9:39 am #1240794We are still getting this error :/ PHP is up to date.
November 2, 2016 at 10:38 am #1240939I’m not getting this on my test site. Would you mind giving us your WooCommerce Tabs settings in the Customizer?
Thanks.
November 3, 2016 at 7:45 am #1242282Absolutely! Attached is a screenshot of the settings!
Also included is a full stack trace from New Relic! Note that the calls from my child theme that it references are simply copied templates loading default WooCommerce hooks ( the modifications I made are unrelated to the tabs ).
…nt/live/gokeyless/wp-content/themes/x/woocommerce/single-product/tabs/
tabs.php (50)
…t/live/gokeyless/wp-content/plugins/woocommerce/includes/
wc-core-functions.php (203)
…ve/gokeyless/wp-content/plugins/woocommerce/includes/
wc-template-functions.php (839)
in woocommerce_output_product_data_tabs called at ? (?)
…l_user_func_array called at /nas/content/live/gokeyless/wp-includes/
plugin.php (524)
…ive/gokeyless/wp-content/themes/x-child/woocommerce/
in do_action called at /nas/content/live/gokeyless/wp-content/themes/x-child/woocommerce/content-single-product.php
content-single-product.php (77)
in require called at /nas/content/live/gokeyless/wp-includes/template.php (574)
…t/live/gokeyless/wp-content/plugins/woocommerce/includes/
wc-core-functions.php (173)
…ve/gokeyless/wp-content/plugins/woocommerce/includes/
wc-template-functions.php (358)
…/gokeyless/wp-content/themes/x-child/framework/views/integrity/
woocommerce.php (25)
in require called at /nas/content/live/gokeyless/wp-includes/template.php (574)
in load_template called at /nas/content/live/gokeyless/wp-includes/template.php (531)
…emplate called at /nas/content/live/gokeyless/wp-includes/
general-template.php (167)
…ntent/live/gokeyless/wp-content/themes/x/framework/functions/global/
helper.php (38)
…view called at /nas/content/live/gokeyless/wp-content/themes/x/
woocommerce.php (17)
… include called at /nas/content/live/gokeyless/wp-includes/
template-loader.php (75)
in require_once called at /nas/content/live/gokeyless/wp-blog-header.php (19)
in require called at /nas/content/live/gokeyless/index.php (17)November 3, 2016 at 9:08 am #1242361This reply has been marked as private. -
AuthorPosts