• The problem is in the post page.

    In the post page, you click the “filter” button, and the warning come out, which shows : “Warning: Array to string conversion in /www/wwwroot/zhibokanche/wp-admin/edit.php on line 340”.

    and the following is the line 340

     ‘option’  => ‘edit_’ . $post_type . ‘_per_page’,

    Now I comment the following parts , and the warning is gone:

    (1) the line 336 to 342

    // add_screen_option(

    //  ‘per_page’,

    //  array(

    //      ‘default’ => 20,

    //      ‘option’  => ‘edit_’ . $post_type . ‘_per_page’,

    //  )

    // );

    (2) the line 477 as following:

    <!– <input type=”hidden” name=”post_type” class=”post_type_page” value=”<?php echo $post_type; ?>” /> –>

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hi, dear all! I met a error after the latest update. when I search in the posts,’ is closed to new replies.