drupal8 error

WBOY
Release: 2016-08-20 09:04:00
Original
1160 people have browsed it

<code>
Fatal error: Class name must be a valid object or a string in /Applications/MAMP/htdocs/houdun/drupal8/core/modules/field/src/FieldStorageConfigStorage.php on line 160</code>
Copy after login
Copy after login

I wrote a custom content type myself, successfully added it through expansion, and then deleted the custom type file directly from the directory, and then it kept prompting this, and even the homepage could not be opened!
What’s the problem with this? ?

Reply content:

<code>
Fatal error: Class name must be a valid object or a string in /Applications/MAMP/htdocs/houdun/drupal8/core/modules/field/src/FieldStorageConfigStorage.php on line 160</code>
Copy after login
Copy after login

I wrote a custom content type myself, successfully added it through expansion, and then deleted the custom type file directly from the directory, and then it kept prompting this, and even the homepage could not be opened!
What’s the problem with this? ?

I have never used drupal8, but it is developed based on symfony. Symfony will cache the compiled files.
It should be that the compiled cache is still there. Delete all the compiled files and take a look

Go into the background and try deleting all caches.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!