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.

This topic contains 48 replies, has 3 voices.

Last updated by Marcos Vinicios Barreto 1 month, 3 weeks ago.

Assigned support staff: Marcos Vinicios Barreto.

Author Posts
June 13, 2019 at 4:06 pm #4015553

henrikS-13

I am trying to update a portfolio post in any site language without getting a 404 redirect error immediately after updating/previewing the post.

The website of MOE A/S is made in WordPress utilizing the Avada theme as well as the WPML Multilingual CMS plugin for configuring three languages Danish (which is default), Norwegian and English.
The website is making use of pages, blogs and portfolio posts. And we are experiencing a rather specific problem when editing portfolio post with Norwegian or English selected: clicking the Preview or Update buttons will cause an immediate 404 redirect error for the URL of any portfolio post on the site, Danish, English or Norwegian. The 404 redirect error then disappears automatically within a couple of minutes and the Portfolio URLs will be responding correctly again.

I have no idea of what is going on and what triggers these intermediary changes and I don't see any errors concerning the 404 error in the debug log.
It would be great if you could look into this issue or perhaps propose a workaround or where to look for the cause of this consistent error. If you find it necessary I can arrange that you get admin access to the site.

Link to a page where the issue can be seen: This error can only be seen immediately after editing a portfolio record.

June 13, 2019 at 7:38 pm #4016699

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello,

Thank you for contacting WPML Support. Before a more detailed look, please, try this basic troubleshooting:

1 - Make sure your server environment meets our minimum requirements as described at: https://wpml.org/home/minimum-requirements/, you can see your current values at your WordPress Dashboard > WPML > Support > Info menu.

2 - Disable all the plugins except the WPML related ones and those directly related to your page content such as theme avada theme custom post types from your WordPress Dashboard > Plugins and see if the issue is gone, if so, activate one plugin at a time untill the culprit one is found.

IMPORTANT: Please, note, a backup is required for security reasons and to avoid any data loss, you can use the https://wordpress.org/plugins/backupwordpress/ plugin for these backup needs.

Please, let me know if the steps above help to fix your issue. Have a nice day.

June 21, 2019 at 8:48 am #4065559

henrikS-13

I have now thoroughly verified that all the mentioned minimum requiremens mentioned at https://wpml.org/home/minimum-requirements are met which is the case.

All relevant modules have been deactivated at the moe.dk Staging/Test site test.moe.dk which is copy of the concerned website moe.dk.

And I have made the following test at test.moe.dk that gives the same result for each run:

In a Chrome browser I load this page
test.moe.dk/ydelser/boliger
which returns the expected html content.

In an Internet Explorer browser where I am logged in as an administrator at test.moe.dk I change the chosen language going from Danish (da) to Norwegian (no):
wp-admin/index.php?lang=da&admin_bar=1
to
wp-admin/index.php?lang=no&admin_bar=1

then when I go back to the chrome browser and enter this url
test.moe.dk/ydelser/boliger
the request redirects to:
hidden link
and of course the response contains the 404 error message.

Apparently the issue arises from an unexpected frontend dependency to the wp-admin control panel state.
The Portfolio slug for Danish is 'ydelser' and for Norwegian 'ytelser'.

Since Fusion Builder, Fusion Core and WPML plugins are the only active plugins on test.moe.dk this issue must be due to either a configuration error or a bug in the Avada WPML software.

Configuration:
{"core":{"Wordpress":{"Multisite":"No","SiteURL":"http:\/\/test.moe.dk","HomeURL":"http:\/\/test.moe.dk","Version":"5.1.1","PermalinkStructure":"\/%postname%\/","PostTypes":"post, page, attachment, revision, nav_menu_item, custom_css, customize_changeset, oembed_cache, user_request, wp_block, avada_portfolio, avada_faq, avada_page_options, slide, fusion_template, fusion_element","PostStatus":"publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed"},"Server":{"jQueryVersion":"1.12.4","PHPVersion":"7.3.3","MySQLVersion":"5.5.5","ServerSoftware":"Apache\/2.4.39 (Unix)"},"PHP":{"MemoryLimit":"1000M","WP Memory Limit":"256M","UploadMax":"500M","PostMax":"500M","TimeLimit":"180","MaxInputVars":"2140","MBString":true,"libxml":true}},"plugins":{"active_plugins":{"sitepress-multilingual-cms\/sitepress.php":{"Plugin Slug":"sitepress-multilingual-cms","Name":"WPML Multilingual CMS","PluginURI":"https:\/\/wpml.org\/","Version":"4.2.5","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"sitepress-multilingual-cms","DomainPath":"","Network":false,"Title":"WPML Multilingual CMS","AuthorName":"OnTheGoSystems"},"autoptimize\/autoptimize.php":{"Plugin Slug":"","Name":"Autoptimize","PluginURI":"https:\/\/autoptimize.com\/","Version":"2.5.0","Author":"Frank Goossens (futtta)","AuthorURI":"https:\/\/autoptimize.com\/","TextDomain":"autoptimize","DomainPath":"","Network":false,"Title":"Autoptimize","AuthorName":"Frank Goossens (futtta)"},"fusion-builder\/fusion-builder.php":{"Plugin Slug":"","Name":"Fusion Builder","PluginURI":"http:\/\/www.theme-fusion.com","Version":"1.9","Author":"ThemeFusion","AuthorURI":"http:\/\/www.theme-fusion.com","TextDomain":"fusion-builder","DomainPath":"","Network":false,"Title":"Fusion Builder","AuthorName":"ThemeFusion"},"fusion-core\/fusion-core.php":{"Plugin Slug":"","Name":"Fusion Core","PluginURI":"http:\/\/theme-fusion.com","Version":"3.9","Author":"ThemeFusion","AuthorURI":"http:\/\/theme-fusion.com","TextDomain":"fusion-core","DomainPath":"","Network":false,"Title":"Fusion Core","AuthorName":"ThemeFusion"},"wp-seopress\/seopress.php":{"Plugin Slug":"","Name":"SEOPress","PluginURI":"https:\/\/www.seopress.org\/","Version":"3.3.13.1","Author":"Benjamin Denis","AuthorURI":"https:\/\/www.seopress.org\/","TextDomain":"wp-seopress","DomainPath":"\/languages","Network":false,"Title":"SEOPress","AuthorName":"Benjamin Denis"},"wpml-string-translation\/plugin.php":{"Plugin Slug":"wpml-string-translation","Name":"WPML String Translation","PluginURI":"https:\/\/wpml.org\/","Version":"2.10.3","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"wpml-string-translation","DomainPath":"","Network":false,"Title":"WPML String Translation","AuthorName":"OnTheGoSystems"},"wpml-translation-management\/plugin.php":{"Plugin Slug":"wpml-translation-management","Name":"WPML Translation Management","PluginURI":"https:\/\/wpml.org\/","Version":"2.8.4","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"wpml-translation-management","DomainPath":"","Network":false,"Title":"WPML Translation Management","AuthorName":"OnTheGoSystems"},"wpml-widgets\/wpml-widgets.php":{"Plugin Slug":"","Name":"WPML Widgets","PluginURI":"http:\/\/jeroensormani.com","Version":"1.0.6","Author":"Jeroen Sormani","AuthorURI":"http:\/\/jeroensormani.com","TextDomain":"wpml-widgets","DomainPath":"","Network":false,"Title":"WPML Widgets","AuthorName":"Jeroen Sormani"}},"mu_plugins":[],"dropins":[]},"theme":{"Name":"Avada","ThemeURI":false,"Author":"ThemeFusion","AuthorURI":"http:\/\/themeforest.net\/user\/ThemeFusion","Template":"","Version":"5.9","TextDomain":"Avada","DomainPath":"","ParentName":""},"extra-debug":{"WMPL":{"hide_upgrade_notice":"3.8.4","icl_capabilities_verified":true,"interview_translators":1,"existing_content_language_verified":1,"language_negotiation_type":"2","theme_localization_type":"3","icl_lso_link_empty":1,"sync_page_ordering":1,"sync_page_parent":1,"sync_page_template":1,"sync_ping_status":1,"sync_comment_status":1,"sync_sticky_flag":1,"sync_password":1,"sync_private_flag":1,"sync_post_format":1,"sync_delete":1,"sync_delete_tax":1,"sync_post_taxonomies":1,"sync_post_date":1,"sync_taxonomy_parents":0,"translation_pickup_method":0,"notify_complete":1,"translated_document_status":"0","remote_management":0,"auto_adjust_ids":1,"alert_delay":0,"promote_wpml":0,"automatic_redirect":0,"remember_language":24,"icl_lang_sel_copy_parameters":"","translated_document_page_url":"auto-generate","sync_comments_on_duplicates ":0,"seo":{"head_langs":1,"canonicalization_duplicates":1,"head_langs_priority":1},"posts_slug_translation":{"on":1,"string_name_migrated":true,"types":{"visualizer":false,"avada_portfolio":1,"avada_faq":false,"avada_page_options":false,"slide":false,"fusion_template":false,"fusion_element":false}},"urls":{"directory_for_default_language":0,"show_on_root":"","root_html_file_path":"","root_page":0,"hide_language_switchers":1},"xdomain_data":"1","active_languages":["en","da","no"],"admin_default_language":"_default_","taxonomy_names_checked":true,"setup_complete":1,"ajx_health_checked":true,"xliff_newlines":1,"tm_xliff_version":"12","default_categories":{"da":"429","en":4,"no":111},"default_language":"da","setup_wizard_step":4,"translation-management":{"notification":{"new-job":"1","include_xliff":"1","resigned":"1","completed":"1","completed_frequency":"1","overdue":0,"overdue_offset":0},"custom_fields_translation":{"EWD_US_Buttons":"0","EWD_US_Content_Type":"0","EWD_US_Image_Type":"0","EWD_US_Max_Body_Chars":"0","EWD_US_Max_Title_Chars":"0","EWD_US_Slide_Order":"0","EWD_US_YouTube_URL":"0","field_5a9913cbb7392":"0","fusion_builder_content_backup":"0","fusion_builder_converted":"0","fusion_builder_status":3,"hide_on_screen":"0","kd_featured-image-2_avada_portfolio_id":"0","kd_featured-image-2_page_id":"0","kd_featured-image-2_post_id":3,"kd_featured-image-3_avada_portfolio_id":"0","kd_featured-image-3_page_id":"0","kd_featured-image-3_post_id":3,"kd_featured-image-4_avada_portfolio_id":"0","kd_featured-image-4_page_id":"0","kd_featured-image-4_post_id":3,"kd_featured-image-5_avada_portfolio_id":"0","kd_featured-image-5_page_id":"0","kd_featured-image-5_post_id":3,"layout":"0","position":"0","pyre_author_info":3,"pyre_caption_separator":"0","pyre_demo_slider":"0","pyre_header_bg_opacity":3,"pyre_heading_separator":"0","pyre_page_options-hide":"0","pyre_page_title_bar_borders_color":3,"pyre_page_title_custom_subheader_text_size":3,"pyre_page_title_font_color":3,"pyre_page_title_height":3,"pyre_page_title_line_height":3,"pyre_page_title_mobile_height":3,"pyre_page_title_text_size":3,"pyre_portfolio_column_spacing":"0","pyre_portfolio_content_length":"0","pyre_portfolio_featured_image_size":"0","pyre_portfolio_options-hide":"0","pyre_portfolio_text_layout":"0","pyre_post_comments":"0","pyre_post_links_target":3,"pyre_post_meta":3,"pyre_post_options-hide":"0","pyre_post_pagination":3,"pyre_share_box":3,"pyre_sidebar_1":"0","pyre_sidebar_bg_color":3,"pyre_sidebar_sticky":3,"rule":"0","timeline_grid_meta_options":"0","video_thumbnail":"2","title":2,"description":2,"keywords":2,"_edit_last":0,"_edit_lock":0,"_wp_page_template":0,"_wp_attachment_metadata":0,"original_post_id":0,"_wpml_original_post_id":0,"_wp_old_slug":0,"_icl_translator_note":0,"_alp_processed":0,"_pingme":0,"_encloseme":0,"_icl_lang_duplicate_of":0,"_thumbnail_id":0,"_wp_attached_file":0,"_wp_attachment_image_alt":2,"avada_post_views_count":3,"pyre_address":3,"pyre_caption_1":3,"pyre_caption_2":3,"pyre_copy_url":2,"pyre_copy_url_text":2,"pyre_displayed_menu":3,"pyre_display_copyright":3,"pyre_display_footer":3,"pyre_display_header":3,"pyre_elasticslider":3,"pyre_email":3,"pyre_fallback":3,"pyre_fimg_height":3,"pyre_fimg_width":3,"pyre_flexslider":3,"pyre_full_width":3,"pyre_gmap":3,"pyre_header_bg":3,"pyre_header_bg_color":3,"pyre_header_bg_full":3,"pyre_header_bg_repeat":3,"pyre_hundredp_padding":3,"pyre_image_rollover_icons":3,"pyre_link_icon_target":3,"pyre_link_icon_url":2,"pyre_main_bottom_padding":3,"pyre_main_top_padding":3,"pyre_overall_score":3,"pyre_page_bg":3,"pyre_page_bg_color":3,"pyre_page_bg_full":3,"pyre_page_bg_layout":3,"pyre_page_bg_repeat":3,"pyre_page_title":3,"pyre_page_title_bar_bg":3,"pyre_page_title_bar_bg_color":3,"pyre_page_title_bar_bg_full":3,"pyre_page_title_bar_bg_retina":3,"pyre_page_title_bg_parallax":3,"pyre_page_title_custom_subheader":3,"pyre_page_title_custom_text":2,"page_title_text_size":3,"page_title_text_alignment":3,"page_title_custom_subheader_text_size":3,"page_title_breadcrumbs_search_bar":3,"pyre_page_title_text":3,"pyre_phone":3,"pyre_portfolio_category":3,"pyre_portfolio_excerpt":3,"pyre_portfolio_filters":3,"pyre_portfolio_full_width":3,"pyre_portfolio_sidebar_position":3,"pyre_portfolio_width_100":3,"pyre_project_desc_title":3,"pyre_project_details":3,"pyre_project_url":3,"pyre_project_url_text":2,"pyre_related_posts":3,"pyre_revslider":3,"pyre_show_first_featured_image":3,"pyre_sidebar":3,"pyre_sidebar_position":3,"pyre_slider":3,"pyre_slider_position":3,"pyre_slider_type":3,"pyre_transparent_header":3,"pyre_video":2,"pyre_video_url":2,"pyre_wide_page_bg":3,"pyre_wide_page_bg_color":3,"pyre_wide_page_bg_full":3,"pyre_wide_page_bg_repeat":3,"pyre_width":3,"pyre_wooslider":3,"sbg_selected_sidebar":3,"sbg_selected_sidebar_replacement":3,"sbg_selected_sidebar_2":3,"sbg_selected_sidebar_2_replacement":3,"slide_template":3,"pyre_avada_rev_styles":3,"pyre_footer_100_width":3,"pyre_header_100_width":3,"pyre_page_title_100_width":3,"pyre_page_title_breadcrumbs_search_bar":3,"pyre_page_title_text_alignment":3,"pyre_heading":2,"pyre_caption":2,"pyre_type":3,"pyre_content_alignment":3,"pyre_webm":3,"pyre_mp4":3,"pyre_ogv":3,"pyre_preview_image":3,"pyre_video_bg_color":3,"pyre_mute_video":3,"pyre_autoplay_video":3,"pyre_loop_video":3,"pyre_hide_video_controls":3,"pyre_youtube_id":2,"pyre_aspect_ratio":3,"pyre_video_display":3,"pyre_vimeo_id":2,"pyre_heading_font_size":3,"pyre_heading_color":3,"pyre_heading_bg":3,"pyre_heading_bg_color":3,"pyre_caption_font_size":3,"pyre_caption_color":3,"pyre_caption_bg":3,"pyre_caption_bg_color":3,"pyre_link_type":3,"pyre_button_1":2,"pyre_button_2":2,"pyre_slide_link":3,"pyre_slide_target":3},"custom_fields_readonly_config":["title","description","keywords","_edit_last","_edit_lock","_wp_page_template","_wp_attachment_metadata","original_post_id","_wpml_original_post_id","_wp_old_slug","_icl_translator_note","_alp_processed","_pingme","_encloseme","_icl_lang_duplicate_of","_thumbnail_id","_wp_attached_file","_wp_attachment_image_alt","avada_post_views_count","pyre_address","pyre_caption_1","pyre_caption_2","pyre_copy_url","pyre_copy_url_text","pyre_displayed_menu","pyre_display_copyright","pyre_display_footer","pyre_display_header","pyre_elasticslider","pyre_email","pyre_fallback","pyre_fimg_height","pyre_fimg_width","pyre_flexslider","pyre_full_width","pyre_gmap","pyre_header_bg","pyre_header_bg_color","pyre_header_bg_full","pyre_header_bg_repeat","pyre_hundredp_padding","pyre_image_rollover_icons","pyre_link_icon_target","pyre_link_icon_url","pyre_main_bottom_padding","pyre_main_top_padding","pyre_overall_score","pyre_page_bg","pyre_page_bg_color","pyre_page_bg_full","pyre_page_bg_layout","pyre_page_bg_repeat","pyre_page_title","pyre_page_title_bar_bg","pyre_page_title_bar_bg_color","pyre_page_title_bar_bg_full","pyre_page_title_bar_bg_retina","pyre_page_title_bg_parallax","pyre_page_title_custom_subheader","pyre_page_title_custom_text","page_title_text_size","page_title_text_alignment","page_title_custom_subheader_text_size","page_title_breadcrumbs_search_bar","pyre_page_title_text","pyre_phone","pyre_portfolio_category","pyre_portfolio_excerpt","pyre_portfolio_filters","pyre_portfolio_full_width","pyre_portfolio_sidebar_position","pyre_portfolio_width_100","pyre_project_desc_title","pyre_project_details","pyre_project_url","pyre_project_url_text","pyre_related_posts","pyre_revslider","pyre_show_first_featured_image","pyre_sidebar","pyre_sidebar_position","pyre_slider","pyre_slider_position","pyre_slider_type","pyre_transparent_header","pyre_video","pyre_video_url","pyre_wide_page_bg","pyre_wide_page_bg_color","pyre_wide_page_bg_full","pyre_wide_page_bg_repeat","pyre_width","pyre_wooslider","sbg_selected_sidebar","sbg_selected_sidebar_replacement","sbg_selected_sidebar_2","sbg_selected_sidebar_2_replacement","slide_template","pyre_avada_rev_styles","pyre_footer_100_width","pyre_header_100_width","pyre_page_title_100_width","pyre_page_title_breadcrumbs_search_bar","pyre_page_title_text_alignment","pyre_heading","pyre_caption","pyre_type","pyre_content_alignment","pyre_webm","pyre_mp4","pyre_ogv","pyre_preview_image","pyre_video_bg_color","pyre_mute_video","pyre_autoplay_video","pyre_loop_video","pyre_hide_video_controls","pyre_youtube_id","pyre_aspect_ratio","pyre_video_display","pyre_vimeo_id","pyre_heading_font_size","pyre_heading_color","pyre_heading_bg","pyre_heading_bg_color","pyre_caption_font_size","pyre_caption_color","pyre_caption_bg","pyre_caption_bg_color","pyre_link_type","pyre_button_1","pyre_button_2","pyre_slide_link","pyre_slide_target","pyre_post_links_target","pyre_share_box","pyre_post_pagination","pyre_author_info","pyre_post_meta","pyre_header_bg_opacity","pyre_sidebar_sticky","pyre_sidebar_bg_color","pyre_page_title_text_size","pyre_page_title_line_height","pyre_page_title_custom_subheader_text_size","pyre_page_title_font_color","pyre_page_title_height","pyre_page_title_mobile_height","pyre_page_title_bar_borders_color","kd_featured-image-2_post_id","kd_featured-image-3_post_id","kd_featured-image-4_post_id","kd_featured-image-5_post_id","fusion_builder_status"],"custom_fields_translation_custom":[],"custom_fields_translation_custom_readonly":[],"doc_translation_method":1,"__custom_types_readonly_config_prev":[],"custom_types_readonly_config":[],"__custom_fields_readonly_config_prev":["title","description","keywords","_edit_last","_edit_lock","_wp_page_template","_wp_attachment_metadata","original_post_id","_wpml_original_post_id","_wp_old_slug","_icl_translator_note","_alp_processed","_pingme","_encloseme","_icl_lang_duplicate_of","_thumbnail_id","_wp_attached_file","_wp_attachment_image_alt","avada_post_views_count","pyre_address","pyre_caption_1","pyre_caption_2","pyre_copy_url","pyre_copy_url_text","pyre_displayed_menu","pyre_display_copyright","pyre_display_footer","pyre_display_header","pyre_elasticslider","pyre_email","pyre_fallback","pyre_fimg_height","pyre_fimg_width","pyre_flexslider","pyre_full_width","pyre_gmap","pyre_header_bg","pyre_header_bg_color","pyre_header_bg_full","pyre_header_bg_repeat","pyre_hundredp_padding","pyre_image_rollover_icons","pyre_link_icon_target","pyre_link_icon_url","pyre_main_bottom_padding","pyre_main_top_padding","pyre_overall_score","pyre_page_bg","pyre_page_bg_color","pyre_page_bg_full","pyre_page_bg_layout","pyre_page_bg_repeat","pyre_page_title","pyre_page_title_bar_bg","pyre_page_title_bar_bg_color","pyre_page_title_bar_bg_full","pyre_page_title_bar_bg_retina","pyre_page_title_bg_parallax","pyre_page_title_custom_subheader","pyre_page_title_custom_text","page_title_text_size","page_title_text_alignment","page_title_custom_subheader_text_size","page_title_breadcrumbs_search_bar","pyre_page_title_text","pyre_phone","pyre_portfolio_category","pyre_portfolio_excerpt","pyre_portfolio_filters","pyre_portfolio_full_width","pyre_portfolio_sidebar_position","pyre_portfolio_width_100","pyre_project_desc_title","pyre_project_details","pyre_project_url","pyre_project_url_text","pyre_related_posts","pyre_revslider","pyre_show_first_featured_image","pyre_sidebar","pyre_sidebar_position","pyre_slider","pyre_slider_position","pyre_slider_type","pyre_transparent_header","pyre_video","pyre_video_url","pyre_wide_page_bg","pyre_wide_page_bg_color","pyre_wide_page_bg_full","pyre_wide_page_bg_repeat","pyre_width","pyre_wooslider","sbg_selected_sidebar","sbg_selected_sidebar_replacement","sbg_selected_sidebar_2","sbg_selected_sidebar_2_replacement","slide_template","pyre_avada_rev_styles","pyre_footer_100_width","pyre_header_100_width","pyre_page_title_100_width","pyre_page_title_breadcrumbs_search_bar","pyre_page_title_text_alignment","pyre_heading","pyre_caption","pyre_type","pyre_content_alignment","pyre_webm","pyre_mp4","pyre_ogv","pyre_preview_image","pyre_video_bg_color","pyre_mute_video","pyre_autoplay_video","pyre_loop_video","pyre_hide_video_controls","pyre_youtube_id","pyre_aspect_ratio","pyre_video_display","pyre_vimeo_id","pyre_heading_font_size","pyre_heading_color","pyre_heading_bg","pyre_heading_bg_color","pyre_caption_font_size","pyre_caption_color","pyre_caption_bg","pyre_caption_bg_color","pyre_link_type","pyre_button_1","pyre_button_2","pyre_slide_link","pyre_slide_target","pyre_post_links_target","pyre_share_box","pyre_post_pagination","pyre_author_info","pyre_post_meta","pyre_header_bg_opacity","pyre_sidebar_sticky","pyre_sidebar_bg_color","pyre_page_title_text_size","pyre_page_title_line_height","pyre_page_title_custom_subheader_text_size","pyre_page_title_font_color","pyre_page_title_height","pyre_page_title_mobile_height","pyre_page_title_bar_borders_color","kd_featured-image-2_post_id","kd_featured-image-3_post_id","kd_featured-image-4_post_id","kd_featured-image-5_post_id","fusion_builder_status"],"__custom_term_fields_readonly_config_prev":["fusion_slider_options"],"custom_term_fields_readonly_config":["fusion_slider_options"],"taxonomies_readonly_config":{"portfolio_category":1,"faq_category":1,"portfolio_skills":1,"portfolio_tags":1,"themefusion_es_groups":1,"slide-page":1,"translation_priority":1,"element_category":0},"custom-types_readonly_config":{"themefusion_elastic":1,"slide":1,"layerslider":1,"revslider":1,"avada_faq":1,"avada_portfolio":1,"fusion_element":1,"attachment":1,"wp_block":1},"custom_term_fields_translation":{"fusion_taxonomy_options":"2","product_count_product_cat":"2","product_count_product_tag":"2","fusion_slider_options":1},"custom_fields_unlocked_config":{"avada_post_views_count":"0","EWD_US_Buttons":"0","EWD_US_Content_Type":"0","EWD_US_Image_Type":"0","EWD_US_Max_Body_Chars":"0","EWD_US_Max_Title_Chars":"0","EWD_US_Slide_Order":"0","EWD_US_YouTube_URL":"0","field_5a9913cbb7392":"0","fusion_builder_content_backup":"0","fusion_builder_converted":"0","fusion_builder_status":"0","hide_on_screen":"0","kd_featured-image-2_avada_portfolio_id":"0","kd_featured-image-2_page_id":"0","kd_featured-image-2_post_id":"0","kd_featured-image-3_avada_portfolio_id":"0","kd_featured-image-3_page_id":"0","kd_featured-image-3_post_id":"0","kd_featured-image-4_avada_portfolio_id":"0","kd_featured-image-4_page_id":"0","kd_featured-image-4_post_id":"0","kd_featured-image-5_avada_portfolio_id":"0","kd_featured-image-5_page_id":"0","kd_featured-image-5_post_id":"0","layout":"0","position":"0","pyre_address":"0","pyre_aspect_ratio":"0","pyre_author_info":"0","pyre_autoplay_video":"0","pyre_avada_rev_styles":"0","pyre_button_1":"0","pyre_button_2":"0","pyre_caption":"0","pyre_caption_bg":"0","pyre_caption_bg_color":"0","pyre_caption_color":"0","pyre_caption_font_size":"0","pyre_caption_separator":"0","pyre_content_alignment":"0","pyre_copy_url":"0","pyre_copy_url_text":"0","pyre_demo_slider":"0","pyre_displayed_menu":"0","pyre_display_copyright":"0","pyre_display_footer":"0","pyre_display_header":"0","pyre_elasticslider":"0","pyre_email":"0","pyre_fallback":"0","pyre_fimg_height":"0","pyre_fimg_width":"0","pyre_flexslider":"0","pyre_footer_100_width":"0","pyre_full_width":"0","pyre_gmap":"0","pyre_header_100_width":"0","pyre_header_bg":"0","pyre_header_bg_color":"0","pyre_header_bg_full":"0","pyre_header_bg_opacity":"0","pyre_header_bg_repeat":"0","pyre_heading":"0","pyre_heading_bg":"0","pyre_heading_bg_color":"0","pyre_heading_color":"0","pyre_heading_font_size":"0","pyre_heading_separator":"0","pyre_hide_video_controls":"0","pyre_hundredp_padding":"0","pyre_image_rollover_icons":"0","pyre_link_icon_target":"0","pyre_link_icon_url":"0","pyre_link_type":"0","pyre_loop_video":"0","pyre_main_bottom_padding":"0","pyre_main_top_padding":"0","pyre_mp4":"0","pyre_mute_video":"0","pyre_ogv":"0","pyre_page_bg":"0","pyre_page_bg_color":"0","pyre_page_bg_full":"0","pyre_page_bg_layout":"0","pyre_page_bg_repeat":"0","pyre_page_options-hide":"0","pyre_page_title":"0","pyre_page_title_100_width":"0","pyre_page_title_bar_bg":"0","pyre_page_title_bar_bg_color":"0","pyre_page_title_bar_bg_full":"0","pyre_page_title_bar_bg_retina":"0","pyre_page_title_bar_borders_color":"0","pyre_page_title_bg_parallax":"0","pyre_page_title_breadcrumbs_search_bar":"0","pyre_page_title_custom_subheader":"0","pyre_page_title_custom_subheader_text_size":"0","pyre_page_title_custom_text":"0","pyre_page_title_font_color":"0","pyre_page_title_height":"0","pyre_page_title_line_height":"0","pyre_page_title_mobile_height":"0","pyre_page_title_text":"0","pyre_page_title_text_alignment":"0","pyre_page_title_text_size":"0","pyre_phone":"0","pyre_portfolio_category":"0","pyre_portfolio_column_spacing":"0","pyre_portfolio_content_length":"0","pyre_portfolio_excerpt":"0","pyre_portfolio_featured_image_size":"0","pyre_portfolio_filters":"0","pyre_portfolio_full_width":"0","pyre_portfolio_options-hide":"0","pyre_portfolio_sidebar_position":"0","pyre_portfolio_text_layout":"0","pyre_portfolio_width_100":"0","pyre_post_comments":"0","pyre_post_links_target":"0","pyre_post_meta":"0","pyre_post_options-hide":"0","pyre_post_pagination":"0","pyre_preview_image":"0","pyre_project_desc_title":"0","pyre_project_details":"0","pyre_project_url":"0","pyre_project_url_text":"0","pyre_related_posts":"0","pyre_revslider":"0","pyre_share_box":"0","pyre_show_first_featured_image":"0","pyre_sidebar":"0","pyre_sidebar_1":"0","pyre_sidebar_bg_color":"0","pyre_sidebar_position":"0","pyre_sidebar_sticky":"0","pyre_slider":"0","pyre_slider_position":"0","pyre_slider_type":"0","pyre_slide_link":"0","pyre_slide_target":"0","pyre_transparent_header":"0","pyre_type":"0","pyre_video":"0","pyre_video_bg_color":"0","pyre_video_display":"0","pyre_video_url":"0","pyre_vimeo_id":"0","pyre_webm":"0","pyre_wide_page_bg":"0","pyre_wide_page_bg_color":"0","pyre_wide_page_bg_full":"0","pyre_wide_page_bg_repeat":"0","pyre_width":"0","pyre_wooslider":"0","pyre_youtube_id":"0","rule":"0","sbg_selected_sidebar":"0","sbg_selected_sidebar_2":"0","sbg_selected_sidebar_2_replacement":"0","sbg_selected_sidebar_replacement":"0","slide_template":"0","timeline_grid_meta_options":"0","video_thumbnail":"0"}},"custom_posts_sync_option":{"themefusion_elastic":1,"slide":1,"layerslider":1,"revslider":1,"avada_faq":1,"avada_portfolio":"1","custom_css":"0","customize_changeset":"1","visualizer":"1","fusion_template":"1","fusion_element":1,"oembed_cache":"0","wpcf7_contact_form":"1","avada_page_options":"1","post":"1","page":"1","attachment":1,"wp_block":1},"taxonomies_sync_option":{"portfolio_category":1,"faq_category":1,"portfolio_skills":1,"portfolio_tags":1,"themefusion_es_groups":1,"slide-page":1,"element_category":0,"template_category":"1","category":1,"post_tag":1,"translation_priority":1},"custom-types_sync_option":{"themefusion_elastic":1,"slide":1,"layerslider":1,"revslider":1,"avada_faq":1,"avada_portfolio":1,"fusion_element":1,"attachment":1,"wp_block":1},"language_selector_initialized":1,"languages_order":["da","no","en"],"dont_show_help_admin_notice":true,"site_does_not_use_icl":true,"st":{"WPML_ST_Upgrade_Migrate_Originals_has_run":true,"WPML_ST_Upgrade_Db_Cache_Command_2.4.2_1_has_run":true,"WPML_ST_Upgrade_Display_Strings_Scan_Notices_has_run":true,"WPML_ST_Upgrade_MO_Scanning_3_has_run":true,"WPML_ST_Upgrade_DB_String_Name_Index_2_has_run":true,"WPML_ST_Upgrade_DB_Longtext_String_Value_has_run":true,"strings_per_page":"100","icl_st_auto_reg":"disable","strings_language":"en","translated-users":["administrator","editor","author","contributor"],"db_ok_for_gettext_context":true,"sw":[],"plugin_localization_domains":{"cookie-notice\/cookie-notice.php":{"cookie-notice":120},"visualizer\/index.php":{"visualizer":354},"contact-form-7\/wp-contact-form-7.php":{"contact-form-7":406},"instagram-feed\/instagram-feed.php":{"instagram-feed":109},"shortcode-ui\/shortcode-ui.php":{"shortcode-ui":52},"broken-link-checker\/broken-link-checker.php":{"broken-link-checker":501},"wp-seopress\/seopress.php":{"wp-seopress":798}},"track_strings":"1","hl_color":"#FFFF00","theme_localization_domains":{"Avada":{"Avada":3971,"WordPress":6,"bbpress":7,"sermon-manager":1,"woocommerce":95,"themecheck":8,"the-events-calendar":10,"tribe-events-calendar-pro":7}},"WPML_ST_Upgrade_DB_String_Packages_Word_Count_has_run":true,"WPML_ST_Upgrade_DB_Strings_Add_Translation_Priority_Field_has_run":true},"admin_text_3_2_migration_complete_40cd750bba9870f18aada2478b24840a":true,"doc_translation_method":1,"show_translations_flag":1,"default_translators":{"da":{"en":{"id":1,"type":"local"},"no":{"id":1,"type":"local"}},"en":{"no":{"id":1,"type":"local"}}},"translation_service":false,"WPML_Translate_Link_Target_Global_State":true,"hide_how_to_translate":false,"tm_block_retranslating_terms":"","sync_comments_on_duplicates":1,"hidden_languages":[],"admin_text_3_2_migration_complete_458e1c6831cd53076d8b4439b8b4545d":true,"language_domains":{"en":"test.moe.global","no":"test.moe-as.no"},"language_per_domain_sso_enabled":false,"translator_choice":false,"icl_lang_status":false,"icl_html_status":false,"icl_current_session":false,"last_icl_reminder_fetch":false,"translators_management_info":false,"language_pairs":false,"edit_languages_flag_migration":1,"just_reactivated":0,"custom_posts_unlocked_option":{"post":"0","page":"0","custom_css":"0","customize_changeset":"0","oembed_cache":"0","wpcf7_contact_form":"0","visualizer":"0","avada_portfolio":"1","avada_faq":"0","avada_page_options":"0","slide":"0","fusion_template":"0","fusion_element":"0"},"admin_text_3_2_migration_complete_287990d5d68653289f1988fa8ddcce47":true},"installer":{"version":"1.9.4","repositories":{"wpml":{"api-url":"https:\/\/api.wpml.org\/","products":"http:\/\/d2salfytceyqoe.cloudfront.net\/wpml33-products.json","subscription":{"key":"f7GwwH4t8p","data":{"subscription_type":"6719","expires":"2018-11-03","status":"1"},"registered_by":1}},"toolset":{"api-url":"https:\/\/api.toolset.com\/","products":"http:\/\/d7j863fr5jhrr.cloudfront.net\/toolset33-products.json","subscription":""}},"instances":{"\/home\/moedk\/public_html\/wp-content\/plugins\/sitepress-multilingual-cms\/vendor\/otgs\/installer\/installer.php":{"bootfile":"\/home\/moedk\/public_html\/wp-content\/plugins\/sitepress-multilingual-cms\/vendor\/otgs\/installer\/installer.php","version":"1.9.4","args":{"plugins_install_tab":1,"site_key_nags":[{"repository_id":"wpml","product_name":"WPML","condition_cb":[{"locale_utils":{},"footer_preview":false,"icl_translations_cache":null,"icl_language_name_cache":{"name":"language_name","cache_to_option":true,"cache_needs_saving":false},"icl_term_taxonomy_cache":null,"wpdb":{"show_errors":false,"suppress_errors":false,"last_error":"","num_queries":133,"num_rows":0,"rows_affected":0,"insert_id":5953446,"last_query":"SELECT option_value FROM wp_options WHERE option_name = \u0027auto_core_update_failed\u0027 LIMIT 1","last_result":[],"queries":null,"prefix":"wp_","base_prefix":"wp_","ready":true,"blogid":0,"siteid":0,"tables":["posts","comments","links","options","postmeta","terms","term_taxonomy","term_relationships","termmeta","commentmeta"],"old_tables":["categories","post2cat","link2cat"],"global_tables":["users","usermeta"],"ms_global_tables":["blogs","blogmeta","signups","site","sitemeta","sitecategories","registration_log","blog_versions"],"comments":"wp_comments","commentmeta":"wp_commentmeta","links":"wp_links","options":"wp_options","postmeta":"wp_postmeta","posts":"wp_posts","terms":"wp_terms","term_relationships":"wp_term_relationships","term_taxonomy":"wp_term_taxonomy","termmeta":"wp_termmeta","usermeta":"wp_usermeta","users":"wp_users","blogs":null,"blogmeta":null,"blog_versions":null,"registration_log":null,"signups":null,"site":null,"sitecategories":null,"sitemeta":null,"field_types":{"post_author":"%d","post_parent":"%d","menu_order":"%d","term_id":"%d","term_group":"%d","term_taxonomy_id":"%d","parent":"%d","count":"%d","object_id":"%d","term_order":"%d","ID":"%d","comment_ID":"%d","comment_post_ID":"%d","comment_parent":"%d","user_id":"%d","link_id":"%d","link_owner":"%d","link_rating":"%d","option_id":"%d","blog_id":"%d","meta_id":"%d","post_id":"%d","user_status":"%d","umeta_id":"%d","comment_karma":"%d","comment_count":"%d","active":"%d","cat_id":"%d","deleted":"%d","lang_id":"%d","mature":"%d","public":"%d","site_id":"%d","spam":"%d"},"charset":"utf8mb4","collate":"utf8mb4_unicode_ci","func_call":"$db-\u003Equery(\u0022SELECT option_value FROM wp_options WHERE option_name = \u0027auto_core_update_failed\u0027 LIMIT 1\u0022)","is_mysql":true,"categories":"wp_categories","post2cat":"wp_post2cat","link2cat":"wp_link2cat"}},"setup"]}]},"delegated":true}}}}}

June 24, 2019 at 4:12 pm #4078495

Otto
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

** IMPORTANT **
- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link
 

Kind regards,

Otto

June 24, 2019 at 8:45 pm #4079725

henrikS-13

Since I only do have a connection through a VPN connection myself I can't at this moment provide any ftp access.
And I am only able to provide wp-admin access to the production site at moe.dk - please let me know if you would like that.
On the other hand I could upload the wp filestructure and databasebackup as zipped files to any ftp address you might be in hold of and besides provide the wp-login info as a text file.
Finally I would be happy to share a connection to the staging server through a netmeeting or Teamviewer session.
Best regards
Henrik

June 25, 2019 at 8:33 pm #4087121

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello Henrik,

Thank you for the updates. In this case, I think the best route here is to get an access to your website using a provided snapshot copy of it, for that, please consider: To best troubleshoot the issue, please make a snapshot of your site using the Duplicator plugin: https://wordpress.org/plugins/duplicator/. This will allow me to try and duplicate the error so that I can run further tests without interrupting your live site.

Once the snapshot is complete, either upload the snapshot ZIP file and the installer.php file to a file sharing service such as Dropbox (and share the link in your reply) or right click the Duplicator links in your wp-admin and paste in your reply.
Please note: It is important to reduce the size of the package so please exclude some paths like /cache or /uploads and also exclude archives and media files.I will also need the username and password of an account that was created BEFORE creating the duplicator package.I will enable the next reply to be private so only you and I have access to it!

Thank you for your collaboration. Have a nice day.

June 27, 2019 at 12:39 am #4095393

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello,

Thank you for the provided details and sorry for the bit of waiting. I took a detailed look in your website using the provided duplicator package and could notice your website is using a different domain per language setup wich might be the cause of your issue. When using the preview feature of the Avada Portfolio, the secondary languages don't seem to be using the correct url for portfolio post.

In my setup I changed to the languages in directories setup and everything seems to be working as it should. Can you please, try the languages in directories setup in your stagging test website and let me know if it works? Have a nice day.

See: https://wpml.org/faq/server-setting-for-languages-in-directories/

June 27, 2019 at 8:25 pm #4102853

henrikS-13

Hi Marcos

Unfortunately it didn't work on my end and perhaps I should have provided some specific portfolio urls for you to test on like:

/ydelser/boliger/
/ytelser/boliger
/services/commercial

Since most plugins are turned off the portfolio urls can only be checked by entering the url directly in the browser address bar or by navigation within the wp-admin panel which I guess you did in order to test this.

The one that I tested /no/ytelser/boliger threw the 404 error just after changing language from Danish to Norwegian in the top selector at wp-admin and a moment after changing the WPML Language URL format from domain to directory and resetting the permalinks.

Hope you will find this information usefull and looking forward to hear from you again

Best regards
Henrik

June 28, 2019 at 8:28 pm #4110141

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello,

Thank you for the updates. Can you please, resave the portfolio post which is causing a 404 error in the secondary langauges? The reason I am asking it is because I noticed they had a wrong url for some reason and I needed to resave them once I changed the language setup, you will notice while the portfolio posts in the default language change to a language in directories url the secondary language portfolio posts keep the previous url you had before changing the language setup and it explains why it doesn't show properly. Also, if it is possible I would like to know if it is possible to get a direct access to your test stagging website without the need of a teamviewer session.

Please, let me know these details and we can proceed with further investigations and troubleshooting. Thank you for your collaboration, have a nice day.

July 1, 2019 at 7:08 pm #4121947

henrikS-13

Hello Marcos

A short serie of screen prints showing the steps that I have taken might help you get an idea of what is happening at my end.
After changing in WPML language setup from domain to directory (image 1) I checked the URL in edit mode for /no/ytelser/boliger (image 2) which was as expected but still the frontend version of that specific page was decorated with the 404 error (image 3)..

Did you succeed in reproducing the initial error where an wp administrator changing the current language in wp-admin would cause 404 error for any frontend user trying to request any portfolio page on the site? I can see that the permalinks of portfolio post like hidden link when looking in edit post mode are correct as well.

Reading your message I understand that you would perhaps propose a workaround in changing from language by domain to language by directory and then change all portfolio urls for secondary languages by updating these posts manually.
This solution - that I apparently can't get to work at the staging server - wouldn't be the one that my client MOE A/S prefers since the system manager at MOE opted for deploying language by domain.

I will have to make the system administrator open a vpn connection for you to allow acces to the staging server without utilizing a teamviewer session.

Thank you for continuing the support
Henrik

July 1, 2019 at 7:16 pm #4122017

henrikS-13

Forgot to mention that in the process of settling an issue with some apparently redundant duplicate WordFence tables (this plugin has of course been deactivated for the purpose of this test) I have become aware of the fact some content in the WordFence tables might still interfere with the WordPress site even though WordFence has been deactivated.
Maybe it would be worthwile to test whether deleting these tables might help?

July 3, 2019 at 1:33 am #4130741

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello Henrik,

I am jumping here to let you know I am currently working on your issue, I will update you here as soon as I have a detailed and accurate answer. Thank you for your continued patience and understanding. Have a nice day.

July 4, 2019 at 6:08 am #4140395

henrikS-13

Hi Marcos

Some other aspect of the portfolio url 404 error has come to my attention:
At the production website the other day when the 404 error state for portfolio urls had happened (which means in exampe that the url /ydelser/boliger would redirect to /services/ydelser) I tried to save the Avada Theme options for Portfolio - without any changes - and immediately after this action the error was gone. So it makes me think that somehow there must be a connection between changing language in the wpml wp-admin language switcher and the Avada theme options portfolio settings.
Best regards
Henrik

July 5, 2019 at 6:47 pm #4153439

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello,

Please, take a look at my private reply above. Thanks!

July 5, 2019 at 8:07 pm #4153911

henrikS-13

Hello Marcos

Thanks for the provided instructions on how to migrate via Cloudways. I followed your receipt except concerning the database password for which I wasn't asked. When I clicked the Migrate button I only see a blank page with this address in the URL bar:
hidden link
and I didn't receive the confirmation email.
Since the test site is only available when your on a vpn connection perhaps that would explain this apparent issue with Cloudways migration.
I would like to propose - instead - if this doesn't work that I get a permission from MOE to make an admin account for you at the production site and perhaps this might be enough for you to get a grasp of what is going on.
If not then would you like me to deploy the Cloudways migration service directly on the production site? For that I shall have get a permission from MOE as well.
Thank you for your support and understanding
Henrik