how to win?
PHP 7.2.0, the create_function() is deprecated.
Thanks for your help,
or wait for developers?
Edited and cleared Code
return create_function( '', "
        global $chery_core_version;
        $path = trailingslashit( dirname( __FILE__ ) ) . 'cherry-core.php';
        $data = get_file_data( $path, array(
            'version' => 'Version'
        ) );
        if ( isset( $data['version'] ) ) {
            $version = $data['version'];
        }
        $old_versions = null;
        if ( null !== $chery_core_version ) {
            $old_versions = array_keys( $chery_core_version );
        }
        if ( is_array( $old_versions ) && isset( $old_versions[0] ) ) {
            $compare = version_compare( $old_versions[0], $version, '<' );
            if ( $compare ) {
                $chery_core_version = array();
                $chery_core_version[ $version ] = $path;
            }
        } else {
            $chery_core_version = array();
            $chery_core_version[ $version ] = $path;
        }
    " );
 
     
    