Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #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 507

    And 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.

    #228632

    Hi 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,
    Devin

    #228640

    Perhaps 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.

    #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?

    #228661

    You 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

    #228668

    I 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.

    #229367

    I’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.

    #294310

    Hei – 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.

    #294782

    Hey!


    @hunter74
    : Are you using the woocommerce plugin or not? You can just disable or delete it on the plugins panel if you want.

    Regards,
    Ismael

    #294980

    No 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 plugin

    Becuse in my newes works with Enfold I try to cleanup a little bit mor to have a faster page speed!!!!!

    #295024

    Hey!

    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;

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.