Using graphql + Drupal / Nginx ! Error

I did installed graphql module ( project/graphiql ) everything is fine installation goes without error , but when i try to access graphql schema on

http://localhost/drp/graphql/

i get this error The website encountered an unexpected error. Please try again later. and server status is 500 , i can see the explorer for testing queries and stuff on :

http://localhost/drp/graphql/explorer

Using custom fields in module config forms

Quick question. I've created a custom field for use by my module, and it works great. I can add it to content types with no problem. But if I try to use it in the module's config form, it doesn't appear. Is this something that is possible, or no? Thanks in advance for any guidance!

Undefined Offset Error in Theme

Receiving the following error in logs:

Notice: Undefined offset: 2 in my_custom_theme_preprocess_page() (line 157 of /home/sonsoutr/public_html/themes/my_custom_theme/my_custom_theme.theme).

Trying to trace error to no avail so far. Below is the snippet of code referenced above. Any help would be greatly appreciated. Line 157 referenced above is bolded below in the code snippet.

Line 157 referenced above and below:

how do I configure the private files directory in settings.php?

Hello.

I've been messing around for hours in D8 trying to get the private files to work. I know it has to be put into settings.php, I just don't know where to put the folder or how to write the address correctly in the settings file.

I have a folder here
/private/sitename

in settings,php I have $settings['file_private_path'] = '/home/username/public_html/private/sitename';

I have a field for uploading private files. It's set to upload to private files.

How to combine a "field descriptor" with a field or taxonomy term

By using taxonomies and/or fields in Drupal 8, I'd like to find the best way of combining a "field descriptor" with a field or taxonomy term or taxonomy sub-term so that I don't have to have a longer list of possibilities.

Examples for a dating site:

speaks LANGUAGE + FLUENCY
English + Natively
French + Fluently
Spanish + A Little Bit

EMPHASIS + FAITH
Committed + Catholic
or Comfortable + Catholic
or New + Catholic
or Uncertain + Catholic

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x