MutationDigitale / craft3-translate

Craft CMS plugin for static translations in CP
Other
12 stars 7 forks source link

Issue Report: Translation Plugin Not Generating Tables for a Specific Category #66

Open devmansky opened 2 weeks ago

devmansky commented 2 weeks ago

Description:

We are experiencing an issue with the translation plugin when used in combination with categories. For one specific category, the plugin does not generate the table to insert the translations for different languages. This issue only occurs on our live environment. On both our stage and local environments, the plugin works as expected and generates the necessary tables. Additionally, when the "Export Translations to PHP" button is clicked on the live environment, a 500 error occurs.

Environment Details:

Craft Version: 4.5.11.1 PHP Version: 8.3.7 Database: MariaDB 10.03.29 Translations Plugin Version: 3.0.4

Thank you for your support. Live: live-environment

Stage: stage-environment

christophpaster commented 1 week ago

Chiming in as the Projectmananger on this project — was it already possible to have a first look into this? (we're eager to use this on the live-installation of the project). Thank you!

smcyr commented 2 days ago

Hi @devmansky, do you see an error in the logs? Can you replicate the error locally if you use the database dump from production? Do you see the tables "message" and "source_message"? If possible, could you send a database dump with your project config and composer.lock/composer.json to support@mutation.io? Thanks

steve-p96 commented 1 day ago

Hello @smcyr! Thanks for your answer (:

I can't find anything related to that in the log files. I replicated the issue locally with a database dump from production. Using the database from production, I get the translations as they are on stage, except that there are 18,000 entries. This is somewhat strange because it adds every submission marked as spam as a key, but that's probably a different topic. I have the tables "message" and "source_message," which are full of entries.

I will send you the rest per mail!