We are trying to upgrade CiviCRM to 5.67.1 and are hit with an error

ALTER TABLE `civicrm_contribution_page` CHANGE `title` `title` varchar(255) NOT NULL COMMENT 'Contribution Page title. For top of page display' [nativecode=1265 ** Data truncated for column 'title' at row 14]"

mysql> SELECT MAX(LENGTH(title)) FROM `civicrm_contribution_page` WHERE 1;
| MAX(LENGTH(title)) |
|                 25 |
1 row in set (0.01 sec)

Not sure what is the issue, Has anyone got similar issue?

1 Answer 1


There is a record in civicrm_contribution_page with an empty title field.

SELECT id, title FROM civicrm_contribution_page WHERE title IS NULL;

If you get a list update the title from the UI or run the below query to update the title temporary

UPDATE civicrm_contribution_page
SET title = CONCAT('Page-', id)
  • Thanks, Pradeep, We have updated the title manually. Nov 29, 2023 at 13:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.