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: Asia/Yerevan (GMT+04:00)

Tagged: 

This topic contains 8 replies, has 2 voices.

Last updated by Christopher Amirian 4 months, 1 week ago.

Assisted by: Christopher Amirian.

Author Posts
December 16, 2023 at 7:55 am

klausE-8

Fatal error: Uncaught WpOrgRequestsExceptionInvalidArgument: WpOrgRequestsCookie::__construct(): Argument #1 ($name) must be of type string, integer given in public_html/staging3/wp-includes/Requests/src/Exception/InvalidArgument.php:29 Stack trace: #0

December 16, 2023 at 8:36 am
December 16, 2023 at 8:42 am #15076763

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

I wonder if you have a specific code in wp-config.php regarding handling cookies?

If yes would you please remove that and see if the plugin works in the original state?

Thanks.

December 16, 2023 at 9:04 am #15076775

klausE-8

I don't have any cookie specific code in wp-config.php.

I also changed the status.php on my life website, but it doesn't work. Can we chat again?

December 16, 2023 at 1:00 pm #15077303

klausE-8

Now, also on the staging site, where you made the changes and where it worked temporarily, the error occures again. Without any changes on the site.

December 16, 2023 at 1:59 pm
December 16, 2023 at 2:21 pm
December 16, 2023 at 2:56 pm #15077529

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

I accessed the live website and I see that you added the fix correctly and the website works ok and I have access to dashboard and WPML is enabled.

Thanks.

Screenshot 2023-12-16 at 18.56.00.png
December 16, 2023 at 3:10 pm #15077565

klausE-8

Now, I have also access to the dashboard. Strange. Maybe there were some caching issues.

December 17, 2023 at 6:58 am #15078413

klausE-8

Now it's getting even stranger. Today morning I tried to login to the backend - again I got the same error.
Then I tried to login with a different account and I worked. Afterwards, it also worked again with my original account.

December 17, 2023 at 7:54 am #15078433

klausE-8

During I made some translations, I again got the error with my account. I again logged in with a different account, and it worked again.

December 18, 2023 at 2:37 pm #15085189

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

This needs to be investigated. I'd appreciate it if you could follow the steps mentioned din the hidden message below to copy your website to our server for further investigation:

https://wpml.org/forums/topic/fatal-error-uncaught-wporgrequestsexceptioninvalidargument-wporgrequestscookie__construct/#post-15077393

Thanks.

The topic ‘[Closed] Fatal error: Uncaught WpOrgRequestsExceptionInvalidArgument: WpOrgRequestsCookie::__construct():’ is closed to new replies.