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.

Our next available supporter will start replying to tickets in about 0.59 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

Supporter timezone: Asia/Kathmandu (GMT+05:45)

Tagged: 

This topic contains 42 replies, has 3 voices.

Last updated by coinQ 22 hours, 35 minutes ago.

Assisted by: Shekhar Bhandari.

Author Posts
September 19, 2024 at 1:02 pm #16198899

coinQ

Hello Andreas,

Thank you for your response and for the detailed recommendation.

Currently, we are not using any specific templates for categories and tags. We use archive.php as a common template for all the taxonomies on the website. I would like to get your opinion on using a common tag template (tag.php) instead of a "tag-slug.php" template for a specific term. We chose a common archive template because the design is similar for all listing pages.

If you think creating a common tag template (tag.php) for all tags would be beneficial, we are open to proceeding in that direction. However, creating separate tag-archive templates for each individual tag is not feasible since we have more than 500 tags in English alone. Could you please share your thoughts on this approach?

In the meantime, we will look into implementing the tag.php template and observe the results.

Looking forward to your feedback.

Best regards,
Vimal Roy

September 19, 2024 at 11:37 pm #16200932

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

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

Hello Vimal,

Thank you for your answer!

I believe a common tag template would be ideal for testing. If all templates are identical, then there should be no need to create specific templates for each tag.

I really hope that this suggestion can solve the issue.

Let us know if further assistance is needed.

Best regards
Andreas

September 20, 2024 at 8:48 am #16201679

coinQ

Hello Andreas,

Thank you for your response and for confirming the approach.

We will proceed with implementing a common tag template (`tag.php`) and will monitor the results. I appreciate your suggestions, and I hope this resolves the issue as well.

In addition, I have noticed a 500 response in the access logs, and I investigated the issue further by checking both the Apache error log and Redis errors. Below are the relevant errors for your review:

Access Log:-
162.158.158.236 - - [19/Sep/2024:10:16:22 +0000] "GET /wp-json/wpml/tm/v1/ate/jobs/receive/45677 HTTP/1.1" 500 3243 "-" "rest-client/2.1.0 (linux-gnu x86_64) ruby/2.7.1p83"

Apache Error Log:-
[Thu Sep 19 10:26:24.914289 2024] [proxy_fcgi:error] [pid 3005015:tid 127717406148288] [client 172.70.110.220:27296] AH01071: Got error 'PHP message: PHP Warning: Undefined array key 0 in /var/www/html/wp-content/plugins/wpml-media-translation/classes/class-wpml-media-attachment-by-url-query.php on line 99;

Multiple similar warnings appear regarding undefined array keys in WPML Media Translation.

Additionally, I’ve attached the Redis error logs for your reference.

Could you please confirm if you've had a chance to check the Redis object cache issue that I mentioned earlier? It seems that we are facing problems due to too many requests from the WPML plugin, which is affecting the Redis object cache performance. If you need any further details or additional logs, feel free to let me know.

ISSUES :- hidden link

Best regards,
Vimal Roy