Update from 8.3.7 to 8.4.0 - error in execute line 246 from FormattableMarkup.php

Hello,

I've just upgraded Drupal on my production site from 8.3.7 to 8.4.0. Before that i had tested it on local environment. All was fine so i've decided to deal with it on my site. Everything went fine i guess, because my site is working, but during installation process i've got one extra PHP fatal error:

access external php library in your custom module's controller D8

For accessing external php library put your external php library under src/ and add a namespace above your external library.

namespace Drupal\YOURMODULENAME\libs;

now in your controller for example ABCController.php use name space as follow

use Drupal\YOURMODULENAME\libs\parseCSV as CsvFilehandler;

use new instance as follow

$xyz = new CsvFilehandler();

In this way you can access external library in your custom module's controller

Drupal Sleuth Needed... My user registration link is missing? (not the obvious reason, clues attached)

Hi guys, I'm not sure how I did this...but I did stay out of core (I think)...I've checked all the permissions and it is not a simple matter of my user being anonymous or not.

In my user/registration page I have added some profile fields, and if I access that page with the url (the register link has disappeared for my anonymous browser) I can fill out the information and hit create account.

How to customize the comments form?

How can I add some classes to default (or my own created) comments elements so I can target them for adding CSS style.

For example, How can I add some classes or placeholder with using of ThemeName_preprocess_comment to 'subject' and 'name' comments form elements?

How can I target default comments form element?

D8: Passing global variables from settings to twig

Hi guys, i really wondering how to pass my variable globaly (page level) so it can be used anywhere.

What i have done:

on my group vars > dev.yml

link: "www.anylink.com"

on my group vars > prod.yml

link: "www.anylink-prod.com"

on my settings.php (j2)

Drupal 6 to 8 migration fails with some user records

I'm doing a migration from a Drupal 6 site to Drupal 8.4. Unfortunately, when I try to bring over the complete data, the migration fails when converting the user data, which makes a series of other conversions that are dependent on user data fail as well.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x