Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem: When I try usual procedure - click "+" after which normally WPML site opens up, in case of the events, the fatal error comes up:

Fatal error: Uncaught InvalidArgumentException: Argument ID must be numeric and greater than 0

Solution: We've updated The Events Calendar plugin, and then we realized that the problem was only occurring with old events, the new events didn’t present any issues to be translated. So in order to solve the issue, we created translation records on the database for the events that have been already built.

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 3 voices.

Last updated by harunk-2 2 months, 1 week ago.

Assigned support staff: Mateus Getulio.

Author Posts
March 29, 2021 at 6:51 pm #8424969

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello Hanna,

Thank you so much for the credentials and the patience.

In order to inspect this issue more accurately, we'll need to check the HTTP server logs, considering there is a 500 server failure on the console tab of the error page. While we continue to investigate this, could you please get in touch with your hosting company and ask them to provide you with the HTTP logs of today, March 29th?

This is probably going to be a huge text, so instead of pasting it in the ticket as plain text, please add to a text snippet like https://pastebin.com/ and send us the link where we can see those logs. Or place the log in the server and tell us the path where it’s located.

Please review this with them and let us know the results of the investigation.

Kind regards,
Mateus.

March 29, 2021 at 7:58 pm #8425385

hannal-4

I have downloaded them and can send you the zip file - I somehow cannot open it, can I wetransfer it? if so, to which email?

March 29, 2021 at 8:00 pm #8425393

hannal-4

You can also download it from kei.pl, you have credentials, if the language is a problem, here is what you are looking for:

Screenshot 2021-03-29 at 21.59.04.png
Screenshot 2021-03-29 at 21.58.35.png
March 29, 2021 at 9:08 pm #8425757

hannal-4

/I have tried with pastebin but "You have exceeded the maximum paste size of 512 kilobytes per paste."

yeaaa, we are training patience here ;)))))

March 29, 2021 at 11:30 pm #8426005

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Thank you very much for providing us with that log, it's going to be super helpful.

We've been able to download it and we forwarded that to our senior supporters specialists to help us identify what's causing this bug.

We'll give you an update very briefly.

Best regards,

Mateus

March 31, 2021 at 4:18 pm #8442779

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi Hanna,

Sorry about all the back and forth with this issue. I appreciate your patience.

We've updated The Events Calendar plugin, and then we realized that the problem was only occurring with old events, the new events didn’t present any issues to be translated. So in order to solve the issue, we created translation records on the database for the events that have been already built.

Now everything seems to be working. Could you please check if it is resolved on your end?

Thanks, have a great day,
Mateus.

April 3, 2021 at 2:01 pm #8460125

hannal-4

Hey, thanks for help! All works now - ufffff!!!! /sorry for delayed option, covid around made delays in everything... Anyway, just 1 more question - I got 6 e-mails with code titled "Job waiting for a translator in Yeshe, szkoła masażu tajskiego" - shall I do anything about them?

April 5, 2021 at 2:50 pm #8467393

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Glad that you were able to resolve this.

Please disregard the emails you received, they were sent because when we were applying the workaround we had to sent those events for translation which triggers an alert email, it's safe to ignore them.

I hope we are good to close here.

Feel free to contact us any time if you need assistance with our products.

Kind regards

April 10, 2021 at 5:15 pm #8507197

harunk-2

Hello, I have same problem. I did what you sad or write but my problem is still there. what should I do ?

I tried all ways you sad but ddid not work

error.png
April 10, 2021 at 5:18 pm #8507199

harunk-2

I added error information

error.png