• Hi,

    One of our sites has a couple of thousands of entries like this:

    PHP Warning: Undefined array key “excerptLength” in /home/mondiumcom/public_html/wp-includes/blocks/post-excerpt.php on line 47

    We’re not using Gutenberg in the site at all.

    How do we stop this error?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey there @eggdesign1994 ! Are you using the latest WP Core version, correct? I see a similar bug reported almost 2yr ago, after doing some research, and I think this was reported as part of another ticket and under a different format, but it’s still not fixed unfortunately..

    Moderator threadi

    (@threadi)

    I’m not sure if these are comparable messages. I haven’t seen this in any project myself. First of all, these are not errors but warnings because a value is missing. There can be many reasons for this, including plugins you use calling the component and not passing on everything that is necessary. You may not be aware of this, but plugins could do this. Themes as well.

    Since we don’t know your project, we can’t say anything more specific. One recommendation would be to deactivate all plugins on a trial basis and see if it stops. If so, it was one of the plugins. If not, try changing the theme as well.

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

You must be logged in to reply to this topic.