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
- 6:00 – 12:00 8:00 – 12:00 6:00 – 12:00 8:00 – 12:00 6:00 – 12:00 -
- 13:00 – 15:00 13:00 – 17:00 13:00 – 15:00 13:00 – 17:00 13:00 – 15:00 -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 7 replies, has 2 voices.

Last updated by Nicolas V. 1 year, 3 months ago.

Assisted by: Nicolas V..

Author Posts
March 14, 2024 at 3:16 pm #15411053

danielC-168

I can't unregister a former development site now that it has gone live. I've tried to click the link that takes me to that page in the WordPress CMS, but I get a sorry not allowed page. I've tried resetting permissions for the user and created a new admin user to no avail... can you help?

The old site was: hidden link and the new site is hidden link

March 14, 2024 at 3:52 pm #15411333

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

Welcome to the WPML support forum. Can you have a look at this documentation: https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/using-advanced-translation-editor-when-you-move-or-use-a-copy-of-your-site/

When you migrated the site from DEV to PROD did you choose "This is a copy" or "I changed the address"?

If you choose "I changed the address", then WPML will be deactivated on the DEV site.

I've tried to click the link that takes me to that page in the WordPress CMS

Can you explain this part? I'm not sure to understand what you did.

March 14, 2024 at 4:03 pm #15411426

danielC-168

I chose "I changed the address" but this did not switch it to be a production site - I still get the red development tab in the admin and also the blue banner on the front end.

I then went to your help section and followed a guide on how to de-register a site as the former did not work.... This said to go to the plugins list and click on the 'Registered' link to get to the screen where I could do that.... When clicking on this, I get the permissions error.

March 15, 2024 at 12:17 am #15412526

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hi,

Can you try the following:
- Go to "Plugins > Add new > Commercial (that a tab)"
- Click "Unregister WPML"
- This button will change to "Register site", click it again to register a new key

Ref: https://wpml.org/faq/how-to-remove-the-this-site-is-registered-on-wpml-org-as-a-development-site-notice/

If the permissions issue persist, check if your WPML menu is complete. If some elements are missing it means that some permissions are missing. In that case do the following:

- Add the code below into the functions.php file inside your active theme folder
- Visit your homepage (frontend)
- Remove the code from the functions.php file and see if anything changed in the backend

function wpmlsupp_1706_reset_wpml_capabilities() {
    if ( function_exists( 'icl_enable_capabilities' ) ) {
        icl_enable_capabilities();
    }
}
add_action( 'shutdown', 'wpmlsupp_1706_reset_wpml_capabilities' );
March 15, 2024 at 7:21 am #15412780

danielC-168

Hi,

I've already mentioned that I can not access the 'Commercial' tab. It says I do not have permission. the code that you sent also does not work...

Please escalate this.

March 15, 2024 at 1:50 pm #15414679

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

In that case, could you please provide me with a temporary admin access (wp-admin and FTP) – so I can further investigate. I will activate a private field for your next answer where you can provide that information safely (this field is only visible by you and the support team). Don't share your own admin account, create a new one that you will delete when we finish troubleshooting.

IMPORTANT: Before we proceed, please backup your site and database.

March 15, 2024 at 1:59 pm #15414693

danielC-168

I can not provide you with FTP access to a Production site unfortunately. We have CI/CD pipelines that are linked to automatic deployments.

You'll have to propose an alternative solution i'm afraid.

I'm incredibly disappointed with the attention to detail level on this ticket, as I've mentioned before please escalate this ticket.

March 15, 2024 at 7:46 pm #15415944

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

I understand your frustration, and I appreciate your patience. I'd like to clarify a few points to ensure we're on the same page:
- Clicking the "registered" button in the plugins section is different than the commercial tab. So we had to try that.
- If the issue was related to WPML permissions, the code provided should reset those permissions.
- Following our policy, I can't escalate a case without accessing the site to run a few troubleshooting options and debugging steps.
- This issue seems to be specific to your site (I couldn't find any recent similar tickets). Please understand that if the issue is specific to your site, we need to access it in order to investigate.
- We won't do any significant change on your site without your authorization

Once I have a precise report on the issue I will be able to escalate the information.

Having said that,
-You can try to change the type of Key (from dev to prod) in your WPML account (https://wpml.org/faq/how-to-remove-the-this-site-is-registered-on-wpml-org-as-a-development-site-notice/)
That could solve the "development banner" on the frontend for now but it won't solve the permission issue.
- You can also try to reproduce the permission issue on a staging copy and provide us access to that copy instead. That way we will be able to run even further tests like conflict with third party plugin or themes. So that's even a better alternative.

The topic ‘[Closed] can't unregister a former development site’ is closed to new replies.