Hi,
This warning is usually caused by a Post Excerpt block being rendered without the expected excerptLength attribute being present.
Could you provide some additional details?
- What version of WordPress are you running?
- Does the warning occur on the front end, in the editor, or both?
- Are you using a custom theme or any plugins that modify Query Loop or Post Excerpt blocks?
- If you switch temporarily to a default theme such as Twenty Twenty-Five, does the warning persist?
Also, if possible, please share the full Site Health > Info > WordPress version information and the complete warning message from the log.
That will help determine whether this is coming from WordPress core, a theme, or a plugin altering block attributes.
Thread Starter
SRD75
(@srd75)
Hi,
WP version 7.0.
Error only occurs in error_log.
> Are you using a custom theme or any plugins that modify Query Loop or Post Excerpt blocks?
I don’t think so
I have switched to 2025, will get back to you next Monday.
Version 7.0
Site Language en_US
User Language en_US
Timezone +08:00
Home URL https://staging.example.com
Site URL https://staging.example.com
Permalink structure /%postname%/
Is this site using HTTPS? Yes
Is this a multisite? No
Can anyone register on this site? No
Is this site discouraging search engines? No
Default comment status Closed
Environment type production
User count 5
Communication with WordPress.org WordPress.org is reachable