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.

This topic contains 19 replies, has 2 voices.

Last updated by louisN-4 1 year, 9 months ago.

Assisted by: Kor.

Author Posts
April 11, 2023 at 10:41 am #13444301

louisN-4

i saw several people with the same issue, but no one example

we do use pricing rounding

A. https://wpml.org/forums/topic/trying-to-access-array-offset-on-value-of-type-null-2/
B. https://wpml.org/forums/topic/trying-to-access-array-offset-on-value-of-type-null/

THESE ARE MY WARNINGS

[11-Apr-2023 00:54:28 UTC] PHP Notice: Trying to access array offset on value of type null in /home/kidenoad/domains/kideno.com/public_html/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency-prices.php on line 421
[11-Apr-2023 00:54:28 UTC] PHP Notice: Trying to access array offset on value of type null in /home/kidenoad/domains/kideno.com/public_html/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency-prices.php on line 423
[11-Apr-2023 00:54:28 UTC] PHP Notice: Trying to access array offset on value of type null in /home/kidenoad/domains/kideno.com/public_html/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency-prices.php on line 427
[11-Apr-2023 00:54:28 UTC] PHP Notice: Trying to access array offset on value of type null in /home/kidenoad/domains/kideno.com/public_html/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency-prices.php on line 444
[11-Apr-2023 00:54:28 UTC] PHP Notice: Trying to access array offset on value of type null in /home/kidenoad/domains/kideno.com/public_html/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency-prices.php on line 448

April 11, 2023 at 10:42 am #13444303

louisN-4

could it be that this notice appears when i translate posts?

https://wpml.org/forums/topic/warning-trying-to-access-array-offset-on-value-of-type-nul/

April 12, 2023 at 6:11 am #13452167

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for contacting WPML support.

I've checked your debug information and I could see outdated WPML plugins. Kindly navigate to WP > Plugins > Add New > Commercial Tab > Update all WPML plugins that are outdated.

You might need to click on the "Check For Updates" buttons a few times so that it shows the correct version.

Once you've done that, check and see if the errors are still there.

Thanks!

Kor

April 12, 2023 at 7:45 am #13452721

louisN-4

i have updated it

do you want to enter our admin and check what it happens?

it looks as if it happened when we import new products

what could ignite it?

April 12, 2023 at 8:27 am #13452987

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for your reply.

I would need to take a closer look at your site. So I would need to request temporary access (WP-Admin and FTP) preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed

IMPORTANT: Please, note, a backup is required for security reasons, and to avoid any data loss, you can use the https://wordpress.org/plugins/updraftplus/plugin for these backup needs.

Your following answer will be private, which means only you and I have access to it.

✙ I would need your permission to de-activate and re-activate Plugins and the Theme and to change configurations on the site if required. This is also a reason the backup is critical.

Thanks!

Kor

April 12, 2023 at 2:22 pm #13456741

louisN-4

before we continue, with your DEFAULT UPDATE PLUGINS Comment

you ruined my ability to manually automatic translate

where did it move in the new version, because before, i would click on tools after i moved the items to job from bucket

and now i don't see automatic translation that i need to mark, only that my site is connected and the translation engines, but i am unable to select what to translate

April 12, 2023 at 2:31 pm #13456799

louisN-4

I HAVE FIGURED THE ISSUE AND YOU MUST SOLVE THIS BUG - ASAP

since your new language, you only allow to automatic translate from my main laguage (hebrew)
but the post i have created is in english, and i need to translate from it

this is something new, it wasn't in previous versions

I NEED THIS RESOLVED ASAP, ITS ONLY BECAUSE YOU TOLD ME TO UPDATE THE PLUGIN

- Yesterday i could automatic translate from english to all other languages, only because you told me to update like a robot, like it solves everything, now i can't translate things

I NEED THIS SOLVED ASAP, IT STUCK OUR SITE BECAUSE OF YOUR DOINGS

Untitled.png
April 12, 2023 at 2:35 pm #13456853

louisN-4

I AM FURIOUS WE CAN'T TRANSLATE ANYTHING NOW MADE IN ENGLISH BECAUSE OF YOU

and don't tell me to change main language

you need to report this to WPML 2nd tier support and have them release a version ASAP

or tell me how to bypass this stupid addition by wpml

April 12, 2023 at 3:10 pm #13457143

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for your reply.

I'm sorry to hear about the issues. It is advisable to always keep all your plugins and themes updated for security purposes.

Correct, Automatic Translation works when the content is created in the default language. (Kindly check this hidden link)

Our ATE team is working on making Automatic Translation works from any language to any language, but this feature is in the development phase.

If you need to translate other languages automatically, Please click the "+" icon to translate the page/post, and click the "Automatic Translation" button inside the translation editor. (hidden link)

Also, if it's urgent that you need to work on the site and can't wait for us to troubleshoot your Website, try contacting your hosting provider and ask them to restore the site to an earlier date.

If the suggestion above is not working, please share your Website WP admin access here in a private reply and I'll check on it.

Your following answer will be private, which means only you and I have access to it.

Thanks!

Kor

April 12, 2023 at 3:18 pm #13457189

louisN-4

"Our ATE team is working on making Automatic Translation works from any language to any language, but this feature is in the development phase."

MAN until this morning i could automatic translate from any language to any other language,

why did your development team ruin this feature in the last version you asked me to upgrade to

April 12, 2023 at 3:24 pm #13457245

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for your reply.

Sorry about that, as I've mentioned, you need to keep all your plugins and themes updated for security purposes. Also, you were complaining about the "PHP Warning" message so updating would be your best option to fix it.

However, I could see that you're using the older version earlier which is 4.5.14 and it's downloadable here https://wpml.org/download/wpml-multilingual-cms/?section=changelog .

If you wish to downgrade, please perform a full backup before you proceed.

Have you tried the method that I shared above?

If you need to translate other languages automatically, Please click the "+" icon to translate the page/post, and click the "Automatic Translation" button inside the translation editor. (hidden link;

Thanks!

Kor

April 12, 2023 at 3:27 pm #13457247

louisN-4

I am doing now the trick of + and it works

but i still question, why on gods earth, would your development ruin a working feature?

April 12, 2023 at 3:30 pm #13457263

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for your reply.

Glad to hear that the method works for you. The feature is not ruined, they are actually working on it, and soon the option to translate content from a secondary language will be available.

Is there anything else that you need help with?

Thanks!

Kor

April 12, 2023 at 10:03 pm #13460027

louisN-4

can you please open a private box, so i can give you admin to check the first thing i asked you?

POTENTIALLY its related to importing new products, but i need you to tell me

PHP Notice: Trying to access array offset on value of type null in /home/kidenoad/domains/kideno.com/public_html/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency-prices.php on line 421

April 13, 2023 at 5:31 am #13461409

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for your reply.

Yes, I've opened a private reply option for you. Also, please tell me where I can see the PHP Notice: Trying to access array offset on value of type null in error message.

Thanks!

Kor