This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Error adding a new language (Europe – English)
Started by: stelS
in: English Support
Problem: Solution: define('WP_DEBUG', true); and define('WP_DEBUG_LOG', true); in your wp-config.php file, then reproduce the issue. ALTER TABLE `wp_icl_languages` ADD COLUMN `country` varchar(10) COLLATE utf8mb4_unicode_520_ci DEFAULT NULL; 4. Attempt to add the new custom language again. Please ensure you have a full backup of your website before making any changes to the database. |
|
2 | 14 | 1 year, 5 months ago | |
SVG – Wrong path on translated pages
Started by: stelS
in: English Support
Problem: // WPML Workaround for compsupp-6933<br /> add_filter('wp_get_attachment_metadata', 'wpml_compsupp6933_fix_attachment_metadata_file_path', 10, 2); function wpml_compsupp6933_fix_attachment_metadata_file_path($data, $attachment_id) { // Only apply the workaround if WPML Media and SVG Support plugins are active if( class_exists('WPML_Media') && function_exists('bodhi_svgs_generate_svg_attachment_metadata') ) { if (isset($data['file']) && !preg_match('/\d{4}\/\d{2}\//', $data['file'])) { // Get the upload directory info $upload_dir_info = wp_upload_dir(); // Extract the year and month from the basedir $year_month = date('Y/m', strtotime(get_post_field('post_date', $attachment_id))); // Prepend the year and month to the file $data['file'] = $year_month . '/' . $data['file']; } } return $data; } Please ensure that there are no errors within the file that could prevent the snippet from being saved. You can find the errata for this issue here: https://wpml.org/errata/svg-support-activating-wpml-media-strips-uploads-folders-from-svg-image-url/. If you have followed these steps and are still experiencing issues, we recommend that you open a new support ticket. You can do so by visiting the WPML support forum. |
|
2 | 10 | 1 year, 5 months ago | |
Traducción ya realizada, pero aparece como incompleta en el editor
1
2
Started by: stelS in: Soporte en español |
|
2 | 16 | 2 years, 11 months ago | |
Se han producido eliminación de traducciones en páginas ya traducidas.
Started by: stelS in: Soporte en español |
|
2 | 2 | 3 years ago |