• I am transitioning my website to generatepress and have the site running in debug mode.

    On all pages, I’m getting a big header at the top of the page that says

    “Notice: Constant WP_POST_REVISIONS already defined in [site_uri]/wp-config.php on line 85”

    I have manually turned off post revisions, intentionally, to keep the database running light while I test and setup.

    This error does not appear when I am running the default WP themes; I’ve got to assume it’s configured somewhere in generatepress; however, I dont want to keep the default generatepress revision config.

    Please help!

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

    (@leohsiang)

    Hi there,

    That’s strange. The theme itself doesn’t deal with that at all:
    https://github.com/tomusborne/generatepress/search?q=WP_POST_REVISIONS

    Are you using a child theme or adding any custom functions?

    Let me know ??

    Thread Starter aleiakim

    (@aleiakim)

    Hello Leo,

    Thanks for getting back to me so soon!

    Interesting…

    I downloaded and installed the blank Child theme from the genereatepress website, and am using that to build the website.

    In that child theme, I have defined a few custom functions to change the gutenberg editor and make some back-end / admin post-types use the classical editor instead; other than that, I’m not using any global functions (though I am using several plugins).

    Plugins installed:
    – WP-Sweep
    – Advanced Custom Fields Premium
    – Admin Columns
    – Yoast
    – (Private) Custom Post Types plugin — defines new custom post types

    Leo

    (@leohsiang)

    Does the issue happen with the parent theme activated?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Does Generatepress automatically configure post revisions?’ is closed to new replies.