Cet utilisateur n'a aucun sujet favori.
Sujets de forum favoris
Sujets de forum créés
| Statut |
Sujet
|
Support | Voix | Messages | Fraîcheur |
|---|---|---|---|---|---|
|
conflict between SitePress and Elementor,
Commencé par : andrewS-45
dans : 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 | Il y a 8 mois et 2 semaines | |
|
Search results do not return posts in the right language
Commencé par : andrewS-45 dans : English Support |
|
2 | 4 | Il y a 2 années et 9 mois | |
|
My website doesn't seem to allow searching in French
Commencé par : andrewS-45 dans : Chat Support |
|
1 | 2 |
Il y a 2 années et 10 mois
|