Easy steps to setup local environment of Pantheon with Lando

Install Lando MacEnsure homebrew is installed and up-to-date. Add the lando cask: brew cask install landoWindows:Download .exe file and install it from https://github.com/lando/lando/releaseNow create a folder let's say "pantheonlando" then go...

Top 30 Drupal 8 modules to use in 2018 SEO, Workflow, Securities and others

Following are the list of Drupal 8 modules that i find must have modules for 2018, by which site will be SEO friendly, most of securities are covered, easy to write...

Notice: Constant DATE_RFC7231 already defined in includes/bootstrap.inc on line 258

Notice: Constant DATE_RFC7231 already defined in includes/bootstrap.inc on line 258Drupal 7:Open /includes/bootstrap.incGo to line number 258Comment out the following line//define('DATE_RFC7231', 'D, d...

Solution: Failed to load the MailChimp PHP library or The MailChimp PHP library is...

Failed to load the MailChimp PHP library. Please refer to the installation requirements. The MailChimp PHP library is missing the required GuzzleHttp library. Please check the installation notes in README.txt.Solution:To remove...

Drupal Console: [ERROR] Command “site:status”, is not a valid command name

Drupal Console: Command "site:status", is not a valid command name.First try/execute the drupal list command, where you will get a list of available command. If you don't see the site:status...

Service ‘page_manager.variant_route_filter’ for consumer ‘router.no_access_checks’ does not implement

Service 'page_manager.variant_route_filter' for consumer 'router.no_access_checks' does not implement The website encountered an unexpected error. Please try again later.SymfonyComponentDependencyInjectionExceptionLogicException: Service 'page_manager.variant_route_filter' for consumer 'router.no_access_checks' does not implement DrupalCoreRoutingFilterInterface. in DrupalCoreDependencyInjectionCompilerTaggedHandlersPass->processServiceCollectorPass() (line 164 of...

Regex to find the four sequential characters in PHP

Need to check if a string contains four sequential characters or consecutive characters/strings or identical letters/numbers/string/characters in PHP then following regex and code can be useful for you. I tested it...

Drupal 8 SymfonyComponentRoutingExceptionRouteNotFoundException Route view.products_list.page_2 does not exist

The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">SymfonyComponentRoutingExceptionRouteNotFoundException</em>: Route &quot;view.products_list.page_2&quot; does not exist. in <em class="placeholder">DrupalCoreRoutingRouteProvider-&gt;getRouteByName()</em> (line <em class="placeholder">190</em> of <em class="placeholder">corelibDrupalCoreRoutingRouteProvider.php</em>).Solution: This is the Exception thrown when a route...

Declaration of DrushCommandDrushInputAdapter::hasParameterOption() must be compatible with  SymfonyComponentConsoleInputInputInterface::hasParameterOption($values, $onlyParams = false)

PHP Fatal error: Declaration of DrushCommandDrushInputAdapter::hasParameterOption() must be compatible with  SymfonyComponentConsoleInputInputInterface::hasParameterOption($values, $onlyParams = false) in D:acquiainstallationtoolsvendordrushdrushlibDrushCommandDrushInputAdapter.php on lineHow to solve it?

RuntimeException: Failed to start the session because headers have already been sent by “corelibDrupalCoreRenderRenderer.php”

Drupal 8 RuntimeException: Failed to start the session because headers have already been sent by "corelibDrupalCoreRenderRenderer.php"  Restart the server and empty the cache tables, you can run following SQL, then find your...
Drupal error

%type: !message in %function (line %line of %file) Drupal error

I keep on getting this error logging at watchdog table in database while loading front end or home page:  %type: !message in %function (line %line of %file) Drupal error I spend...

Drupal error white user page, design is showing in index page, database contents are...

While working with one of ecommerce website I came up with drupal error which shows blank white page when I try to go to admin or /user but design and css...

Unresolved dependency Token (Version >= 1.6 required) Drupal Error

Unresolved dependency Token (Version >= 1.6 required) Metatag Permissions requires this module and version. Currently using Token version 1.5 Error Unresolved dependency Token (Version >= 1.6 required) Metatag requires this module and version. Currently using Token version...

Drupal error: Warning: opendir, Notice: Undefined index: name, FieldUpdateForbiddenException, Entity Translation path scheme

Warning: opendir(sites/all/themes/webocreation/assets/src/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-wrapper/node_modules/download/node_modules/nopt/node_modules,sites/all/themes/webocreation/assets/src/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-wrapper/node_modules/download/node_modules/nopt/node_modules): The system cannot find the path specified. (code: 3) in file_scan_directory() (line 2118 of D:xampp7htdocswebocreationincludesfile.inc). Warning: opendir(sites/all/themes/webocreation/assets/src/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-wrapper/node_modules/download/node_modules/nopt/node_modules): failed to open dir: No such file or directory in file_scan_directory() (line 2118...

Error encountered after disabling the cache in Drupal

Following is the error encounter after disabling the cache in DrupalThe website encountered an unexpected error. Please try again later.SymfonyComponentDependencyInjectionExceptionServiceNotFoundException: You have requested a non-existent service "cache.backend.null". Did you mean...
Drupal 7 – Select node by language using EntityFieldQuery

Drupal Select Node by EntityFieldQuery by translate language

While working as drupal developer in multi language Drupal 7 site you may find EntityFieldQuery class which allows finding entities based on entity properties and keep on getting confused with the propertyCondition and...

Convert node id to full redirect url in drupal

Convert node id to full redirect url in drupal $link=url(drupal_get_path_alias('node/nodeid', array('absolute' => TRUE)); echo $link; In above code node/nodeid need to be something like node/1 or so.

Popular