500 Internal Server Error when trying to upload WPML CMS locally

What issue or error are you experiencing?

Hi,
I downloaded successfully locally all WPML add-ons. But when I try to upload WPML Multilingual CMS
This specific website has not been pushed live yet

I get the following message:

"500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log"

I also noticed that, on the WPML account, the website I am building has been automatically added as website with WPML development site key (since a couple of weeks only)

the site with the WPML dev key has a similar URL to the one below:
http://devsite.local

I did not get the option to create a WPML key yet though from WP backend so I am not sure how it was created

System Details

  • Local Version:
    Version 7.2.1+6433

  • Operating System (OS) and OS version:

Microsoft Windows 10 Home

Local’s logs

2023/10/04 04:21:15 [warn] 10728#10184: *14 a client request body is buffered to a temporary file …\Local\run\router\nginx/temp/client_body_temp/0000000001, client: ::1, server: devsite.local, request: “POST /wp-admin/update.php?action=upload-plugin HTTP/1.1”, host: “devsite.local”, referrer: “http://devsite.local/wp-admin/plugin-install.php”

How do I fix it?

Hi @Leta

Based on the single error you shared it’s like something is interfering with Local.

Do you have any antivirus, security, or firewall applications that could be blocking Local?

More details about troubleshooting this here: Router Mode

Are you running other developer applications simultaneously? That could also cause similar issues. Apps like MAMP, XAMPP, or Docker for example.

If you’re still having issues can you share your full local log? There are some different ways to access and share Local Logs. For us to be able to troubleshoot thoroughly, please click the Download Local Logs button from the Support tab in Local. This will generate a zip archive that contains the Local log along with some other diagnostic information to help quickly zero in on any issues that Local is encountering.

If you change your Router Mode to Localhost are you able to proceed? Preferences>Advanced>Router Mode>Localhost

As a test are you able to upload any other plugins without issue?

@Nick-B changing to localhost made no difference

I fixed it by opening the zip folder of WPML CMS plugin and uploading it into wp-content/plugins :partying_face:

1 Like

Thank you for the update @Leta! :green_heart: