Я получил эту ошибку "Notice: unserialize(): Error at offset 2080 of 3676 bytes in views_db_object->load_row() (line 2307 of /sites/all/modules/views/includes/view.inc).
"
Мне нужно найти смещение, но я не знаю, как.
Как я вижу в базе:
('views_db_object', 'class', 'sites/all/modules/views/includes/view.inc', 'views', 10),
так ...
INSERT INTO `registry` (`name`, `type`, `filename`, `module`, `weight`) VALUES
но это не сильно помогает
/** [/sites/all/modules/views/includes/view.inc]
* Load the object with a row from the database.
*
* This method is separate from the constructor in order to give us more
* flexibility in terms of how the view object is built in different contexts.
*
* @param object $data
* An object from db_fetch_object. It should contain all of the fields
* that are in the schema.
*/
public function load_row($data) {
$schema = drupal_get_schema($this->db_table);
// Go through our schema and build correlations.
foreach ($schema['fields'] as $field => $info) {
$this->$field = empty($info['serialize']) ? $data->$field : unserialize($data->$field); // <--- 2307
}
}
Найти смещение и восстановить базу данных.