• While in the Gutenberg Full Site Editor, on every template, I keep getting an error “The “wp-last-modified-info” plugin has encountered an error and cannot be rendered.”.

    In the console errors it says:
    RangeError: Invalid time value at Date.toISOString (<anonymous>) at index.js?ver=b06d83c…:4:435

    This is even happening on templates that do not use this block.

    Probably just need to check if the passed date exists or not in components/post-modified-field/index.js

    — it is probably passing an empty or null value.

The topic ‘FSE Error – Date.toISOString’ is closed to new replies.