Skip to:
Content
Pages
Categories
Search
Top
Bottom

Quickpress Errors


  • gregfielding
    Participant

    @gregfielding

    After you I hit “Publish”

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/housings/public_html/wp-includes/post.php on line 1997

    Warning: constant() [function.constant]: Couldn’t find constant WP_POST_REVISIONS in /home/housings/public_html/wp-includes/post.php on line 3716

    I’m in BP 1.2.1 and MU 2.9.1

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

  • Anton
    Participant

    @antonrsaopencirclecoza

    Will this plugin ever be made available for single wp?


    vee_bee
    Participant

    @vee_bee

    @gregfielding I had the same error (even though my aim was to use it in single wp), and found the following wordpress trac ticket https://core.trac.wordpress.org/ticket/12078

    That corrects the first error….

    V


    vee_bee
    Participant

    @vee_bee

    and the second fix!!!

    Need to make sure WP_POST_REVISIONS is define (which is normally done in wp-config.pgp or wp-settings.php), I put it in buddypress-quickpress.php

    if ( !defined(WP_POST_REVISIONS )) {

    define( ‘WP_POST_REVISIONS’, false );

    }

    Now it does the trick…. V

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Quickpress Errors’ is closed to new replies.
Skip to toolbar