Tagged: chrome, safari, woocommerce
-
AuthorPosts
-
February 24, 2014 at 7:21 pm #228626
I started having multiple issues with WooCommerce a few days back after they updated. Two distinct problems I’ve been chasing, one being several errors like:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘wc_setup_product_data’ not found or invalid function name in /home/xxx/wp-includes/plugin.php on line 507And in addition, my s2memberPro which requires SSL during checkout for membership purchases, wouldn’t redirect to the secure page and errored out.
Today, continuing the chase, after trying to switch themes, which resulted in less call_user_func_array errors, I completely disabled Woo and all of it’s associated plugins. Now the site works as expected, (except for the store of course) as does the SSL pages.
Are you and Woo on the same page – template wise – with their latest upgrade? And if not, which files are affected so that I may chase down the incompatibilities myself.
February 24, 2014 at 7:28 pm #228632Hi mrshaffly!
Enfold was updated to work with WC2.1 in Enfold version 2.5.2: http://kriesi.at/documentation/enfold/change-log-version-2-5-2/
We’ve not had any reports of issues like the above so far.
Regards,
DevinFebruary 24, 2014 at 7:44 pm #228640Perhaps not, but I *do* have an issue and it’s directly related to Woo, which specifically states it’s a theme issue. Now I can go back and forth with both of you, but my goal is to figure out the problem and get it resolved.
February 24, 2014 at 8:26 pm #228650<b>Warning</b>: call_user_func_array() expects parameter 1 to be a valid callback, function ‘wc_setup_product_data’ not found or invalid function name in <b>/home/xxx/wp-includes/plugin.php</b> on line <b>507</b>
<b>Warning</b>: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/xxx/wp-includes/plugin.php:507) in <b>/home/xxx/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php</b> on line <b>33</b>
In addition, when activated, s2MemberPro, which requires SSL on certain pages, no longer works and has a “too many redirects” error which when WooCommerce is deactivated, works.
http://www.divawow.org/membersonly/
Is the site. I see these errors in Safari and Chrome. Firefox seems to be hiding them. And in CHROME the template appears to be completely broken. Perhaps due to the errors?
February 24, 2014 at 8:42 pm #228661You can test if its a theme related issue by switching to one of the default WordPress themes (twenty __ ).
Using a membership plugin in conjunction with WooCommerce can have its own set of hurdles in itself but in this case there seems to be other users with the same issue and with other themes: http://wordpress.org/support/topic/woocommerce-21-broken
February 24, 2014 at 8:51 pm #228668I did test the default theme. Several errors went away, but not all. Which is why I’m here. In addition, the theme looks drastically different
in Chrome than in Firefox.when not logged in as a user.February 26, 2014 at 3:34 am #229367I’m not really sure what else we could suggest. The errors you originally mentioned are also getting reported by other users with other themes and the root seems to be WooCommerce. Not being the developers of the plugin if there is a core conflict all we can do is report the bug.
They have also posted here on fixing common issues that have come up with 2.1 which may or may not help: http://develop.woothemes.com/woocommerce/2014/02/solving-common-issues-after-updating-to-woocommerce-2-1/
The differences while being logged in vs logged out could be cache related, the membership plugin related or something else completely. If you can be a bit more specific on what exactly is happening we can look into them further and see if its something we can fix.
July 22, 2014 at 1:34 pm #294310Hei – I love the Integration of Woocommerce, but::::
Is their a hook, filter or action to completely remove the Woocommerce functionalities??
I think it makes uploads – and tWordpress a little bit faster – so I woill completely remove it from the Theme.July 23, 2014 at 6:21 am #294782Hey!
@hunter74: Are you using the woocommerce plugin or not? You can just disable or delete it on the plugins panel if you want.Regards,
IsmaelJuly 23, 2014 at 3:52 pm #294980No I don´t use it – I mean to don´t see any functions in WordPress.
I just cleared it with the following:
// require_once( ‘config-bbpress/config.php’ ); //compatibility with bbpress forum plugin
// require_once( ‘config-woocommerce/config.php’ ); //compatibility with woocommerce pluginBecuse in my newes works with Enfold I try to cleanup a little bit mor to have a faster page speed!!!!!
July 23, 2014 at 4:48 pm #295024Hey!
No, there’s no hook to remove the config-woocommerce/config.php file because the code will only fire if WooCommerce is activated. The performance impact of the require_once() file inclusion can be ignored. If you want to overwrite the default theme functions.php file include the entire code of the functions.php file into your child theme functions.php, delete the code you don’t want to use and at the very beginning (after the
global $avia_config; $avia_config['use_child_theme_functions_only'] = true;
-
AuthorPosts
- You must be logged in to reply to this topic.