Error message

  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 206 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 213 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 213 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 213 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 213 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 213 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 213 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 213 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 213 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 213 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 213 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 213 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 213 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 213 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 213 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 213 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 213 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 218 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 218 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 218 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 218 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 218 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Notice: Array to string conversion in views_plugin_cache->gather_headers() (line 218 of /home1/rholroyd/drupal/sites/richardholroyd.me/modules/views/plugins/views_plugin_cache.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).

Dupal CKEditor giving seemingly random php errors

Having made a fresh install of Drupal 7 and then enabled CKEditor some seemingly random php errors were appearing when browsing between pages. Here's an example:

Notice: Undefined index: plain_text in ckeditor_profiles_compile() (line 424 of /home/content/77/7296477/html/_sites/richardholroyd.me/drupal/sites/all/modules/ckeditor/includes/ckeditor.lib.inc).

Of course, not much is truly random and after some head scratching the problem became a little bit more clear. It seems CKEditor did not have a profile enabled for managing Plain Text fields that were being used for anonymous comments. 

The simple answer therefore is to go and enable any missing profiles in CKEditor configuration area of Drupal. You can find it under Configuration -> Content Authoring -> CKEditor. Under the Profiles section, duplicate an existing profile, create a new one or if you want to apply a common config, edit an existing profile.

Ensure that all missing input formats are enabled in profiles and the error message will be banished!

CKEditor basic profile setup

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.