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).

drupal

Duplicating blocks in Drupal with MultiBlock module

If you want to duplicate blocks of content in Drupal and display them in separate locations on your site you'll quickly realise it's not a simple task. Sure, if your block is some text or images you can manually duplicate the block, but who wants to do things manually? It's more likely that you'll want to duplicate the block that was generated by a module. Modules are responsible for generating their output and this is (understandably) often a one-to-one relationship between the module and the block output. 

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).

Enable search for all users in Drupal

One of the first things you'll probably want to tackle after installing Drupal relates to the search function. You'll notice that when you login you have a nice search option but when you logout that search box vanishes. Frustrating... here's how to enable for all users, which as it turns out is quite a trivial task.

Tags:

Subscribe to RSS - drupal