• My hosting environment recently upgraded from PHP 7.4 to PHP 8.0 and now I am getting an error when attempting edit any of my Static Blocks. Is there an update or a fix for this? Thanks

    Error Details
    =============
    An error of type E_ERROR was caused in line 195 of the file /nas/content/live/XXXXX/wp-content/plugins/static-block/static-block.php. Error message: Uncaught Error: Undefined constant "DOING_AUTOSAVE" in /nas/content/live/XXXXXX/wp-content/plugins/static-block/static-block.php:195
    Stack trace:
    #0 /nas/content/live/XXXXXX/wp-includes/class-wp-hook.php(309): static_block_meta_save(3155)
    #1 /nas/content/live/XXXXXX/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #2 /nas/content/live/XXXXXX/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #3 /nas/content/live/XXXXXX/wp-includes/post.php(4686): do_action('save_post', 3155, Object(WP_Post), true)
    #4 /nas/content/live/XXXXXX/wp-includes/post.php(4788): wp_insert_post(Array, false, true)
    #5 /nas/content/live/XXXXXX/wp-admin/includes/post.php(426): wp_update_post(Array)
    #6 /nas/content/live/XXXXXX/wp-admin/post.php(227): edit_post()
    #7 {main}
      thrown
  • The topic ‘PHP DOING_AUTOSAVE Error’ is closed to new replies.