Hi - we've been getting a lot of error like this on our client's site:
[error] 97426#97426: *216633 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught ArgumentCountError: 52 arguments are required, 2 given in /www/sanctions_316/public/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php:128
Seems to happen 20 times a day or so. Any way of fixing it?
Hello - we were still getting these errors yesterday, after downgrading to PHP 8.3 as advised by you.
2026.04.16. 18:40:02
[error] 55606#55606: *303907 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught ArgumentCountError: 52 arguments are required, 2 given in /www/sanctions_316/public/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php:128
2026.04.16. 18:33:32
[error] 55606#55606: *303472 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught ArgumentCountError: 52 arguments are required, 2 given in /www/sanctions_316/public/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php:128
2026.04.16. 18:32:35
[error] 55606#55606: *303401 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught ArgumentCountError: 52 arguments are required, 2 given in /www/sanctions_316/public/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php:128
To get a better understanding, I suggest sharing a backup of your wp-content folder and your database. You can zip the files and send them to me via Google Drive. With these, I can set up a local copy of your site and take a closer look at the issue.
Thank you for your cooperation so far — we really appreciate your willingness to help us investigate this further.
After reviewing the situation with our second-tier team, it appears that this issue is not affecting other users. This suggests that there may be something specific within your site setup that is triggering the problem.
To help us move this forward (and involve our development team if needed), we’ll need a few concrete examples of the strings or values that are causing the error.
Could you please assist us by capturing and sharing those problem strings? To make this easier, we recommend temporarily updating your code to log the relevant values when the error occurs. You can use the following modification:
This will log the specific file path patterns that trigger the error, which will be extremely helpful for our investigation.
Once you have a few examples from the logs, please share them with us. With that information, we’ll be in a much better position to escalate this to our developers if required.