drupal

Composer Manager: Composer’s install command must be run

1.0 Error After updating the Drupal 7 version in a website, the following error was observed in the configuration of the Composer Manager module. Composer Manager: Composer’s install command must be run to generate the autoloader and install the required packages. The above message was followed by the status of packages managed by the Composer. …

Composer Manager: Composer’s install command must be run Read More »

Drupal: Notice: Trying to get property of non-object in block_block_view()

1.0 Error After updating the website to a new version of Drupal 7, the following error was printed on the web pages. Notice: Trying to get property of non-object in block_block_view() (line 247 of modules/block/block.module). 2.0 Resolution The error was resolved by the following steps. 2.1 Turn off block caching From the Administration menu, Select …

Drupal: Notice: Trying to get property of non-object in block_block_view() Read More »

Drupal: Web page stuck in maintenance mode

Problem After a Drupal based site came out of the maintenance mode, one particular web page was found to be stuck in the maintenance mode. It showed the message that the site was under maintenance, while the other web pages were displayed correctly. Solution The problem was resolved by clearing the cache. In the administrative …

Drupal: Web page stuck in maintenance mode Read More »

Repairing Drupal site blocks manually in database

The text format of a block was PHP code and it contained PHP code with an error. This broke the website resulting in blank screen web pages, the white screen of death (WSOD). The error was rectified by manually updating the MySQL database. The following steps were taken. From the command line, connect with the …

Repairing Drupal site blocks manually in database Read More »

Backing up your Drupal site

Backing up a Drupal site involves copying the website files and database to a local server. We copy the entire site root directory tree to the local server. Also, we dump the website MySQL database at the site server and copy the database dump to the local server. Let's start with the site's MySQL database. …

Backing up your Drupal site Read More »