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 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+02:00)

Tagged: 

This topic contains 8 replies, has 2 voices.

Last updated by Osama Mersal 1 year, 6 months ago.

Assisted by: Osama Mersal.

Author Posts
June 3, 2023 at 8:37 pm #13765059

gorM

I am trying to update duplicated form of Give WP and it's showing me critical error.

Link to a page where the issue can be seen: hidden link (with admin access on form tranlation)

I expected to see an updated form.

Instead, I got error message

Opera Snapshot_2023-06-04_003126_new.ajbever.com.png
June 5, 2023 at 8:55 am #13768185

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

I would need to look closely 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.

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

❌ Please backup your database and website ❌

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

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

June 6, 2023 at 9:26 am #13777005

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the access details. I checked the issue and tried some solutions without luck, so I created a sandbox test site to replicate the issue.

Please login to this sandbox site and try to replicate the issue. (hidden link)

If the issue is replicable, please let me know how to reproduce it.

Thanks,

June 8, 2023 at 6:34 am #13790297

gorM

I did the same step and didn't got any issue with it. But the problem still actual in my website. Please help me to fix the problem. Maybe there are needs for the server (i checked the requirements and they were okay).

June 8, 2023 at 9:09 am #13791443

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I consulted our 2nd tier support team regarding this issue, and I'll update you as soon as I get their reply.

Best regards,

June 9, 2023 at 9:31 am #13798373

gorM

Any updates? maybe something connected with the Nginx.

June 9, 2023 at 4:33 pm #13801185

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your patience. Our 2nd tier support team has found a workaround for this issue. Please check the following steps:

1- Edit the (wp-content\plugins\give\includes\database\class-give-db-meta.php) file
2- Replace the following snippet: Line 151

		if ( $this->raw_result ) {
			if ( ! ( $value = get_metadata( $this->meta_type, $id, $meta_key, false ) ) ) {
				$value = '';
			}

With

		if ( $this->raw_result ) {
			if ( ! ( $value = get_metadata( $this->meta_type, $id, $meta_key, false ) ) ) {
				$value = array();
			}

After that, please update the form in the default language and check the issue.

Best regards,

June 13, 2023 at 3:33 pm #13818857

gorM

I got another issue

ef.png
June 13, 2023 at 3:39 pm #13818897

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

This is a warning, not an error; I think it's unrelated to the translation process. However, in order to hide it, please add the following code to your wp-config file.

// Disable display of errors and warnings, which is recommended on a live site.
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors',0);

I added the code to the staging site. Please check if the translation works correctly. (hidden link)

Best regards,

The topic ‘[Closed] Tranlated Give WP form error’ is closed to new replies.