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 4 replies, has 0 voices.

Last updated by Osama Mersal 2 days, 6 hours ago.

Assisted by: Osama Mersal.

Author Posts
February 14, 2025 at 7:31 am #16705080

desireeM

Background of the issue:
I am trying to create a new tag on /wp-admin/edit-tags.php

Symptoms:
PHP Error: Undefined array key "taxonomy"

from 2 places:
sitepress-multilingual-cms/classes/menu-elements/class-wpml-admin-scripts-setup.php

$admin_url = add_query_arg( 'taxonomy', esc_js( $_GET['taxonomy'] ), $admin_url );

/sitepress-multilingual-cms/menu/wpml-admin-lang-switcher.class.php

$taxonomy    = $_GET['taxonomy']

Questions:
Please fix your code

February 16, 2025 at 10:02 am #16710307

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.

First of all, sorry for the late reply; it was due to a higher workload.

1) Please log in to this hidden link">sandbox site and replicate the issue. If it is reproducible, please let me know how to reproduce it so I can check it and consult our second-tier support team.

2) Could you please share your Debug information with me?
You can read a detailed explanation about it here. (http://wpml.org/faq/provide-debug-information-faster-support)
The debug info will give me much information about how your site is configured.

Best regards,
Osama

February 16, 2025 at 10:16 am #16710342

desireeM

I already did, your idiotic pre-ticket form completely rewrites the input and removes relevant info.

Just open /wp-admin/edit-tags.php then you'll get that notice in PHP error log
Using PHP 8.3, all WPML plugins latest version

February 16, 2025 at 10:54 am #16710416

Osama Mersal
Supporter

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

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

Hi,

Thanks for your reply. I was able to replicate the issue on my local server. I noticed that this warning doesn't appear when you visit (wp-admin/edit-tags.php?taxonomy=post_tag) but appears when you visit (wp-admin/edit-tags.php).

However, I consulted our 2nd tier support team, and I'll update you as soon as they reply.

Best regards,
Osama

February 17, 2025 at 3:13 pm #16715278

Osama Mersal
Supporter

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

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

Hi,

The issue has been escalated to our Dev team.

Best regards,
Osama