Questo utente non ha argomenti preferiti.
Argomenti preferiti del forum
Argomenti del forum creati
| Stato |
Argomento
|
Supporter | Voci | Post | Freschezza |
|---|---|---|---|---|---|
|
wpml installation on a subside give critical error
Iniziato da: fulviaL
in: English Support
Problem: AddTranslationManagerCapToAdmin.php file. The client should change the code from: get_role('administrator')->add_cap(User::CAP_MANAGE_TRANSLATIONS);to: if(get_role('administrator') != NULL){ get_role('administrator')->add_cap(User::CAP_MANAGE_TRANSLATIONS); }This modification checks if the 'administrator' role exists before attempting to add capabilities, preventing the error. If this solution does not resolve the issue or seems irrelevant due to updates or different circumstances, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket at WPML support forum for further assistance. |
|
2 | 16 | 1 anno, 6 mese fa | |
|
critical errors after activation
Iniziato da: fulviaL in: Chat Support |
|
1 | 2 |
1 anno, 6 mese fa
|
|
|
fatal error
Iniziato da: fulviaL
in: English Support
Problem: add_cap() on null within the WPML plugin's upgrade script. Solution: wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/commands/AddTranslationManagerCapToAdmin.php . get_role( 'administrator' )->add_cap( User::CAP_MANAGE_TRANSLATIONS ); 3. Replace it with the following code to check if the administrator role exists before attempting to add capabilities:
if(get_role( 'administrator' )!= NULL){
get_role( 'administrator' )->add_cap( User::CAP_MANAGE_TRANSLATIONS );
}
4. Save the changes. Please note that this solution might be outdated or not applicable to your case. If the issue persists, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you need further assistance, please open a new support ticket. |
|
3 | 14 | 1 anno, 10 mese fa | |
|
problemi con la registrazione delle traduzioni su alcune pagine
Iniziato da: fulviaL in: English Support |
|
2 | 2 | 3 anno, 3 mese fa | |
|
WPML chat support ticket by fulviaL – 1664355102
Iniziato da: fulviaL in: Chat Support |
|
1 | 1 |
3 anno, 3 mese fa
|
|
|
problemi con form nelle pagine tradotte
1
2
Iniziato da: fulviaL in: Assistenza in italiano |
|
3 | 17 |
3 anno, 6 mese fa
fulviaL |
|
|
alcune pagine non prendono le traduzioni seppur completate e salvate
Iniziato da: fulviaL in: Assistenza in italiano |
|
2 | 6 | 3 anno, 6 mese fa | |
|
traduzione di testo creato con DIVI e multi-view option
Iniziato da: fulviaL in: Assistenza in italiano |
|
2 | 5 | 4 anno, 2 mese fa |