Skip to main contentSkip to footer

Drupal - Page 5

68 posts total

Featured image for Error encountered after disabling the cache in Drupal
Drupal
2 min read

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.Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "cache.backend.null". Did you mean one of these: "cache.backend.apcu", "cache.backend.php", "cache.backend.memory"? in Drupal\Component\DependencyInjection\Container->get() (line 161 of core\lib\Drupal\Component\DependencyInjection\Container.php). Drupal\Component\DependencyInjection\Container->get('cache.backend.null') Drupal\Core\Cache\CacheFactory->get('render') call_user_func_array(Array, Array) Drupal\Component\DependencyInjection\Container->createService(Array, 'cache.render') Drupal\Component\DependencyInjection\Container->get('cache.render', 1) Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Object) Drupal\Component\DependencyInjection\Container->createService(Array, 'http_middleware.page_cache') Drupal\Component\DependencyInjection\Container->get('http_middleware.page_cache', 1) Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Object) [...]

Read more
Featured image for Service 'page_manager.variant_route_filter' for consumer 'router.no_access_checks' does not implement
Drupal
5 min read

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. Symfony\Component\DependencyInjection\Exception\LogicException: Service 'page_manager.variant_route_filter' for consumer 'router.no_access_checks' does not implement Drupal\Core\Routing\FilterInterface. in Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass->processServiceCollectorPass() (line 164 of D:\xampp\htdocs\axway\corporate-8\web\core\lib\Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass.php). Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass->processServiceCollectorPass(Array, 'router.no_access_checks', Object) (Line: 97) Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass->process(Object) (Line: 141) Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object) (Line: 757) Symfony\Component\DependencyInjection\ContainerBuilder->compile() (Line: 1307) Drupal\Core\DrupalKernel->compileContainer() (Line: 884) Drupal\Core\DrupalKernel->initializeContainer() (Line: 466) Drupal\Core\DrupalKernel->boot() [...]

Read more
Featured image for Drupal 8 Symfony Component Routing Exception RouteNotFoundException Route view.products_list.page_2 does not exist
Drupal
1 min read

Drupal 8 Symfony Component Routing Exception RouteNotFoundException Route view.products_list.page_2 does not exist

The website encountered an unexpected error. Please try again later.

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "view.products_list.page_2" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 190 of core\lib\Drupal\Core\Routing\RouteProvider.php). Solution:This is the exception thrown when a route does not exist but you are using it in your twig files or somewhere else. As in the above example find "view.products_list.page_2" in [...]

Read more
Drupal 7 – Select node by language using EntityFieldQuery
Drupal
35 min read

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 entityCondition for language translation. Below example of entity field query helps me to find node main language specific featured blog post and global $language; [...]

Read more
Innovation

Let's Make Something Amazing Together

We always provide our best creative ideas at the highest level. Tell us about your project and we will make it work.

InnovateBringing innovative solutions to complex problems
AutomateStreamlining processes through automation
DominateLeading the market with exceptional results
Build Smarter and Launch FasterEfficient development for rapid deployment