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 24 replies, has 2 voices.

Last updated by marcelloM-2 5 months, 3 weeks ago.

Assigned support staff: Shekhar Bhandari.

Author Posts
April 17, 2019 at 9:27 pm #3634811

marcelloM-2

When I activate the plug-in as in the subject my pages return error 500.

In particular I noticed that only pages of woocommerce categories have the problem (eg hidden link)

I've already tried to raise the memory_limit value to 512 (read in another forum post), but the problem remains.

April 18, 2019 at 3:43 am #3636029

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Thank you for contacting WPML support. I'd be happy to assist you further on this issue.

It seems some php error or server error is happening when the plugin is enabled to the issue is happening, to figure out the error, could you please follow the below steps:

#1
Debugging

1. Please follow the debugging information provided here: http://wpml.org/documentation/support/debugging-wpml/
2. Repeat the action of creating the problem.
3. Copy and paste the contents of debug.log (log file inside the /wp-content/ directory) here for me to see.

#2
Contact your hosting provider and ask for the server error log.

Before performing the above steps, please once activate translation management and try to view the page with an error, so the error is logged properly.

Look forward to your reply.

Thanks

April 18, 2019 at 6:45 am #3636361

marcelloM-2

Hi. Here the debug.log:

[18-Apr-2019 06:38:16 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:38:51 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:38:58 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:39:12 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:39:26 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:39:53 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:40:21 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:40:41 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:40:49 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:41:26 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:41:44 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:41:51 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:41:57 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:42:02 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:42:13 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:42:16 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:42:33 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:42:52 UTC] PHP Warning: Error while sending QUERY packet. PID=27200 in /home/dallaiti/public_html/wp-includes/wp-db.php on line 2007
[18-Apr-2019 06:43:04 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:43:21 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:43:23 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605
[18-Apr-2019 06:43:32 UTC] PHP Notice: woocommerce_add_to_cart_hash è deprecata dalla versione 3.6.0! Utilizzare al suo posto woocommerce_cart_hash. in /home/dallaiti/public_html/wp-includes/functions.php on line 4605

April 18, 2019 at 6:46 am #3636365

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Could you also provide feedback on this?

Contact your hosting provider and ask for the server error log.

Look forward to your reply.

Thanks

April 18, 2019 at 6:59 am #3636637

marcelloM-2

This is the error log provide me from service provider

[Thu Apr 18 07:43:58.248615 2019] [:notice] [pid 29701] [client 79.62.202.48:39800] mod_hive matched URI hidden link (/home/dallaiti/public_html/wp-login.php) with match 2, referer: hidden link

April 18, 2019 at 7:00 am #3636665

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

To further debug this issue, I need to request temporary access (wp-admin and FTP) to your site in order to be of better help. You will find the needed fields for this below the comment area when you log in to leave your next reply. hidden link

This info is private and available to you and supporters only. Read more about this: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Note that:

#1
Backup (both files and database) your site before giving us your credentials. You can use a plugin for this if you like. I often use the Duplicator plugin for this purpose.
See: http://wordpress.org/plugins/duplicator/

Duplicator instruction
hidden link

#2
It would be better if you give me the test site rather than the live site.

#3
If the issues need some changes in the plugins updates/disabling we will install a plugin called “duplicator” and replicate the site in our local server for testing.

Look forward to your reply.

Thanks

April 18, 2019 at 9:58 am #3637965

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I checked the debug.log and I can see this entry

PHP Fatal error:  Class 'WC_Gateway_XPay' not found in /home/dallaiti/public_html/wp-content/plugins/cartasi-x-pay/includes/class-wc-gateway-nexi-xpay-admin-order-details.php on line 3

So, I disabled the "Nexi XPay" plugin and it seems to be working without any issues, so could you please contact their support and ask about the fatal error?

If you need any information from our side or they request for some information, I will be here to help you further.

Let me know if this helps.

Thanks

April 18, 2019 at 10:15 am #3638049

marcelloM-2

In the list of plug-ins I see that they are all active except Nexi.

But the problem arises anyway by visiting the URL hidden link

I think it was a time when my client was operating independently to try to understand the problem. Now I warned him not to touch anything until I said so.

If you disable String Management, it works.

April 18, 2019 at 10:26 am #3638271

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

In the list of plug-ins, I see that they are all active except Nexi.

I disabled it to debug the issue and since enabling it was creating issues I left it deactivated.

I can see the issue of 500 server error, to debug it further, I need you to provide a little information on the following.

On a fresh (new) installation when a category is created the category slug will look like
hidden link but on your site, it's showing as hidden link, how do you manage to create product permalinks as such?

Look forward to your reply.

Thanks

April 18, 2019 at 10:31 am #3638291

marcelloM-2

Through this plug-in https://wordpress.org/plugins/woo-permalink-manager/ which I also use regularly on other websites and for which I have never had problems.

April 18, 2019 at 12:05 pm #3639009

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Thank you for the info.

To further troubleshoot this issue, I would need to replicate your site on my localhost, so could you please provide me a backup of your wp-content (without uploads) as well as database backup so I can replicate your site on my localhost and perform further debugging.

You can zip these files and upload to google drive later to share it with me.

Enabled the private reply for you.

Thanks

April 18, 2019 at 12:23 pm #3639083

marcelloM-2

Can you use the Duplicator plug-in? Do I have to install it?

April 18, 2019 at 4:49 pm #3640899

marcelloM-2

At the moment I have deactivated WPML Translation Management in order to make the website work.

An additional note to the problem: if you deactivate the plug-in, the product descriptions are not visible (both in Italian and in English).

E.g. hidden link

Thanks again for the help

April 19, 2019 at 4:13 am #3643507

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I enabled the duplicator plugin and try to create a package but I was unable to, probably due to server issues and large site.

So could you please provide wp-content (without uploads) and database backup, so I can debug this issue further?

Look forward to your reply.

Thanks

April 19, 2019 at 6:17 am #3643681

marcelloM-2

I'll be right back. Do you have any tip on how to create a backup of database?