Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 3 replies, has 2 voices.

Last updated by Mateus Getulio 9 months, 3 weeks ago.

Assisted by: Mateus Getulio.

Author Posts
May 2, 2024 at 12:55 pm

lauraN-2

Hi Mateus

We just installed the plugin called: YITH Pre-Order for WooCommerce Premium.

After that the category page got an critical issue

Deactivating YITH Pre-Order for WooCommerce Premium was not helping

But deactivating WooCommerce Multilingual & Multicurrency solved the critical issue.

May 2, 2024 at 1:40 pm
May 3, 2024 at 11:58 am #15591262

lauraN-2

This issue is urgent! checkout pages in other languages don't work anymore so webshop is losing revenue now.

May 3, 2024 at 12:26 pm #15591337

lauraN-2

Conflict is between:

WooCommerce Multilingual & Multicurrency and Product Filter by WBW. We now deactivated the product filter and the WPML plugin works again. In debug.log I see the following error. How to solve?

03-May-2024 12:10:59 UTC] PHP Fatal error: Uncaught Error: Call to a member function raw_price_filter() on null in /home/simracewebshop/simracewebshop.com/public/wp-content/plugins/woocommerce-multilingual/inc/wcml-core-functions.php:110
Stack trace:
#0 /home/simracewebshop/simracewebshop.com/public/wp-content/plugins/woo-product-filter/modules/woofilters/mod.php(2204): wcml_convert_price()
#1 /home/simracewebshop/simracewebshop.com/public/wp-content/plugins/woo-product-filter/modules/woofilters/views/woofilters.php(2667): WoofiltersWpf->getCurrencyPrice()
#2 /home/simracewebshop/simracewebshop.com/public/wp-content/plugins/woo-product-filter/modules/woofilters/mod.php(3596): WoofiltersViewWpf->wpfGetFilteredPriceFromProductList()
#3 /home/simracewebshop/simracewebshop.com/public/wp-content/plugins/woo-product-filter/modules/woofilters/mod.php(3050): WoofiltersWpf->getExistsMore()
#4 /home/simracewebshop/simracewebshop.com/public/wp-content/plugins/woo-product-filter/modules/woofilters/views/woofilters.php(425): WoofiltersWpf->getFilterExistsItems()
#5 /home/simracewebshop/simracewebshop.com/public/wp-content/plugins/woo-product-filter/modules/woofilters/views/woofilters.php(664): WoofiltersViewWpf->setFilterExistsItems()
#6 /home/simracewebshop/simracewebshop.com/public/wp-content/plugins/woo-product-filter/modules/woofilters/views/woofilters.php(233): WoofiltersViewWpf->generateFiltersHtml()
#7 /home/simracewebshop/simracewebshop.com/public/wp-content/plugins/woo-product-filter/modules/woofilters/mod.php(2336): WoofiltersViewWpf->renderHtml()
#8 /home/simracewebshop/simracewebshop.com/public/wp-includes/shortcodes.php(433): WoofiltersWpf->render()

May 3, 2024 at 1:43 pm #15591634

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

Thank you for providing us with that information.

Please edit the filter [wpf-filters id=4] and temporarily remove the price filter.

That should allow you to temporarily use the filter although the price range will be missing.

I checked it and the plugin Product Filter by WBW doesn't appear in the compatible list:

https://wpml.org/plugin/?wpv_view_count=120064&wpv-plugin-functionality=0&wpv_post_search=Product+Filter+by+WBW&wpv-wpcf-recommendation-flag=&wpv_filter_submit=Search

It doesn't mean it is necessarily incompatible, only that it has not been tested with WPML. If possible, please reach out to the plugin's author and ask them to join our go global program so we can test and include this plugin in our compatible list: https://wpml.org/documentation/support/go-global-program/

Also, since the issue seems to be related to compatibility between Product Filter by WBW and WPML. To pinpoint the exact cause, we need to isolate variables by replicating the issue in a sandbox environment:

Login link:
hidden link

Here's what is needed to be done:

1- Install Essential Components Only: In the sandbox provided above, please install your theme and only the plugins necessary to replicate the issue. Avoid importing the entire site.

2- Set Up the Page and Configurations: Mirror your current setup that's causing the issue, focusing on the dynamic text, we only need the site to be partially replicated up to a point where we can debug this issue.

3- Notify Us Once Done: After replicating the issue in the sandbox, inform us through this ticket so we can proceed with further analysis.

The goal here is to identify if the problem is indeed a compatibility issue, reproducing it in a controlled environment.

We appreciate your cooperation in this matter. Let us know once you've set up the sandbox.

Best,

Mateus

The topic ‘[Closed] Fatal error on category page’ is closed to new replies.