After Upgrading to 7.x-1.7 Run Update throws PDOException: SQLSTATE[22001]

Created on 28 February 2018, over 6 years ago
Updated 26 January 2023, almost 2 years ago

Hi there,

After I've upgraded to 7.x-1.7 and following the database update process, it threw this error;

PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'description' at row 1: INSERT INTO {uplog} (uid, module, version, status, description, message, type, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7); Array ( [:db_insert_placeholder_0] => 1 [:db_insert_placeholder_1] => views_pdf [:db_insert_placeholder_2] => 7101 [:db_insert_placeholder_3] => 1 [:db_insert_placeholder_4] => The previous update to version 7.x-1.6 contained a faulty views_pdf_update_7000() function that created a faulty views display object for some pdf displays (i.e. pdf display with the default "Display a specified number of items | 10" pager ) This resulted in a display_option['pager'] NULL array element, which broke the pdf display. This new update replaces the views_pdf_update_7000() function and fixes the faulty array element It is recommended that users avoid 7.x-1.6 and update to 7.x-1.7 version [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => ui [:db_insert_placeholder_7] => 1519817588 ) in drupal_write_record() (line 7386 of /usr/home/savealife/www/includes/common.inc).

What is this?
Thanks

πŸ’¬ Support request
Status

Closed: outdated

Version

1.7

Component

User interface

Created by

πŸ‡ͺπŸ‡ΈSpain manoloka

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