Este usuário não tem tópicos favoritos.
Tópicos favoritos do fórum
Tópicos do fórum criados
| Status |
Tópico
|
Suporte | Vozes | Posts | Atualidade |
|---|---|---|---|---|---|
|
conflict between SitePress and Elementor,
Iniciado por: andrewS-45
em: 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 meses atrás | |
|
Search results do not return posts in the right language
Iniciado por: andrewS-45 em: English Support |
|
2 | 4 | 2 anos, 10 meses atrás | |
|
My website doesn't seem to allow searching in French
Iniciado por: andrewS-45 em: Chat Support |
|
1 | 2 |
2 anos, 10 meses atrás
|