Dieser Benutzer hat keine favorisierten Themen.
Favorisierte Forenthemen
Erstellte Forenthemen
Status |
Thema
|
Supporter | Stimmen | Beiträge | Aktualität |
---|---|---|---|---|---|
Error when viewing WC subscription related orders
1
2
Gestartet von: janv-75
in: English Support
Problem: When trying to view related orders for a WC subscription, a fatal error occurs due to an issue with the WPML Multilingual CMS plugin. Solution: As a temporary workaround, modify the wcs_get_edit_post_link function in the wcs-helper-functions.php file located in the wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/ directory. Change the function as follows: From: function wcs_get_edit_post_link( $post_id ) { $object = wc_get_order( $post_id ); // works for both WC Order and WC Subscription objects. if ( ! $object || ! in_array( $object->get_type(), array( 'shop_order', 'shop_subscription' ), true ) ) { return; } return apply_filters( 'get_edit_post_link', $object->get_edit_order_url(), $post_id, '' ); } To: function wcs_get_edit_post_link( $post_id ) { if ($post_id instanceof('WC_Subscription')){ $post_id = $post_id->id; } $object = wc_get_order( $post_id ); // works for both WC Order and WC Subscription objects. if ( ! $object || ! in_array( $object->get_type(), array( 'shop_order', 'shop_subscription' ), true ) ) { return; } return apply_filters( 'get_edit_post_link', $object->get_edit_order_url(), $post_id, '' ); } The permanent fix for this issue is included in the newer versions of WPML and WooCommerce Subscriptions. So please update to the latest versions of the plugins after a full site backup. If this solution does not resolve your issue or seems irrelevant due to updates or different circumstances, we recommend opening a new support ticket. Also, check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at WPML support forum. |
|
3 | 21 | Vor 6 Tage, 12 Stunden | |
Issue with subscription renewal order
1
2
Gestartet von: janv-75 in: English Support |
|
2 | 16 | Vor 2 Jahren, 3 Monaten | |
WPML chat support ticket by janv-75 – 1681914407
Gestartet von: janv-75 in: Chat Support |
|
1 | 2 |
Vor 2 Jahren, 4 Monaten
|
|
WPML subscription switch between translations
1
2
Gestartet von: janv-75 in: English Support |
|
2 | 19 | Vor 2 Jahren, 6 Monaten | |
Issue with Woocommerce Subscriptions
Gestartet von: janv-75 in: Chat Support |
|
1 | 2 |
Vor 2 Jahren, 7 Monaten
|
|
WC Emails slugs are not translated correctly
1
2
Gestartet von: janv-75 in: English Support |
|
3 | 30 | Vor 2 Jahren, 11 Monaten | |
Translate WooCommerce Subscriptions string
Gestartet von: janv-75 in: Chat Support |
|
1 | 2 |
Vor 3 Jahren
|