Composer overwrites .htaccess

Hi! It seems whenever you update or install a module via Composer, it resets .htaccess to original.

The issue is that I lose the https redirect.

With a little bit of digging, https://drupal.stackexchange.com/questions/222898/composer-updates-htacc...

it seems you need to add the following to your composer.json file

IMPORTANT - TO ALL (BAD) Drupal instrucions sites - after OS 10.10 all install in ../user/bin is prohibited

Today I did talk to supervisor @ Apple who told me that write permission no longer exist in folder ../user/bin - sense OS 10.11 and that you not shall try to give yourself any write/read permission to that folder without hi risk to the system.
NOTE: Even the "Root"-user is prohibited rights to this folder.

Some i.e "composer" use ../usr/local/bin - folder instead - who seams to be the correct solution after OS X 10.10.

Site is broken while I was working in views contextual filter

Hello,

 As I am working on contextual filter in view, my site broke. 

When I go to incognito window , I get the following error:

Notice: Undefined offset: 0 in .../core/lib/Drupal/Core/Utility/Error.php on line 122

Notice: Undefined index: file in .../core/includes/errors.inc on line 80

Notice: Undefined index: line in .../core/includes/errors.inc on line 81

Body field should already be filled when the node is created

I would like to have a bodyfield already filled in when I create the node. Unfortunately this is a lot of text in html, so I can't solve this with the https://www.drupal.org/project/prepopulate module. 

But I would like to build a small mini-module for this. I would like to drag the content from another node via nid and copy it into the body field of the node I am creating.

For this I would like to use the hook_entity_create Hook. Am I basically correct? My program looks like this at the moment: 

Upgrade status complains about missing PHPUnit classes

I am running Upgrade Status on the Fitbit module because I need it for a Drupal 9 project.

I am getting a lot of complaints about missing classes from PHPUnit.

They're all from core tests. This particular module does not come with unit testing.

Any idea what these are and how to fix it?

Full report follows:

Can the drush cache download directory be cleaned out

I am trying to clean up some space on my server, and when I ran a check of the 10 largest directories I found this:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x