Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292199

PDOException: SQLSTATE[23000] php error

$
0
0

While logged in as admin I click on Modules to go to ../admin/modules. Every time I go to this page I receive a error message.

The website encountered an unexpected error. Please try again later.

I am expecting the system to take me directly to the ../admin/modules page.

My error log shows the following:

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'PHP code' for key 'name': INSERT INTO {filter_format} (format, name, cache, status, weight) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4); Array ( [:db_insert_placeholder_0] => php_code [:db_insert_placeholder_1] => PHP code [:db_insert_placeholder_2] => 0 [:db_insert_placeholder_3] => 1 [:db_insert_placeholder_4] => 11 ) in filter_format_save() (line 217 of ../modules/filter/filter.module).


Viewing all articles
Browse latest Browse all 292199

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>