Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is trying to translate their website from French to English and German but encounters an error stating 'No more credits available,' despite having 90K credits. The translation process has not progressed for several days.
Solution:
1. We identified an error caused by the outdated 'Request a Quote for WooCommerce' plugin. The error message was:

Call to a member function get() on null

at

/var/www/clients/bl-incendie/wp-content/plugins/woocommerce-request-a-quote-bak/templates/quote/addify-quote-request-page.php:13

.
2. We recommended updating the 'Request a Quote for WooCommerce' plugin to the latest version to resolve this issue.
3. After updating, the translation of the page 'Demander un devis' resumed successfully. We also advised removing a duplicate of this page to avoid further complications.
4. All automatic translations have now been completed, and the client needs to review them at WPML > Translations. For efficiency, bulk options are available for applying various reviews with one click.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.

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.

Tagged: 

This topic contains 2 replies, has 0 voices.

Last updated by Andreas W. 3 months, 1 week ago.

Assisted by: Andreas W..

Author Posts
April 25, 2025 at 9:47 am #16967627

thomasD-105

Background of the issue:
I'm trying to translate my entire website, hidden link, from French to English and German. I added the credits that came with the plugin and purchased an additional 90K credits, which are still available.

Symptoms:
The pending translation hasn't progressed for several days, and I'm seeing an error message: 'No more credits available,' despite having 90K credits on the account. No pages have been translated for days.

Questions:
Why is the translation process not progressing?
Why am I receiving an error about no more credits when I still have 90K credits available?

April 25, 2025 at 6:20 pm #16969634

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Indeed, there are 90k credits available on this site.

It seems the minimum requirements on the server are not met:
https://wpml.org/en/home/minimum-requirements/

Could you please increase the WordPress memory limit (WP Memory Limit) to at least 256 MB? WPML requires at least 128 MB.
Your current values ​​are:

PHP Memory Limit 512 MB
WP Memory Limit 40 MB

To do this, you need to connect to your website's server and open the wp-config.php file in a text editor. The file is located in the WordPress root directory.

Add this code to the wp-config.php file to increase WordPress's memory:

define ('WP_MEMORY_LIMIT', '256M');

Add this just before this comment:

// That's all, stop editing! Happy blogging.

The current values ​​can be viewed under WPML > Support > WordPress.

These settings may be restricted directly by your hosting provider. Therefore, I recommend contacting them and asking them to change them directly if the changes are not applied immediately.

If this will not solve the issue, please let me know.

Best regards
Andreas

April 25, 2025 at 7:08 pm #16969789

thomasD-105

Hello,

Thanks for your reply.

I've already put this code just before posting, I checked again, I have 512 on PHP and 256 on WP. But still the same issue. When I'm not on the translation management page, if I hover the WPML icon in the wp bar i can see "X auto translation - 5m remaining", but when I go to the translation page status, it shows after a few seconds the credit error and nothing progress.

Best regards,

April 25, 2025 at 7:16 pm #16969792

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I'd be happy to offer to take a closer look.

I would like to request temporary access (wp-admin and FTP) to the website to investigate the issue further.

You can find the required fields below the comments section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.

IMPORTANT
Please be sure to back up your website and database before granting us access.
If you can't see the "wp-admin / FTP" fields, your post and website credentials will be set to "PUBLIC." DO NOT publish the data unless you see the required wp-admin / FTP fields.

The private reply form looks like this:
hidden link

Click "I still need assistance" the next time you reply.

Video:
hidden link

Please note that we are required to request this information individually on each ticket. We are not permitted to access any credentials that were not specifically submitted on this ticket using the private response form.

Best regards,
Andreas

April 25, 2025 at 7:42 pm #16969841

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

There seems to be an error caused by the "WooCommerce Request a Quote" Plugin:

[php]
Call to a member function get() on null /var/www/clients/bl-incendie/wp-content/plugins/woocommerce-request-a-quote-bak/templates/quote/addify-quote-request-page.php:13
[php]

It appears to occur when trying to translate the page "Demander un devis".

I will investigate further and keep you updated once I am able to find out what is causing this issue.

April 25, 2025 at 7:48 pm #16969848

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Your version of "Request a Quote for WooCommerce" is outdated for a long time.

I suggest you update the plugin to the latest available version and then verify if the issue persists.

At the moment I can not even translate the pages using the plugin's shortcode while using the WordPress Editor as the translation method.

April 25, 2025 at 8:20 pm #16969908

thomasD-105

I've updated it, but it looks like it's the same.

Best regards,

April 25, 2025 at 9:23 pm #16970008

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

The translation of the pages "Demander un devis" is working now.

Take note, that for some reason this page exists twice on your site (once with custom fields, once without). I would suggest removing the duplicate.

All the automatic translations are completed now and you will need to complete their reviews at WPML > Translations.

If you do not wish to go through each review you can use the bulk option to apply various reviews with one click.