此用户没有收藏的主题。
收藏的论坛主题
创建的论坛主题
| 状态 |
主题
|
支持人员 | 参与者 | 帖子 | 最新活动 |
|---|---|---|---|---|---|
|
Notice: Function _load_textdomain_just_in_time was called incorrectly
发起人:josG-3 在:English Support |
|
0 | 4 | 2 weeks, 6 days前 | |
|
Warning: file_exists(): open_basedir restriction in effect.
发起人:josG-3
在:English Support
Problem: Solution: wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTranslationFile.php . After the line: $defaultPathDirectory = $wp_textdomain_registry->get( $domain, $locale ); Add: /** temporary safeguard */<br />if ( ! is_string( $defaultPathDirectory ) || '' === trim( $defaultPathDirectory ) ) {<br /> return null;<br />}This prevents the 'open_basedir' warning by stopping the function if no real path is provided. 2. Hide the notice from your site visitors by modifying the 'wp-config.php' file as follows: define( 'WP_DEBUG', true );<br />define( 'WP_DEBUG_LOG', true );<br />define( 'WP_DEBUG_DISPLAY', false );<br />@ini_set( 'display_errors', 0 ); This configuration logs the warnings without displaying them on the front end. For more details, visit Debugging WPML. Please note that these are temporary solutions. Our developers are preparing an official fix to be included in a future WPML release. If this solution does not resolve your issue or seems irrelevant due to different configurations or outdated information, 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 the problem persists, please open a new support ticket. |
|
0 | 12 | 3 weeks前 | |
|
Media files not copied on translation of custom post types created with the Pods plugin
发起人:josG-3
在:English Support
Problem: |
|
0 | 5 | 4 months, 3 weeks前 |