Cancel Edit button causes PHP Fatal error

Created on 14 February 2017, almost 8 years ago
Updated 11 April 2023, over 1 year ago

After updating to the newest 7.x-3.0-beta 1 version of content_lock, the "Cancel Edit" button on any node edit form causes a PHP Fatal error (and returns a 500 server error).

The error message: PHP Fatal error: Call to undefined function _content_lock_node_form_handler_cancel_submit() in /data/virtual/common/drupal/includes/form.inc on line 1520.

A content lock still seems to be placed, and can be removed by viewing the node and using the "release the lock" link, but it seems like a fairly major bug.

Note: this occurs using the latest version of Drupal core (7.54).

🐛 Bug report
Status

RTBC

Version

3.0

Component

Code

Created by

🇺🇸United States mjchadwick

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024