Drupal 8 - Fatal error: Call to a member function on null in ..

Hello Friends,

I am working on a custom module in Drupal 8 where i have created a storage class when i am written all databse query and have called those functions from controller and also have defined the route correctly . It keeps giving this error when i try to access the page

Fatal error: Call to a member function on null in ...

What does this mean ?

Regards
Sunny

Varnish 4.x And Drupal

Hi,

I'm running Drupal 7.41 & Drupal 8.0.0 on Ubuntu 14.04 with below services:

Nginx 1.9.6
PHP 5.5.30 (cli)
MySql 5.5.45

For better performance, I tried to install and config varnish 4.1.0 + (Vanish module dev version for support varnish 4).

I changed Nginx port from 80 to 81 and Varnish configured on port 80.

This my default.vcl in GitHub:
https://github.com/iraneagle/Varnish-Drupal

Please check and recommend for better config.

Thanks

Code for get a the active menu level 2 on the D8

I am attempting to develop the module for Drupal 8 (D8). This module will provide the sublevels active menu.
I am just getting started with becoming familiar with the D8 API.

Please tell me how to use code to get 2 and 3 levels and the active menu on the D8?

Thanks.

Views .. Rewrite Results ... Replacement Patterns

In Drupal 8 I'm trying to create a view of articles that have a date field with multiple values.

I have the view working to sort the articles by the values in the date field and filter them so that only articles with date field values in the future appear in the view.

Each article is listed as many times as there are dates in the future within its date field.

Now I'm stumped about how, for each such instance of an article, to only display the date that reflects that instance.

Frontpage article display, "Submitted by [insert first name, not username]..."

Drupal 8. I'm trying to figure out how to change the default Frontpage display where the article teaser is shown as, "Submitted by [username]...". I'd like it to show the [first name] field I've created in the user profile instead.

Drupal 7 to 8 Upgrade

Hi,
Installed Drupal 8 on my local windows machine after upgrading Xampp. because drupal 8 needs a higher php version
Everything ok (only a warning about php opCache) and the site is running.
Plans are to migrate a existing drupal 7 site to drupal 8 (local and when everything works bring it to the life site)

I Tried the migrate module and got a lot of errors, but at the end I think most of my content types are converted and available in the new site, but it seems all links with images are gone and the images are not copied to the drupa 8 site.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x