• Reset your password
Home
OO PHP, Drupal, Symfony Developer and Architect
Tim Rabbetts

Main navigation

  • Home
  • Blog
  • Log in

Blog

Breadcrumb

  • Home
  • blog
  • Blog

Error: Cannot use object of type stdClass as array in drupal_rewrite_settings()

Written by Tim Rabbetts on Tue, 11/04/2023
drupal settings bug
I was trying to do a drush site-install and got the below error.  Error: Cannot use object of type stdClass as array in drupal_rewrite_settings() (line 329 of /app/web/core/includes/install.inc…
drupaldrush

How to map keys using autokey for bluetooth keyboard, ubuntu.

Written by Tim Rabbetts on Mon, 13/03/2023
autokey keyboard mapping
I recently brought a new Bluetooth keyboard from amazon (made in China).  The keyboard is fine but some of the keys haven't been mapped correctly, turns out some of the keys are not mapped to…
autokeyubuntukeyboard

Drupal Symfony Mailer - drupal update emails not received

Written by Tim Rabbetts on Wed, 08/02/2023
symfony mailer
In Drupal 9, swift mailer and other mailing solutions have been replaced with symfony mailer module.  I installed this module as a drop in replacement for Drupals core mail system.  However…
drupalmailer

Drupal 9 Barrio Bootstrap 5 SASS starter kit but with dart sass and browser sync

Written by Tim Rabbetts on Sun, 15/01/2023
bootstrap
I recently noticed that support for the bootstrap5 theme I used was limited by deprecated themes classy and stable.  Found the Barrio Boostrap 5 theme and looks great.  A key feature is all…
drupalbootstrapsass

CKEditor 5 for Drupal 9, syntax highlighting using highlight.js

Written by Tim Rabbetts on Sun, 15/01/2023
Add highlight js to ckeditor
CKeditor 5 is the new default for Drupal 9.  For syntax highlighting it comes with a code block button you can attach to the editor.I started to use this but the syntax on the frontend wasn't…

ERROR_BLOCKED_BY_CLIENT in Chrome Dev Tools console when loading pages means chrome is blocking the request

Written by Tim Rabbetts on Mon, 09/01/2023
Blocked by client
This error is commonly caused due to one of the extensions installed within Chrome. Most likely you will see this error appear if you are using an extension such as Adblock or a browser safety…
chrome

phpcs times out - takes forever

Written by Tim Rabbetts on Wed, 12/10/2022
dog, dachshund, animal
I found an issue recently where phpcs (PHP Code Sniffer) was taking ages and times out on a directory.  After tracking the issue down to a single file, I found that the line of code causing the…
phpphpcs

Partition and format a disk drive from command line with parted and mkfs ext4.

Written by Tim Rabbetts on Fri, 04/12/2020
disc, reader, reading arm
I have a Debian server and added a new drive to it but it needed to be ext4.  In the past I have used Gparted the graphical front end to parted, but now I figured it worth me doing from the…
partedmkfs.ext4

the input device is not a TTY, docker-compose and cron

Written by Tim Rabbetts on Sun, 08/11/2020
hamburg, port of hamburg, container ship
I run a docker-compose command like this from cron and in the log its says: the input device is not a TTY /usr/local/bin/docker-compose exec container_php bash -c "./myscript.php" Works fine…
docker

composer Error Exception Undefined index: extra

Written by Tim Rabbetts on Tue, 06/10/2020
computer, computer code, programming
This was a tricky one! So I tried to run composer update and it failed: composer [ErrorException] Undefined index: extra   I ran it with -vvv and the dump suggested it was something to do with…
composer

Plex: Limit to Airing Time - Always an hour off

Written by Tim Rabbetts on Tue, 06/10/2020
popcorn, movies, cinema
I had an issue with Plex where the limit to airing time shown in the drop-down was an hour out, to fix this I had to upgrade to the latest version of Plex as this is a bug, and also I had to fix my…
plex

drush cim: Unable to install the module since it does not exist. Drupal 8. But the module is there!

Written by Tim Rabbetts on Tue, 06/10/2020
programming, computer, environment
As part of my deployment I use ansible and docker-compose.  The ansible script calls drush cim within the docker container via docker compose.  It fails everytime I enable a new module and…
drupaldrush
Pagination
  • First page « First
  • Previous page ‹‹
  • …
  • Page 6
  • Page 7
  • Page 8
  • Page 9
  • Current page 10
  • Page 11
  • Page 12
  • Page 13
  • Page 14
  • Next page ››
  • Last page Last »