لتطوير المواقع البرامج التطبيقات المجتمع

حل مشكلة الصفحة البيضاء في wp-admin/nav-menus.php

0 1٬958

This thread is resolved. Here is a description of the problem and solution.

نتيجة بحث الصور عن ‪nav-menus.php‬‏

The problem:
Blank screen on saving the menu with WPML 3.1.7.2 and String Translation 2.0.9.1. The code in https://wpml.org/forums/topic/wordpress-shows-blank-screen-on-saving-menu does not help.

The solution:
The temporary is fixed by @Menno in https://wpml.org/forums/topic/blank-screen-on-saving-menu-causing-by-string-translation/#post-475669
Details:
1) Backup everything, espially your database
2) Then go to file ” wp-content/plugins/wpml-string-translation/inc/functions.php”
3) Find this line..

if ($current_language == $sitepress_settings[‘st’][‘strings_language’]) {

..and replace it with..

if ($current_language == $sitepress_settings[‘st’][‘strings_language’] || $option_name= ‘icl_sitepress_settings’ ) {

Comments
Loading...