• Warning: Use of undefined constant ‘AUTOSAVE_INTERVAL’ – assumed ‘‘AUTOSAVE_INTERVAL’’ (this will throw an Error in a future version of PHP) in /home/applegro/public_html/wp-config.php on line 85

    Warning: Use of undefined constant ‘WP_POST_REVISIONS’ – assumed ‘‘WP_POST_REVISIONS’’ (this will throw an Error in a future version of PHP) in /home/applegro/public_html/wp-config.php on line 86

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    What is the code you have on lines 85 and 86? If you are calling define() there, you must pass the constant’s name as a string (demarcated by quotes). Example:
    define( 'WP_POST_REVISIONS', 5 );
    The 5 can be any number you want, but note the use of quotes. I think you likely have:
    define( WP_POST_REVISIONS, 5 );
    (no quotes, leading to “Use of undefined constant” error)

    Thread Starter applegro

    (@applegro)

    Please Check website: https://applegrower.in/

    Error : Warning: Use of undefined constant ‘AUTOSAVE_INTERVAL’ – assumed ‘‘AUTOSAVE_INTERVAL’’ (this will throw an Error in a future version of PHP) in /home/applegro/public_html/wp-config.php on line 84

    Warning: Use of undefined constant ‘WP_POST_REVISIONS’ – assumed ‘‘WP_POST_REVISIONS’’ (this will throw an Error in a future version of PHP) in /home/applegro/public_html/wp-config.php on line 85

    Moderator bcworkz

    (@bcworkz)

    Yes, I saw that the first time you mentioned it. I need to see what you have in wp-config.php to help you further. Do not post your DB credentials or security salts that are part of the file. I’m only interested in the portion around lines 84 and 85.

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

The topic ‘wp-config.php on line ’ is closed to new replies.