[SOLVED][Drupal Colorbox] Fatal error: Call to undefined function libraries_load() after updating Colorbox module to 2.0

| | 1 min read

A few Drupal users were getting a Fatal error: Call to undefined function libraries_load() in .../sites/all/modules/colorbox/colorbox.module on line 217 on their Drupal sites after updating to Colorbox 2.0. If you are faced with the same error message in your Drupal after updating the Colorbox module then continue reading.

The fix is really simple. You need to install and activate the Libraries API module version 2.0
If you are not able to enable the modules library due to errors coming from Colobrox, proceed to comment the lines containing libraries_load(), followed by the installation of the module and finally uncommenting the line.

Hope that helps.

The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.