viewing fields while craft SSO installed
Opened this issue · 0 comments
FahadAlsubaie commented
I faced an issue while the plugin is installed which was in the fields page.
Whenever I try to open one of the fields pages it would show me this error
Error
Class "miniorangedev\craftsinglesignon\fields\Option" not found
// Supported translation methods
// ---------------------------------------------------------------------
$supportedTranslationMethods = [];
/** @var string[]|FieldInterface[] $allFieldTypes */
$allFieldTypes = $fieldsService->getAllFieldTypes();
foreach ($allFieldTypes as $class) {
if ($class === get_class($field) || $class::isSelectable()) {
$supportedTranslationMethods[$class] = $class::supportedTranslationMethods();
}
}
// Allowed field types
// ---------------------------------------------------------------------
if (!$field->id) {
$compatibleFieldTypes = $allFieldTypes;
in vendor/craftcms/cms/src/controllers/FieldsController.php
Hope last commits would fix that waiting for your release.
Regards.