So I recently updated my Drupal website from 7.1x to 7.50 (PHP 5.6) , now one of my custom modules doesn't work correctly, I get this error :
Fatal error: Class 'RESTServerViewBuiltIn' not found in C:\Path\moduleName.views.inc on line 11.
I get this error only on one page, the website works correctly on the others
The error is at this line :
class RESTServerViewBuiltInCustom extends RESTServerViewBuiltIn {
The class RESTServerViewBuiltInCustom
comes from the REST server
module (so an external module), and this module is enabled.
Updating the website (Admin > Update
) didn't solve the problem.
Also clearing the registry didn't solve it either (I also checked the paths in the registry
table and all paths are correct).
Can someone help me to solve this problem? What could be the causes of this error?
I solved the issue, the class RESTServerViewBuiltIn
in the registry
table was missing.
I inserted the line RESTServerViewBuiltIn
in the registry
table and it works now.