Support

Account

Home Forums Backend Issues (wp-admin) Unable to edit field once created Reply To: Unable to edit field once created

  • Hi @elliot!

    It’s me once again. The simple solution would be the one displayed here

    So the following would work for me:

    echo ‘flush_all’ | nc localhost 11211

    or in PHP something like this:

    if ( file_exists( WP_CONTENT_DIR . ‘/object-cache.php’ ) &&
    $fp = fsockopen(“localhost”, 11211, $errno, $errstr, 30) ) {
    fwrite($fp, “flush_all\r\n”);
    $output = ”;
    while (!feof($fp))
    $output .= fgets($fp, 128);
    // do whatever you want with $output… what you should get is “OK”
    fclose($fp);
    }

    Cheers

    G√ľnther