this module not work for me
i try some error viewer patchs on core
and finally see this error

PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xD8' for column 'meta_description_metatags_quick' at row 1: INSERT INTO {field_data_meta_description} (entity_type, entity_id, revision_id, bundle, delta, language, meta_descript

Comments

mskicker’s picture

i check db with this code

<?php

//FIX unicode problem


$result = db_query('SELECT * FROM `nodewords` ORDER BY `mtid` ');
$max=0;

foreach ($result as $record) {

		$new_class =  array('mtid' => $record->mtid,'type' => $record->type,'id' => $record->id,'name' => $record->name,'content' => $record->content);
		$val=unserialize($record->content);
		//dpm($val['value']);
		$val['value'] = mb_check_encoding($val['value'], 'UTF-8') ? $val['value'] : {utf8_encode($val['value']);dpm('converted '. $new_class['mtid']);}
		$new_class['content']=serialize($val);
		if(strlen(serialize($val))>$max){$max=strlen(serialize($val));}
                if($record->name=='description' or $record->name=='keywords'){

			$res	= db_insert('nodewords2') // Table name is temp
			->fields($new_class)
			->execute();
		        dpm($res);
                }
}
  		        dpm('max '.$max);
?>

and replace nodeword2 with nodeword
but nothing

astonvictor’s picture

Status: Active » Closed (outdated)

D7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.