User warning: The following module is missing from the file system: standard in drupal_get_filename() (line 231 of core/includes/bootstrap.inc).

drupal_get_filename('module', 'standard') (Line: 254)
drupal_get_path('module', 'standard') (Line: 134)
module_load_include('install', 'standard') (Line: 93)
module_load_install('standard') (Line: 82)
drupal_load_updates() (Line: 113)
Drupal\system\SystemManager->listRequirements() (Line: 100)
Drupal\system\SystemManager->checkRequirements() (Line: 119)
Drupal\system\Controller\SystemController->overview('system.admin_config')
call_user_func_array(Array, Array) (Line: 128)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 577)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 129)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 102)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
call_user_func_array(Object, Array) (Line: 139)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 62)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 62)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 103)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 55)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 55)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 637)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Comments

joshuautley created an issue. See original summary.

dawehner’s picture

HI!

I believe this happens if you have not set the installation profile inside settings.php

cilefen’s picture

Title: line 231 of core/includes/bootstrap.inc » User warning: The following module is missing from the file system: standard in drupal_get_filename()
joshuautley’s picture

Issue summary: View changes
joshuautley’s picture

#2 I think you are correct.

I just updated from 8.0.4 to 8.0.5 and that line in my settings.php file was commented out.

**
 * The active installation profile.
 *
 * Changing this after installation is not recommended as it changes which
 * directories are scanned during extension discovery. If this is set prior to
 * installation this value will be rewritten according to the profile selected
 * by the user.
 *
 * @see install_select_profile()
 */
 //$settings['install_profile'] = '';

So I changed it to...

**
 * The active installation profile.
 *
 * Changing this after installation is not recommended as it changes which
 * directories are scanned during extension discovery. If this is set prior to
 * installation this value will be rewritten according to the profile selected
 * by the user.
 *
 * @see install_select_profile()
 */
 $settings['install_profile'] = 'standard';

And all the errors went away.

aangel’s picture

For me it was the instructions here (removing the entry in the key_value table):
https://www.drupal.org/node/2487215

charginghawk’s picture

Status: Active » Closed (duplicate)
dataylor1975’s picture

I just got this same error upgrading from 8.2.7 to 8.3.1 and the fix from #6 also made the error go away.

.jch’s picture

d8.3.5 I use composer for everything. This problem arose for me after uninstall / remove node.js module which caused many problems and conflicts elsewhere...
The following module is missing from the file system: nodejs_ajax in drupal_get_filename() line 250 of \web\core\includes\bootstrap.inc) #0

Not going to chase this one - I develop sandbox first - just a heads up about node.js module if you are considering using it.

Anonymous’s picture

I had a bunch of these errors after updating a Commerce Kickstart site. As I don't usually use installation profiles, I overwrote the profiles-folder in the Drupal root so the Kickstart-profile was gone.

As #2 suggests, this was easily fixed by copying the original Kickstart-folder from a backup to the profiles-folder on the server.