Skip Navigation

Fatal error when updating Access or Layouts, while having an old version of Views installed

Resolved

Resolved in: Toolset Views 2.5.1

Symptoms

When updating Access or Layouts to their latest versions while having installed a version of Views prior to 2.5.0, a Fatal error is created stating that:

Fatal error: Uncaught Error: Class 'WPV_Page_Slug' not found in types-access/vendor/toolset/toolset-common/user-editors/editor/screen/basic/backend.php on line 102

The reason is that class ‘WPV_Page_Slug’ was introduced in Views 2.5.0.

Workaround

This issue will be fixed in the next version of Toolset Access and Toolset Layouts.

In the meantime, this patch can be applied by unzipping it and uploading the files it contains to replace everything inside the following directory

  • vendor/toolset/toolset-common/user-editors/editor/screen

Also, if you have another Toolset plugin installed, you might need to replace those same files in the exact same locations.

Comments are closed