Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Me too, it seems like what @gzingh suggested fixed the issue.

    For those of you having the same issue, changed from /includes/api/class-endpoint-api.php line from 242 to this seems fixed the issue.

    // force evaluate the result
    $result = json_decode(wp_json_encode($result));

    $data = array(
    ‘data’ => $result,
    ‘headers’ => $this->response_headers,
    );
    \WP_Rest_Cache_Plugin\Includes\Caching\Caching::get_instance()->set_cache( $this->cache_key, $data, ‘endpoint’, $this->request_uri, ”, $this->request_headers );

    return $result;
    }

    Suggest the developer look at this.

    henmaker

    (@henmaker)

    I changed this line, and it is fine now.

    /classes/wcff-product-form.php

    line 944:
    if( is_shop() || is_product() || is_cart() || is_checkout() || is_singular() ) {

    Remove is_singular()

    so it is:
    if( is_shop() || is_product() || is_cart() || is_checkout()) {

    And it is fine. Somehow the wccpf_opt is not defined somewhere, not sure why.

    Sorry, i mean the one in “class-wp-importer” plugin, since we need that to get posterous importer plugin to work.

    Briancolinger, Thanks for the posterous importer plugin, however, i discovered there is a small bugs :

    It doesn’t work in wordpress 2.9.2, you have to change this line in your plugin file:

    require_once ABSPATH . ‘wp-includes/class-http.php’;

    to

    require_once ABSPATH . ‘wp-includes/http.php’;

    As class-http.php is not exist.

Viewing 4 replies - 1 through 4 (of 4 total)