此用户没有收藏的主题。
收藏的论坛主题
创建的论坛主题
| 状态 |
主题
|
支持人员 | 参与者 | 帖子 | 最新活动 |
|---|---|---|---|---|---|
|
conflict between SitePress and Elementor,
发起人:andrewS-45
在:English Support
Problem: sitepress-multilingual-cms plugin. The error message indicates a problem with the WPMLPBElementorDataConvert::serialize() function, where it expects an array but receives null. serialize function in the plugin to handle cases where the data is not an array. Here’s how you can adjust the function: public static function serialize( $data, $escape = true ) {<br /> if ( ! is_array( $data ) ) {<br /> return wp_json_encode([]); // returns empty array if null or something else<br /> }<br /> $data = wp_json_encode( $data );<br /> if ( $escape ) {<br /> $data = wp_slash( $data );<br /> }<br /> return $data;<br />}This adjustment ensures that the function returns an empty array when it receives a null or an unexpected value, preventing the PHP Fatal error. Please note that this solution might be outdated or not applicable to your specific case. 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 issue persists, please open a new support ticket with us for further assistance at WPML Support Forum. |
|
0 | 7 | 9 months, 1 week前 | |
|
Search results do not return posts in the right language
发起人:andrewS-45 在:English Support |
|
2 | 4 | 2 years, 10 months前 | |
|
My website doesn't seem to allow searching in French
发起人:andrewS-45 在:Chat Support |
|
1 | 2 |
2 years, 10 months前
|