We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9a58bb commit c100316Copy full SHA for c100316
redux-core/inc/classes/class-redux-functions-ex.php
@@ -588,9 +588,12 @@ public static function pro_to_ext() {
588
if ( $redux_pro_key && ! get_user_option( 'extendifysdk_redux_key_moved' ) ) {
589
try {
590
$extendify_user_state = get_user_meta( get_current_user_id(), 'extendifysdk_user_data' );
591
+ if ( false === $extendify_user_state ) {
592
+ $extendify_user_state = array();
593
+ }
594
595
if ( ! isset( $extendify_user_state[0] ) ) {
- $extendify_user_state[0] = '{}';
596
+ $extendify_user_state[0] = wp_json_encode( array() ); // '{}';
597
}
598
599
$extendify_user_data = json_decode( $extendify_user_state[0], true );
0 commit comments