• Resolved carlosgumiel

    (@carlosgumiel)


    Hi, I updated Woocommerce last night to 4.7.0, this morning I had this in backend:

    CS_Query::get_endpoint_title($endpoint) should be compatible with WC_Query::get_endpoint_title($endpoint, $action = ”) in?/public_html/wp-content/plugins/woocommerce-subscriptions/includes/class-wcs-query.php?on line?0

    Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-content/plugins/woocommerce-subscriptions/includes/class-wcs-autoloader.php:77) in?/public_html/wp-includes/functions.php?on line?6274

    Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-content/plugins/woocommerce-subscriptions/includes/class-wcs-autoloader.php:77) in?/public_html/wp-admin/admin-header.php?on line?9

    And this in frontend:

    Warning: Declaration of WCS_Query::get_endpoint_title($endpoint) should be compatible with WC_Query::get_endpoint_title($endpoint, $action = ”) in?/public_html/wp-content/plugins/woocommerce-subscriptions/includes/class-wcs-query.php?on line?0

    I′ve rolled back my Woocommerce to previous version and it is fine again.
    Any idea what is going on to the new Woocommerce Version?

    Thank you!

Viewing 12 replies - 16 through 27 (of 27 total)
  • mistersippi

    (@mistersippi)

    TBH they could have modified this function so they don’t force people to resubscribe to all the plugins depending on this.

    stephen87

    (@stephen87)

    Agreed, its such an important plugin too.

    lemanja

    (@lemanja)

    @quangthien27 Thank you so much, this is a lifesaver! ?? You rock!

    @mperezssmd , I did your suggestion and the error was gone however I received an email from WordPress.

    “G’day!

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, WooCommerce Subscriptions.”

    do you receive any email too like mine? and Is there’s any problem after rolling back the plugins?

    thank you!

    • This reply was modified 3 years, 12 months ago by ericka1895.

    Stupid question, but how do I actually get to “/wp-content/plugins/woocommerce-subscriptions/includes/class-wcs-query.php”

    Bit of a novice fumbling my way around WP here.

    @danhanton12 You either need an FTP client to get to the files from the server, or you need a cPanel access from your hosting provider. From there you have find the files manager tool and check for a folder www or public_html. From there just follow the path you have used above.
    There is a third way that might be the easiest for you, but it might be disabled. Give it a try – go to your site wp-admin then go to Plugins->Plugin editor. From there on top right there is a drop down input with all the plugins. Select Woocommerce Subscriptions and find the file you need in the list below that will appear.
    Be careful. If you delete or change anything else from that file you whole site can go with fatal error. And then you will need the FTP and some knowledge on PHP to fix it.
    Good luck.

    Hi same problem – I did as suggested to rollback. to 4.6.2 that took away error on the endpoint but now problem on the check reads

    Deprecated: WC_Cart->tax_display_cart was called with an argument that is?deprecated?since version 4.4! Use WC_Cart->get_tax_price_display_mode() instead. in /www/wp-includes/functions.php on line 5061

    Can anyone help? Thank you

    Cody

    (@hawk_design)

    Thanks a lot @quangthien27, fixed!

    If we purchased the premium plugin and didn’t renew, does that mean we don’t get the updated versions? This is the first time I have purchased this plugin.

    Unbelievable this has not been fixed yet.

    I agree with @francesca111 , this should have been caught in a basic integration smoke test.

    How has a fix not been put out for this yet? It’s not acceptable seeing as people are paying for this plugin.

    Is this issue now fixed? I’ve just applied the fix provided by @quangthien27 thank you and that worked – but I’m now reading that others are experiencing blowback from deprecation and other things?
    Is this issue to do with a premium plugin vs free? or just a version update problem?
    thanks

    Had this same problem with a client site, Subscriptions plugin was at the version cited by Claudio Sanches above has having the fix. Latest WP release, PHP 7.3.

    Client opted to use a third-party solution instead of continuing to pay an annual fee for a broken subscription plugin.

Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘Woocommerce + Woocommerce Subscriptions error in 4.7.0 update’ is closed to new replies.