I
I
Igor2018-03-05 00:18:27
Drupal
Igor, 2018-03-05 00:18:27

After enabling the cache for CSS and JS the site crashed. What to do??

After enabling the cache for CSS and JS the site crashed. What to do??

The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">RuntimeException</em>: Unable to determine class for field type &#039;address&#039; found in the &#039;field.storage.profile.address&#039; configuration in <em class="placeholder">Drupal\field\FieldStorageConfigStorage-&gt;mapFromStorageRecords()</em> (line <em class="placeholder">157</em> of <em class="placeholder">core/modules/field/src/FieldStorageConfigStorage.php</em>). <pre class="backtrace">Drupal\Core\Config\Entity\ConfigEntityStorage-&gt;doLoadMultiple(NULL) (Line: 242)
Drupal\Core\Entity\EntityStorageBase-&gt;loadMultiple() (Line: 182)
views_views_data()
call_user_func_array(&#039;views_views_data&#039;, Array) (Line: 391)
Drupal\Core\Extension\ModuleHandler-&gt;invoke(&#039;views&#039;, &#039;views_data&#039;) (Line: 245)
Drupal\views\ViewsData-&gt;getData() (Line: 162)
Drupal\views\ViewsData-&gt;get(&#039;block_content&#039;) (Line: 91)
Drupal\views\Plugin\Derivative\ViewsEntityRow-&gt;getDerivativeDefinitions(Array) (Line: 101)
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator-&gt;getDerivatives(Array) (Line: 87)
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator-&gt;getDefinitions() (Line: 283)
Drupal\Core\Plugin\DefaultPluginManager-&gt;findDefinitions() (Line: 174)
Drupal\Core\Plugin\DefaultPluginManager-&gt;getDefinitions() (Line: 146)
views_theme(Array, &#039;module&#039;, &#039;views&#039;, &#039;core/modules/views&#039;) (Line: 446)
Drupal\Core\Theme\Registry-&gt;processExtension(Array, &#039;views&#039;, &#039;module&#039;, &#039;views&#039;, &#039;core/modules/views&#039;) (Line: 333)
Drupal\Core\Theme\Registry-&gt;build() (Line: 232)
Drupal\Core\Theme\Registry-&gt;get() (Line: 86)
Drupal\Core\Utility\ThemeRegistry-&gt;initializeRegistry() (Line: 67)
Drupal\Core\Utility\ThemeRegistry-&gt;__construct(&#039;theme_registry:runtime:seven&#039;, Object, Object, Array, 1) (Line: 252)
Drupal\Core\Theme\Registry-&gt;getRuntime() (Line: 142)
Drupal\Core\Theme\ThemeManager-&gt;render(&#039;system_config_form&#039;, Array) (Line: 437)
Drupal\Core\Render\Renderer-&gt;doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer-&gt;render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer-&gt;Drupal\Core\Render\MainContent\{closure}() (Line: 576)
Drupal\Core\Render\Renderer-&gt;executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer-&gt;prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer-&gt;renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber-&gt;onViewRenderArray(Object, &#039;kernel.view&#039;, Object) (Line: 108)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher-&gt;dispatch(&#039;kernel.view&#039;, Object) (Line: 158)
Symfony\Component\HttpKernel\HttpKernel-&gt;handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel-&gt;handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session-&gt;handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle-&gt;handle(Object, 1, 1) (Line: 99)
Drupal\page_cache\StackMiddleware\PageCache-&gt;pass(Object, 1, 1) (Line: 78)
Drupal\page_cache\StackMiddleware\PageCache-&gt;handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware-&gt;handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware-&gt;handle(Object, 1, 1) (Line: 50)
Drupal\Core\StackMiddleware\NegotiationMiddleware-&gt;handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel-&gt;handle(Object, 1, 1) (Line: 657)
Drupal\Core\DrupalKernel-&gt;handle(Object) (Line: 19)
</pre>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
ocatoll, 2018-03-07
@ocatoll

If you are talking about how to bring it back to life, then, obviously, turn off the caches and clean up the existing ones. I hope that this link will help you https://www.drupal.org/node/2598914
If about the reason for this behavior, then there are many options.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question