Round Rock / Austin, Texas
Drupal Web Developer

Drupal 8

Error message

  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/thefoxes/foxwebdevelopment.com/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/thefoxes/foxwebdevelopment.com/includes/common.inc).
  • Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home/thefoxes/foxwebdevelopment.com/includes/common.inc).

Applying a Drupal Patch via Mac Terminal

1) Download the patch to the directory that the file being patched is in.

2) In terminal,
cd ~/Users/admin/my-website/modules/some-module-directory

Once you're in the correct folder, run this command using the exact name of the patch file: patch < my-filename.patch

If the patching was successful then you will see one or more lines such as "patching file my-file.module".

3) Clear your drupal cache

Source: Drupal.org

View Article

Disabling a Module via the Database in Drupal 8

Need to disable a module via the Database? There are a couple of approaches to take:

View Article